MantisBT - Zandronum
View Issue Details
0002056Zandronum[All Projects] Bugpublic2015-01-05 23:142018-09-30 23:08
Dusk 
Dusk 
urgentminoralways
closedfixed 
2.0-beta 
2.02.0 
0002056: info needs network handling
Zandronum 2.0 ported over the 'info' CCMD from ZDoom which acts like 'linetarget' except provides much more information. The 'linetarget' CCMD has the client ask the server to do the command if called on a networked (i.e. not client-side-only) actor online, 'info' needs to be extended in a similar manner.
No tags attached.
related to 0002071closed Torr Samaho Actor net IDs go out of sync on the client on returning to maps within hubs 
Issue History
2015-01-05 23:14DuskNew Issue
2015-01-05 23:14DuskStatusnew => assigned
2015-01-05 23:14DuskAssigned To => Dusk
2015-01-05 23:17DuskProduct Version2.0 => 2.0-beta
2015-01-06 01:02DuskStatusassigned => needs review
2015-01-06 01:09DuskNote Added: 0011309
2015-01-06 21:01cobaltStatusneeds review => needs testing
2015-01-06 21:01cobaltNote Added: 0011316
2015-01-18 10:53DuskNote Added: 0011430
2015-01-18 10:53DuskStatusneeds testing => assigned
2015-01-18 11:03DuskNote Edited: 0011430bug_revision_view_page.php?bugnote_id=11430#r6435
2015-01-18 11:09Torr SamahoNote Added: 0011433
2015-01-18 11:10DuskNote Added: 0011434
2015-01-18 11:10DuskStatusassigned => resolved
2015-01-18 11:10DuskFixed in Version => 2.0
2015-01-18 11:10DuskResolutionopen => fixed
2015-01-18 11:11DuskRelationship addedrelated to 0002071
2018-09-30 23:08Blzut3Statusresolved => closed

Notes
(0011309)
Dusk   
2015-01-06 01:09   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-request/56 [^]'
(0011316)
cobalt   
2015-01-06 21:01   
Issue addressed by commit 874bb8d7ec98: - the info cheat now also defers to the server when online (fixes 2056)
Committed by Teemu Piippo [Dusk] on Tuesday 06 January 2015 02:55:10

Changes in files:
 src/c_cmds.cpp | 12 +++++++++---
 src/c_console.cpp | 39 +++++++++++++++++++++++++++++++++++++++
 src/c_console.h | 6 ++++++
 src/cl_commands.cpp | 5 +++--
 src/cl_commands.h | 2 +-
 src/network.h | 2 +-
 src/sv_main.cpp | 30 +++++++++++++++++++++---------
 7 files changed, 80 insertions(+), 16 deletions(-)
(0011430)
Dusk   
2015-01-18 10:53   
(edited on: 2015-01-18 11:03)
Apparently info and linetarget can fail when returning to maps within hubs. It's as if net IDs get out of sync in such cases? I'll need to investigate this a bit more, though I don't think this problem has anything to do with the info/linetarget commands, rather this being a smell of a more serious underlying problem.

(0011433)
Torr Samaho   
2015-01-18 11:09   
The IDs are supposed to be saved, but the list of IDs, i.e. g_NetIDList, is not saved. It should be rebuild with ACTOR_RebuildNetIDList after the saved snapshot of a level is loaded.
(0011434)
Dusk   
2015-01-18 11:10   
Definitely a separate issue then..