Page 1 of 1

Client Id's

Posted: Wed Oct 26, 2016 9:42 pm
by ƤØŢĀŤ0|Co
Could i please get List of client id's?

Re: Client Id's

Posted: Thu Oct 27, 2016 6:06 am
by pixel
You can actvate them in the settings

Re: Client Id's

Posted: Thu Oct 27, 2016 2:34 pm
by ƤØŢĀŤ0|Co
I dont mean like player id i mean when you write status in f2 it says client number like for example newest Ddnet client is 900 i think default teeworlds is 0

Re: Client Id's

Posted: Thu Oct 27, 2016 2:51 pm
by deen
https://github.com/ddnet/ddnet/blob/mas ... #L100-L110

For DDNet client it's based on the client version name, so client 10.3.2 becomes version number 1003

Re: Client Id's

Posted: Fri Oct 28, 2016 12:19 am
by timakro
DDNet also considers versions 15 to 99 as well as version 502 as bot clients, maybe that is helpful.

https://github.com/ddnet/ddnet/blob/795 ... 1548-L1549

Re: Client Id's

Posted: Fri Oct 28, 2016 5:22 pm
by Pathos
Okay, so there is no list.

I don't understand how 10.3.2 becomes 1003. Is there a reference somewhere? I didn't know about this. This seems very, very useful. Where is this code originally from? Is this original DDNet code? Any other TW mods that use this code?

Re: Client Id's

Posted: Fri Oct 28, 2016 7:42 pm
by deen
10.3.2 => (only major and minor, no patch level) 10.3 => (two digits for each) 10.03 => (int value) 1003