Client Id's

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
ƤØŢĀŤ0|Co
COMMUNITY Team
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/

Client Id's

Post by ƤØŢĀŤ0|Co »

Could i please get List of client id's?
ƤØŢĀŤ0|Co
pixel
Posts: 430
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: http://ddnet.tw/players/pixel
Mapper profile: https://ddnet.tw/mappers/pixel/
Clan: Bitfighter

Re: Client Id's

Post by pixel »

You can actvate them in the settings
ƤØŢĀŤ0|Co
COMMUNITY Team
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

Post 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
ƤØŢĀŤ0|Co
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Client Id's

Post 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
User avatar
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

Post 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
Pathos
Posts: 176
Joined: Wed Jun 17, 2015 4:30 pm

Re: Client Id's

Post 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?
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Client Id's

Post by deen »

10.3.2 => (only major and minor, no patch level) 10.3 => (two digits for each) 10.03 => (int value) 1003
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 40 guests