Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 06-29-2006, 12:50 AM   #1 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 23
Posts: 11
Default Max players allowed on Server?

Hello.
How would I set the max amount of players allowed on a server at a time. Is there a special file I have to edit for this or do I write some code to do it?



I did a search but found nothing.
I am using RunUO 2.0 RC1
Epo35 is offline   Reply With Quote
Old 06-29-2006, 01:31 AM   #2 (permalink)
Forum Expert
 
Join Date: Jul 2003
Location: Arizona
Age: 18
Posts: 3,186
Send a message via AIM to Storm33229 Send a message via Yahoo to Storm33229
Default

Meh. Yeah when someone attempts to login check for X amount of players online, if X >= N, disconnect if not let them log in. Also, just curious, why are you limiting?

-Storm
__________________
Quote:
Originally Posted by Radwen
You should crush your pills and sniff them.
Storm33229 is offline   Reply With Quote
Old 06-29-2006, 01:43 AM   #3 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 23
Posts: 11
Default

So I am suppose to write my own special code for this and there is no special pre-made varible I have to set.
Ok cool no problem.

Quote:
Also, just curious, why are you limiting?
For the server does not go over what it can handle.
Epo35 is offline   Reply With Quote
Old 06-29-2006, 01:56 AM   #4 (permalink)
Forum Expert
 
Join Date: Jul 2003
Location: Arizona
Age: 18
Posts: 3,186
Send a message via AIM to Storm33229 Send a message via Yahoo to Storm33229
Default

ah, out of curiousity again, what is your planned cap?
__________________
Quote:
Originally Posted by Radwen
You should crush your pills and sniff them.
Storm33229 is offline   Reply With Quote
Old 06-29-2006, 09:14 AM   #5 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Quote:
Originally Posted by Epo35
Hello.
How would I set the max amount of players allowed on a server at a time. Is there a special file I have to edit for this or do I write some code to do it?



I did a search but found nothing.
I am using RunUO 2.0 RC1
Check the file that handles logins, there is a piece of code that checks if the server is under lockdown. This is an excellent point of reference, in loginstats.cs there already is a piece of code that checks for the amount of people online so you should have no issues figuring that one out.
Check if this number is under the max that you would like to allow, and if it isn't, reject the connection similair to lockdown. Make sure to let the player(s) in question know why their connection is rejected though.

Not to be repeating what Storm asked, but purely out of interest why do you want to limit the amount of players online and what do you think of setting the limit to?
I am guessing you have limited hardware or connection capabilities?
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 06-29-2006, 11:40 AM   #6 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Quote:
Originally Posted by Phantom
How else are you going to do it besides code it yourself?

You should code all your scripts yourself, its the only way to know the code so it won't cause problems in the future.
He was asking if there is a variable you can set somewhere to enable such a limit, which in all honestly is not such a stupid question. Especially compared to some of the other questions being asked on these forums nowadays.
It is a function that would not be so strange to expect in a server emulator, and there was no need for a reply like the one you just posted.

You should code all your scripts yourself is counter-productive to what the RunUO community is all about, there is absolutely no need to code something that has been done a dozen times already.

I'm sorry if I am misunderstanding the tone of your reply, but it seemed rather negative and demeaning to me, something which the question posted did not warrant in my opinion.
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 06-29-2006, 12:47 PM   #7 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Thank you Phantom, for your immature reaction and the negative karma. I wonder why you see everything as a personal attack. It's a pity you use your undeserved large karma power for your personal grudges. I did not give negative karma, because using this system for personal grudges is immature.

Either way I stick to my point that your post had a negative undertone towards the person originally asking a question and this was completely and utterly unwarranted.
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 06-29-2006, 12:55 PM   #8 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Quote:
Originally Posted by Phantom
What are you talking about?

I didn't give you karma...
Max players allowed on... 06-29-2006 04:08 PM Please don't flame people - Phantom

Unless somebody else is signing as Phantom and can bring down karma with over 100 points at a time, you most certainly did.
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 06-29-2006, 01:05 PM   #9 (permalink)
Forum Expert
 
Sunshine's Avatar
 
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
Default

Good luck on the max player thing. do let us know if you get it working the way you want
__________________
All people have the right to be stupid but some abuse the privilege.

Last edited by Sunshine; 06-29-2006 at 01:41 PM.
Sunshine is offline   Reply With Quote
Old 06-29-2006, 01:07 PM   #10 (permalink)
Forum Novice
 
Join Date: Dec 2005
Posts: 206
Default

Quote:
Originally Posted by Phantom
I guess I did give you karma, I was trying to give you postive karma, sorry.
A second before this post said "that is no proof" and now you say that it was a mistake? lol you are such a child
__________________
11010101 me.
the nico is offline   Reply With Quote
Old 06-29-2006, 01:15 PM   #11 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

I'd appreciate it if other people stay out of it - we will work this out in private. Nobody will be served with a further escalation of this arguement.

Thanks for the understanding.
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 06-29-2006, 01:40 PM   #12 (permalink)
Forum Expert
 
Sunshine's Avatar
 
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
Default

Ok I will respect the wishes of those involved and back out...but I was sorta invited in I think ..lol ..ok well off I go to find something to read
__________________
All people have the right to be stupid but some abuse the privilege.
Sunshine is offline   Reply With Quote
Old 06-30-2006, 03:53 AM   #13 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 23
Posts: 11
Default

Hey, thanks all for the help I really appreciate it.


I don't know my final cap yet. I guess maybe around 20-45 on my DSL Connection. Its about 384Kbs to 512Kbs upstream.
Epo35 is offline   Reply With Quote
Old 06-30-2006, 07:09 AM   #14 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Quote:
Originally Posted by Epo35
Hey, thanks all for the help I really appreciate it.


I don't know my final cap yet. I guess maybe around 20-45 on my DSL Connection. Its about 384Kbs to 512Kbs upstream.
Fair enough :-)
Just a tip though - the amount of bandwith used per player greatly depends on their activities. From experience, when players are in an area with a lot of other things going on, such as a champion spawn, they will use a lot more bandwith then somebody standing on their own in the middle of nowhere.
If you want to be absolutely sure of a relatively lagfree environment, try stress-testing with a few people doing something like a champ or an event in close confinement rather then them doing their normal business.
If your connection is ok with that, then you should be ok!
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 07-01-2006, 11:56 AM   #15 (permalink)
Forum Newbie
 
Join Date: Jun 2004
Age: 28
Posts: 34
Default

eheheh lol.....
__________________
www.komik-mp3.com
dantey is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5