MantisBT - Zandronum
View Issue Details
0002512Zandronum[All Projects] Bugpublic2015-11-04 03:342018-09-30 22:03
WaTaKiD 
Torr Samaho 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.03.0 
0002512: cvars set with consolecommand conflict with cvarinfo
before zan supported cvarinfo, mod cvars were set/saved using consolecommand, and they would be placed in the ini under [Doom.UnknownConsoleVariables]

however when zan did start to support cvarinfo, zan wouldnt load due to these cvars already existing, as cvarinfo puts them under [Doom.NetServerInfo.Mod]

thus users had to go into their ini and remove the cvars from [Doom.UnknownConsoleVariables] in order to play the mod
load up zan 1.3 with a fresh config and'http://www.best-ever.org/download?file=metroiddreadnought-v1.pk3 [^]'

now load up zan 2.x or 3.x using that same config and wad

it should error and say a cvar already exists
with 3.0-151004-2012 containing the backports mentioned here:'http://zandronum.com/forum/showthread.php?tid=5134&pid=71751#pid85895 [^]'

i was able to start a server on tspg-painkiller using a config that had just:
set metroid_permabfg 1

whereas in 2.x the server wouldnt start, so thats definitely an improvement, however a client's ini with these cvars under [Doom.UnknownConsoleVariables] is still prone to the error

at the very least if there isnt a suitable solution to this, perhaps a message could be printed instructing users to clear such cvars from their ini, as suggested here:'http://zandronum.com/forum/showthread.php?tid=5134&pid=85858#pid85858 [^]'
No tags attached.
has duplicate 0002733closed  Impossible to set custom cvars from config file or command line 
Issue History
2015-11-04 03:34WaTaKiDNew Issue
2015-11-29 12:50Torr SamahoNote Added: 0013903
2015-11-29 12:50Torr SamahoAssigned To => Torr Samaho
2015-11-29 12:50Torr SamahoStatusnew => needs testing
2015-11-29 14:08cobaltTarget Version => 3.0
2015-11-29 14:08cobaltDescription Updatedbug_revision_view_page.php?rev_id=8275#r8275
2015-11-29 14:08cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8277#r8277
2015-11-29 14:08cobaltAdditional Information Updatedbug_revision_view_page.php?rev_id=8279#r8279
2015-11-29 14:08cobaltNote Added: 0013905
2015-11-29 19:53WaTaKiDNote Added: 0013912
2015-12-06 19:54Ru5tK1ngNote Added: 0013940
2015-12-06 19:54Ru5tK1ngStatusneeds testing => resolved
2015-12-06 19:54Ru5tK1ngResolutionopen => fixed
2015-12-06 19:54Ru5tK1ngFixed in Version => 3.0
2015-12-06 19:54Ru5tK1ngDescription Updatedbug_revision_view_page.php?rev_id=8287#r8287
2015-12-06 19:54Ru5tK1ngSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8288#r8288
2015-12-06 19:54Ru5tK1ngAdditional Information Updatedbug_revision_view_page.php?rev_id=8289#r8289
2016-05-13 03:55WaTaKiDRelationship addedhas duplicate 0002733
2018-09-30 22:03Blzut3Statusresolved => closed

Notes
(0013903)
Torr Samaho   
2015-11-29 12:50   
The error message now tells the user to clean the ini.
(0013905)
cobalt   
2015-11-29 14:08   
Issue addressed by commit cd0330c00b2a: The CVARINFO error message triggered when an existing CVAR in the ini conflicts with CVARINFO now instructs the user to clean the ini (addresses 2512).
Committed by Benjamin Berkels [Torr Samaho] on Sunday 29 November 2015 13:48:52

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/d_main.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

(0013912)
WaTaKiD   
2015-11-29 19:53   
using'https://www.dropbox.com/s/obffhny5vh06g6e/zandronum-3.0-r150809-0703-83ceae7-windows.zip?dl=0 [^]'

the message correctly shows up telling me to clear my ini of such cvars
(0013940)
Ru5tK1ng   
2015-12-06 19:54   
Worked for me as well.