Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 1, 2010, 21:11   #1
Zikke
Veteran
 
Join Date: Jun 2008
Location: Los Angeles
Posts: 1,067
Zikke is on a distinguished road
Squelch Worthless option not sticking

When a character dies and I use the old save file to re-make a new character, it does not automatically squelch worthless items any more, even though the option looks to be set in the options.

In the first game I made, it correctly deleted things like "Wand of Haste Monster" etc. but after making several characters from the same file, none of the subsequent characters will do this.
__________________
A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
A/FA W H- D c-- !f PV+++ s? d P++ M+
C- S+ I- !So B ac++ GHB? SQ? !RQ V F:
Zikke is offline   Reply With Quote
Old March 1, 2010, 22:20   #2
awldune
Adept
 
Join Date: Dec 2007
Posts: 113
awldune is on a distinguished road
I have encountered this also.
awldune is offline   Reply With Quote
Old March 2, 2010, 14:21   #3
dhegler
Adept
 
Join Date: Sep 2009
Posts: 249
dhegler is on a distinguished road
I also wish all birth options would stick (ie randarts) after you change them.
dhegler is offline   Reply With Quote
Old March 2, 2010, 17:21   #4
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by dhegler View Post
I also wish all birth options would stick (ie randarts) after you change them.
I was wondering if there was some strange thing with squelch_worthless, but now I wonder if this is yet another pref file problem. I know for sure that the randarts birth option sticks from game to game for me.

I offer a totally unsubstantiated guess that you guys have some pref file that is somehow overwriting some of your options. Did you ever "save options" through a menu some time past?
PowerDiver is offline   Reply With Quote
Old March 2, 2010, 17:43   #5
awldune
Adept
 
Join Date: Dec 2007
Posts: 113
awldune is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
Did you ever "save options" through a menu some time past?
I have, yes. I thought you had to if you wanted the options to stick after exiting and reopening Angband.

Aren't macros and "visuals" settings like that?
awldune is offline   Reply With Quote
Old March 2, 2010, 18:12   #6
Zikke
Veteran
 
Join Date: Jun 2008
Location: Los Angeles
Posts: 1,067
Zikke is on a distinguished road
Related question:

If I create a new character based on the old character with randarts, does it re-generate a new set of Randarts every game? Or does it use the original batch?
__________________
A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
A/FA W H- D c-- !f PV+++ s? d P++ M+
C- S+ I- !So B ac++ GHB? SQ? !RQ V F:
Zikke is offline   Reply With Quote
Old March 2, 2010, 18:26   #7
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by awldune View Post
I have, yes. I thought you had to if you wanted the options to stick after exiting and reopening Angband.

Aren't macros and "visuals" settings like that?
Once you save an option to a pref file, you can never keep it changed, because each time the game starts the pref file is read and the changed option is overwritten by the value in the pref file.

Macros belong in a pref file. I'm not sure about visuals. Options should never have been allowed in pref files.

Delete your pref files and you should be able to change options again. Be very careful about what you put into any new pref files you create.

@Zikke randarts are regenerated at the start of each game
PowerDiver is offline   Reply With Quote
Old March 2, 2010, 18:33   #8
dhegler
Adept
 
Join Date: Sep 2009
Posts: 249
dhegler is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
I was wondering if there was some strange thing with squelch_worthless, but now I wonder if this is yet another pref file problem. I know for sure that the randarts birth option sticks from game to game for me.

I offer a totally unsubstantiated guess that you guys have some pref file that is somehow overwriting some of your options. Did you ever "save options" through a menu some time past?
Each time I start a new game, it always has randarts set to off.
dhegler is offline   Reply With Quote
Old March 2, 2010, 19:43   #9
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PowerDiver View Post
Once you save an option to a pref file, you can never keep it changed, because each time the game starts the pref file is read and the changed option is overwritten by the value in the pref file.

Macros belong in a pref file. I'm not sure about visuals. Options should never have been allowed in pref files.

Delete your pref files and you should be able to change options again. Be very careful about what you put into any new pref files you create.

@Zikke randarts are regenerated at the start of each game
In the previous thread about pref files, there emerged a consensus that we should split stuff into a "knowledge" file and a "settings" file. The settings file should contain options that are common across characters (e.g. subwindow settings, display settings - how you set up your visual environment) - but not options that are character-specific (e.g. AI options, birth options etc.). Those should stay in the save file.
Magnate is offline   Reply With Quote
Old March 3, 2010, 04:52   #10
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
In the previous thread about pref files, there emerged a consensus that we should split stuff into a "knowledge" file and a "settings" file. The settings file should contain options that are common across characters (e.g. subwindow settings, display settings - how you set up your visual environment) - but not options that are character-specific (e.g. AI options, birth options etc.). Those should stay in the save file.
The future may be a long way away. In the interim, can we simply disable setting variables read from pref files that do not belong in them? Or would that screw up the parser?
PowerDiver is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hobbit Rogue - possible Winner or just a worthless try SaThaRiel Vanilla 24 March 1, 2010 00:42
[Z+] "worthless" psuedo ID? RickWaza Variants 2 July 15, 2009 04:05
A option for next release! NeoWizard Vanilla 0 February 6, 2009 17:07
Option that would be nice to have in V Jungle_Boy Vanilla 2 January 1, 2009 23:24
Preserve Option? Narvius Vanilla 3 April 20, 2008 18:37


All times are GMT +1. The time now is 10:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.