Client Id's
-
- Posts: 117
- Joined: Sun May 01, 2016 7:44 pm
- Location: Finland
- Player profile: https://ddnet.tw/players/ƤØŢĀŤ0|Co/
- Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/
Re: Client Id's
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
ƤØŢĀŤ0|Co ♥
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Client Id's
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
For DDNet client it's based on the client version name, so client 10.3.2 becomes version number 1003
- timakro
- Posts: 414
- Joined: Mon May 05, 2014 6:05 pm
- Location: Germany
- Player profile: http://ddnet.tw/players/timakro/
- Mapper profile: http://ddnet.tw/mappers/timakro/
- Clan: unique
Re: Client Id's
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
https://github.com/ddnet/ddnet/blob/795 ... 1548-L1549
Re: Client Id's
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?
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?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Client Id's
10.3.2 => (only major and minor, no patch level) 10.3 => (two digits for each) 10.03 => (int value) 1003
Who is online
Users browsing this forum: Bing [Bot] and 40 guests