How we'll do it with the password to servers???
Code:if(game->isPassworded()) { if(strcmp(game->info_.pwd, pwd) != 0) { ans.result = GBPKT_M2C_JoinGameAns_s::rWrongPassword; return;
How we'll do it with the password to servers???
Code:if(game->isPassworded()) { if(strcmp(game->info_.pwd, pwd) != 0) { ans.result = GBPKT_M2C_JoinGameAns_s::rWrongPassword; return;
This will help you do it together is just the beginning.
If you going to do a tutorial about this then please provide more information, like where this code would go for starters.
Please write the subject let's do it slowly
Lewis Caddick man ....
Im guessing English isn't your native language and i will let you off with that, but you need to say a bit more in the tutorial. The first line you put is "How we'll do it with the password to servers???", this to me sounds more like a question, than it does an explanation. Also you just paste part of the code and don't explain where it goes or if it will work on DNC or invasion source etc. In future please think about your topic before actually typing it.
Also the line of code he just put there is already in code.
would thus be more or less my code
Code:[MyServer3] map = MAPID_WZ_Colorado DOESNOTHING GBNET_REGION_US_West 0 0 data = 64 0 0 name = SERVER TEST isPassworded = 12345678
Maybe this is the real code on "MasterServer.cfg"? >_>
at least that's what I have on my masterserver.cgf .....Code:[RentedServerTest] map = MAPID_WZ_Colorado DOESNOTHING GBNET_REGION_US_East 0 0 data = 100 0 0 name = teste pwd = nop ispwd = 1 // if you want to set server to private server set to 1 ispre = 0
PS: before someone talk nonsense I show this to HypoFlex on "Domingo 14:46" what meaning Sunday 2PM ( Brazil Time ) :P
Many more lines :D approximately + 50 lines. custom class, ptr etc.
Omg man wtf?? u get this source from aomsin2526! U code it? oh wait ! NO! So what? how old are you? 11?