MantisBT - Zandronum
View Issue Details
0002308Zandronum[All Projects] Bugpublic2015-06-13 23:592018-09-30 22:13
WaTaKiD 
Dusk 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
2.0 
3.03.0 
0002308: rcon playerinfo doesnt update properly [part 2]
wow wut a great summary name, anyways

movebob and stillbob always report 0
switchonpickup always reports never

same with 2.1/3.0
start server, connect
rcon playerinfo 0
change above settings
rcon playerinfo 0
No tags attached.
related to 0002268closed Dusk rcon playerinfo doesnt update properly 
Issue History
2015-06-13 23:59WaTaKiDNew Issue
2015-06-13 23:59WaTaKiDRelationship addedrelated to 0002268
2015-06-14 00:03DuskNote Added: 0012687
2015-06-14 00:04DuskNote Edited: 0012687bug_revision_view_page.php?bugnote_id=12687#r7407
2015-08-03 02:49WaTaKiDNote Added: 0013029
2015-08-03 02:50WaTaKiDNote Edited: 0013029bug_revision_view_page.php?bugnote_id=13029#r7790
2015-12-13 02:34DuskNote Added: 0013973
2015-12-13 02:34DuskAssigned To => Dusk
2015-12-13 02:34DuskStatusnew => needs review
2015-12-20 11:12Torr SamahoNote Added: 0013994
2015-12-20 11:12Torr SamahoStatusneeds review => needs testing
2016-01-03 18:35cobaltTarget Version => 3.0
2016-01-03 18:35cobaltDescription Updatedbug_revision_view_page.php?rev_id=8383#r8383
2016-01-03 18:35cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8385#r8385
2016-01-03 18:35cobaltNote Added: 0014037
2016-01-14 00:33Ru5tK1ngNote Added: 0014086
2016-01-14 00:36Ru5tK1ngNote Deleted: 0014086
2016-01-14 00:39Ru5tK1ngNote Added: 0014087
2016-01-14 19:38DuskStatusneeds testing => resolved
2016-01-14 19:38DuskFixed in Version => 3.0
2016-01-14 19:38DuskResolutionopen => fixed
2018-09-30 22:13Blzut3Statusresolved => closed

Notes
(0012687)
Dusk   
2015-06-14 00:03   
(edited on: 2015-06-14 00:04)
This is because the server is not informed about these userinfo fields as the server does not need them. So rcon playerinfo cannot tell what the values are.

We should probably make the server omit the incorrect information from playerinfo.

(0013029)
WaTaKiD   
2015-08-03 02:49   
(edited on: 2015-08-03 02:50)
recent 3.0 commits have added wi_noautostartmap to playerinfo, and it also does not update properly and will always report "false"

(0013973)
Dusk   
2015-12-13 02:34   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/43/ [^]'
(0013994)
Torr Samaho   
2015-12-20 11:12   
I added your patch.
(0014037)
cobalt   
2016-01-03 18:35   
Issue addressed by commit 11b2753e6953: Don't print errorneous values for userinfo fields when using playerinfo on a server (fixes 2308)
Committed by Teemu Piippo [Dusk] on Sunday 13 December 2015 04:33:57

Changes in files:

 src/d_netinfo.cpp | 11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

(0014087)
Ru5tK1ng   
2016-01-14 00:39   
Using r160102-1355, rcon playerinfo now omits the 4 fields and returns <unknown>.