MantisBT - Zandronum
View Issue Details
0002561Zandronum[All Projects] Suggestionpublic2016-01-02 13:592018-09-30 21:48
Dusk 
Dusk 
normalminorN/A
closedfixed 
 
3.03.0 
0002561: CLIENT_WARNING_MESSAGES
Do we still ever use client warning messages? If so I think this should be turned into a CVar. I almost broke client warning messages by renaming 'lID' to 'id' without updating this code and the compiler didn't complain because it's preprocessored away. This wouldn't have had a chance of happening if it was a CVar (and it'd probably be much more usable if Zandronum didn't have to be recompiled to use these messages).
No tags attached.
parent of 0002652closed  client_DoSectorLightStrobe: Cannot find sector 
parent of 0002653resolved  client_GiveInventory: Failed to give inventory type 
parent of 0002654closed Torr Samaho client_DestroyThing: Couldn't find thing 
parent of 0002655resolved  client_MissileExplode: Couldn't find thing 
parent of 0002664closed  client_DoSectorLightGlow: Cannot find sector 
parent of 0002665closed  client_DoSectorLightLightFlash: Cannot find sector 
parent of 0002666closed  client_DoSectorLightFireFlicker: Cannot find sector 
parent of 0002667resolved Torr Samaho Server informs the client about map changes, before the client fully loaded the map. 
parent of 0002668new  client_DoDoor: WARNING! Door's sector already has a ceiling mover attached to it! 
parent of 0002669new  client_DestroyDoor: Couldn't find door with ID 
parent of 0002946resolved  [Hexen] DestroyPillar: Couldn't find pillar with ID 
parent of 0002947resolved  SoundActorIfNotPlaying: couldn't find actor 
parent of 0002948resolved  SetThingFlags: couldn't find actor 
parent of 0002949resolved  MoveThingExact: couldn't find actor 
parent of 0002950resolved  client_DoRotatePoly: Invalid polyobj number 
parent of 0002951resolved  SetThingState: couldn't find actor 
parent of 0002952resolved  MoveThing: couldn't find actor 
parent of 0002953resolved  PlayerRespawnInvulnerability: Invalid player number 
parent of 0003007resolved  [Heretic/Hexen] SpawnBloodSplatter: couldn't find originator 
parent of 0003008resolved  DoSectorLightPhased: couldn't find sector 
Not all the children of this issue are yet resolved or closed.
png Screenshot_Doom_20160206_125939.png (651,297) 2016-02-06 21:16
/tracker/file_download.php?file_id=1730&type=bug
png Screenshot_Doom_20160206_131239.png (640,487) 2016-02-06 21:16
/tracker/file_download.php?file_id=1731&type=bug
Issue History
2016-01-02 13:59DuskNew Issue
2016-01-17 20:29Torr SamahoNote Added: 0014116
2016-02-05 22:24DuskAssigned To => Dusk
2016-02-05 22:24DuskStatusnew => assigned
2016-02-06 17:14DuskNote Added: 0014367
2016-02-06 17:14DuskStatusassigned => needs review
2016-02-06 18:04cobaltStatusneeds review => needs testing
2016-02-06 18:04cobaltTarget Version => 3.0
2016-02-06 18:04cobaltNote Added: 0014370
2016-02-06 21:16WaTaKiDNote Added: 0014382
2016-02-06 21:16WaTaKiDFile Added: Screenshot_Doom_20160206_125939.png
2016-02-06 21:16WaTaKiDFile Added: Screenshot_Doom_20160206_131239.png
2016-02-06 21:20WaTaKiDNote Edited: 0014382bug_revision_view_page.php?bugnote_id=14382#r8677
2016-03-01 22:53WaTaKiDNote Added: 0014533
2016-03-01 22:53WaTaKiDStatusneeds testing => resolved
2016-03-01 22:53WaTaKiDResolutionopen => fixed
2016-03-01 22:53WaTaKiDFixed in Version => 3.0
2016-03-01 23:19WaTaKiDRelationship addedparent of 0002652
2016-03-01 23:22WaTaKiDRelationship addedparent of 0002653
2016-03-01 23:28WaTaKiDRelationship addedparent of 0002654
2016-03-01 23:32WaTaKiDRelationship addedparent of 0002655
2016-03-06 21:22WaTaKiDRelationship addedparent of 0002664
2016-03-06 21:29WaTaKiDRelationship addedparent of 0002665
2016-03-06 21:49WaTaKiDRelationship addedparent of 0002666
2016-03-06 21:54WaTaKiDRelationship addedparent of 0002667
2016-03-06 22:26WaTaKiDRelationship addedparent of 0002668
2016-03-06 22:27WaTaKiDRelationship addedparent of 0002669
2016-12-07 10:08WaTaKiDRelationship addedparent of 0002946
2016-12-07 10:16WaTaKiDRelationship addedparent of 0002947
2016-12-07 10:28WaTaKiDRelationship addedparent of 0002948
2016-12-07 10:34WaTaKiDRelationship addedparent of 0002949
2016-12-07 10:54WaTaKiDRelationship addedparent of 0002950
2016-12-07 11:20WaTaKiDRelationship addedparent of 0002951
2016-12-07 11:20WaTaKiDRelationship addedparent of 0002952
2016-12-07 11:25WaTaKiDRelationship addedparent of 0002953
2017-02-09 00:57WaTaKiDRelationship addedparent of 0003007
2017-02-09 00:59WaTaKiDRelationship addedparent of 0003008
2018-09-30 21:48Blzut3Statusresolved => closed

Notes
(0014116)
Torr Samaho   
2016-01-17 20:29   
I'm fine with changing this into a CVAR.
(0014367)
Dusk   
2016-02-06 17:14   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/64 [^]'
(0014370)
cobalt   
2016-02-06 18:04   
Issue addressed by commit 340e819e86cb: Replaced the CLIENT_WARNING_MESSAGES #ifdef stuff with a CVAR, cl_showwarnings, addresses 2561. This way we avoid the inherent problems of conditional compilation (namely, the code inside breaking without the compiler ever getting to warn us), and makes enabling these warning messages much easier to do. A couple of other warning messages are now also subject to this CVAR for consistency, and a warning message was added for SetThingState.
Committed by Teemu Piippo [Dusk] on Wednesday 31 December 1969 23:59:57

Changes in files:

 src/cl_main.cpp | 530 ++++++++++++++++++++++++++++++++------------------------------------------------------------------------------
 src/cl_main.h | 3 -
 2 files changed, 157 insertions(+), 376 deletions(-)

(0014382)
WaTaKiD   
2016-02-06 21:16   
(edited on: 2016-02-06 21:20)
using:'https://www.dropbox.com/s/efn0f3skyqu5ue5/zandronum-3.0-r160206-1709-340e819-windows.zip?dl=0 [^]'

i hosted a local server with doom2.wad map01 and coop, connected and joined a client with cl_showwarnings enabled and exited the map normally, upon loading the next map, see first attached screenshot

and then with survival, see second attached screenshot regarding when the round reset upon joining, and when exiting the map

note: i initially had sv_survivalcountdowntime set to 1, but if i set it to 3 then that message wont show upon round reset

(0014533)
WaTaKiD   
2016-03-01 22:53   
cl_showwarnings works, and as such this ticket will be marked as resolved

meanwhile, warnings it prints (my above note for example) will be dealt with in separate tickets that will be related to this one