World Files

Posted by Szereck on Mon 18 Dec 2006 06:35 PM — 6 posts, 21,825 views.

#0
3.83 refuses to save certain settings. Namely clearing the command echo and turning off the keypad settings. And the Pueblo detection setting. Doesn't matter how many times I hit save it never gets saved.
Australia Forum Administrator #1
I suspect this is related to item 14 in the release notes for that version:


14. Changed the way world XML files are loaded slightly ...


I am investigating why this is happening.
Australia Forum Administrator #2
Hmmm, I see the problem, see this bug report:

http://www.gammon.com.au/forum/?id=7484

In the previous version, if something like tab_completion_lines was not in the world file, it was assuming zero, which was out of range. The change made it take the default.

However the default for "detect pueblo" is on, so it is taking the default for that too. I will have to change it to only take the default if the total absence of a setting is out of range.
Australia Forum Administrator #3
Version 3.84 should fix this problem. The change relating to taking defaults will now only apply to numeric options (like number of lines in the output buffer), rather than boolean options or colours. That should fix it.

Your changes have been saved, they are just not loading properly. More accurately perhaps, what it does is not save things which are zero or false, so the problem is that when you save "detect_pueblo" it notices that it is false, and doesn't write it to the world file (it always did this).

So, the problem is that when loading it, it assumed that "detect_pueblo" was true (the default) as it was not in the world file.
Australia Forum Administrator #4
Version 3.84 is now available. See:

http://www.gammon.com.au/forum/?id=7537
#5
Thanks Nick.