Quote:
Originally Posted by Freyd
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....