ID:268224
Apr 26 2004, 1:39 pm
|
|
can anyone show me how to code a thing that only allows a certain number of players into a server, please note i am not asking for the 'code' i am asking how do i do this. any help is apreciated thanks!
|
Since you asking the code here you go!
Well make sure you understand the code before you copy paste it :P *******EDITED******** make sure you TAB it properly i used 3 space for 1 tab :P *******/EDITED******* var Vash_616 wrote: can anyone show me how to code a thing that only allows a certain number of players into a server, please note i am not asking for the 'code' i am asking how do i do this. any help is apreciated thanks! |
In response to Gozenko
|
|
Gozenko wrote:
Since you asking the code here you go! Vash_616 wrote: He wasn't asking for code. :P |
In response to Maz
|
|
Also, dont forget to mark people off on logout. You dont want to forget that.
|
In response to Maz
|
|
Dont use mob.Login()
Your goal is to stop ur server to get overloaded. In that case i would say checking client connections is way better, just dont even let em connect (well they have to be to check if they can get on or not but anyways) kick em right off after saying "To bad sucker, server is full!" |
Its one method, and you'll have to think about it :) have fun.