MantisBT - Zandronum
View Issue Details
0004119Zandronum[All Projects] Bugpublic2023-03-24 14:372024-01-01 01:52
Kaminsky 
Kaminsky 
normalmajoralways
resolvedfixed 
3.1 
3.23.2 
0004119: Local CVars defined in CVARINFO are never saved into the user's config file
Any local CVars (a Zandronum-specific feature) that are defined in CVARINFO are never saved into the user's config file, even when the CVars don't have the "noarchive" flag enabled.
1. Load LocalCVar.wad.
2. Change the value of "my_awesome_local_cvar" to anything you want. Its default value is "Yeah baby!".
3. Exit the game, then run it again. If you changed the CVar's value before, then you'll notice that if you enter "my_awesome_local_cvar" into the console, or puke the script "PrintMyCVar", the value of the CVar reverts back to its default value.
Thanks a lot to Dox778 for reporting the issue.
No tags attached.
? LocalCVar.wad (465) 2023-03-24 14:37
https://zandronum.com/tracker/file_download.php?file_id=2851&type=bug
Issue History
2023-03-24 14:37KaminskyNew Issue
2023-03-24 14:37KaminskyStatusnew => assigned
2023-03-24 14:37KaminskyAssigned To => Kaminsky
2023-03-24 14:37KaminskyFile Added: LocalCVar.wad
2023-03-26 21:05KaminskyNote Added: 0022821
2023-03-26 21:05KaminskyStatusassigned => needs testing
2024-01-01 01:52Ru5tK1ngNote Added: 0022949
2024-01-01 01:52Ru5tK1ngStatusneeds testing => resolved
2024-01-01 01:52Ru5tK1ngResolutionopen => fixed
2024-01-01 01:52Ru5tK1ngFixed in Version => 3.2

Notes
(0022821)
Kaminsky   
2023-03-26 21:05   
This issue should be fixed with:'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/fa55533805fd [^]'
(0022949)
Ru5tK1ng   
2024-01-01 01:52   
Tested with r231220. Ran the test wad and follow instructions. CVAR was saved and did not revert back to default value.