MantisBT - Soldat Dedicated Server
View Issue Details
0000140Soldat Dedicated ServerGame Protocolpublic2011-12-13 07:122013-08-05 08:48
SyavX 
skoskav 
lowminoralways
closedfixed 
 
 
0000140: Max player name length (cut to 23 chars)
Maximum length of player's name that Soldat client allows to set is 24, but server cuts it to 23 chars. In offline game 24-chars length nicks works fine.
1. change player's name to 24-chars length
2. join dedicated server, check your ingame name length
3. join offline game, check your ingame name length
Checked for server v2.7.2

Well, this issue is rather server- and client-side. As I can see, there are 3 packets sent from a client to the server on player join, that contains player's name. But server uses only 2nd one to show player's ingame name. It's weird that all 3 packets are using a bit different schemes for storing those names...
No tags attached.
Issue History
2011-12-13 07:12SyavXNew Issue
2011-12-21 10:46ShoozzaNote Added: 0001280
2011-12-21 10:46ShoozzaStatusnew => acknowledged
2012-12-01 22:45FalconCategoryGeneral => Game Protocol
2013-08-03 09:25skoskavStatusacknowledged => resolved
2013-08-03 09:25skoskavResolutionopen => fixed
2013-08-03 09:25skoskavAssigned To => skoskav
2013-08-05 08:48BistouflyNote Added: 0001833
2013-08-05 08:48BistouflyStatusresolved => closed

Notes
(0001280)
Shoozza   
2011-12-21 10:46   
This has probably something to do with the too long names cause access violation fix in old versions of soldatserver.
(0001833)
Bistoufly   
2013-08-05 08:48   
verified 1.6.5