MantisBT - Zandronum
View Issue Details
0002733Zandronum[All Projects] Bugpublic2016-05-13 03:452016-05-13 03:56
AlexMax 
 
normalminoralways
closedduplicate 
2.2 
 
0002733: Impossible to set custom cvars from config file or command line
Pretty simple. It's impossible to set cvars from a executed config file or from the command line because they're run before the wad files are loaded, and ZDoom appears to have an issue with setting already-set cvars.
Here's an easy way to reproduce.

zandronum.exe -iwad doom2.wad -file classiclms-bobv.pk3 +set classiclms_nobfg 0 +lastmanstanding 1 +map map01

You get an error message:

Script error, "classiclms-bobv.pk3:cvarinfo.txt" line 12:
cvar 'classiclms_nobfg' already exists.

If you remove the set, the WAD loads fine, but the cvar is ignored - checking the console reveals an error message about an invalid command.
No tags attached.
duplicate of 0002512closed Torr Samaho cvars set with consolecommand conflict with cvarinfo 
Issue History
2016-05-13 03:45AlexMaxNew Issue
2016-05-13 03:46AlexMaxSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9001#r9001
2016-05-13 03:55WaTaKiDRelationship addedduplicate of 0002512
2016-05-13 03:56WaTaKiDStatusnew => closed
2016-05-13 03:56WaTaKiDResolutionopen => duplicate

There are no notes attached to this issue.