Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 06-01-2007, 05:23 AM   #1 (permalink)
Newbie
 
Freyd's Avatar
 
Join Date: Sep 2006
Location: Jastrzebie, Poland
Age: 20
Posts: 88
Default Max players on the server?

So, i just wondering is there any way to set up max players count? Somethink like on WoW emulators?
Freyd is offline   Reply With Quote
Old 06-01-2007, 08:28 AM   #2 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,424
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Freyd View Post
So, i just wondering is there any way to set up max players count? Somethink like on WoW emulators?
You mean like if someone tries to connect but there are already 100 players online, then they get a message, "Unable to connect. Max players of 100 has been reached." Something like that?

If so, you might use the file AccountHandler.cs. Change the following method to add a condition for exceeding the MaxPlayers variable that you create.

Code:
 
public static void EventSink_GameLogin( GameLoginEventArgs e )
{
     //Add your condition here....
Lokai 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