Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 23, 2009, 15:11   #1
NeoWizard
Adept
 
Join Date: Dec 2008
Location: Sherbrooke, Quebec
Posts: 102
NeoWizard is on a distinguished road
squelch

I can't seem to find where the squelch settings are saved. My char name is gandalf, and I don't find anything in the gandalf.prf file relating to items squelch settings.
And it's the only file with todays date.
Doesn't "save options" also save the squelch settings?
If not, the menu is not much user friendly and should be redesign with a save squelch settings inside the "items squelch settings" sub menu.
__________________
NeoWizard
-. . --- .-- .. --.. .- .-. -..

aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can. mtat
NeoWizard is offline   Reply With Quote
Old October 23, 2009, 20:05   #2
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,771
PowerDiver is on a distinguished road
http://groups.google.com/group/rec.g...80da1e59d3013#
PowerDiver is offline   Reply With Quote
Old October 24, 2009, 09:17   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,079
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by NeoWizard View Post
I can't seem to find where the squelch settings are saved. My char name is gandalf, and I don't find anything in the gandalf.prf file relating to items squelch settings.
And it's the only file with todays date.
Doesn't "save options" also save the squelch settings?
If not, the menu is not much user friendly and should be redesign with a save squelch settings inside the "items squelch settings" sub menu.
IMO squelch settings should be saved in the class.prf files, and reloaded when you load or create a character of that class. As a priest I will always squelch mage books etc.

I guess this needs to be configurable, because some people won't want to have to un-squelch stuff when they start a new character - maybe a Clear Squelch Settings meta-command could do this?

Alternatively we could just have a separate squelch.prf file. We'd still need a reset command though.

In any event, this info should definitely come out of the save file.

Anyone else have any views on this? Any year now I'm going to try and overhaul the whole pref file setup.
Magnate is offline   Reply With Quote
Old October 24, 2009, 20:02   #4
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,771
PowerDiver is on a distinguished road
What you want to squelch changes over the game. I don't think anything should be loaded automatically, except for something at birth. Priest_Birth_Squelch.prf makes some sort of sense. There could be other files, but those should be loaded only by command if at all. Another thing is that perhaps you should load lists of things to squelch, but there should be nothing about things not squelched. Whatever is read should be or'ed with the squelch settings already set in the savefile. There is no point in unsquelching something that was previously squelched.

Whatever you do, you have to make it foolproof so Tak and I don't get emails asking about squelch bugs that are actually people saving and reloading prf files without understanding the consequences.
PowerDiver is offline   Reply With Quote
Old October 25, 2009, 06:32   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,079
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
What you want to squelch changes over the game. I don't think anything should be loaded automatically, except for something at birth. Priest_Birth_Squelch.prf makes some sort of sense. There could be other files, but those should be loaded only by command if at all. Another thing is that perhaps you should load lists of things to squelch, but there should be nothing about things not squelched. Whatever is read should be or'ed with the squelch settings already set in the savefile. There is no point in unsquelching something that was previously squelched.
Unless you've died and started a new character. For some of us, that's the vast majority of cases when loading a savefile!
Quote:
Whatever you do, you have to make it foolproof so Tak and I don't get emails asking about squelch bugs that are actually people saving and reloading prf files without understanding the consequences.
Agreed. Needs careful thought. Fortunately time is one thing we have in abundance.
Magnate is offline   Reply With Quote
Old October 25, 2009, 07:44   #6
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,771
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Unless you've died and started a new character. For some of us, that's the vast majority of cases when loading a savefile!Agreed. Needs careful thought. Fortunately time is one thing we have in abundance.
That's handled by a <class>_birth.prf. The question is whether there is a need for anything else. Or perhaps the squelch choices go into <class>.prf, but they are only applied at birth.
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
What does Squelch do? Wraitheist Vanilla 7 September 6, 2009 19:55
Dropping squelch items Zikke Vanilla 5 June 9, 2009 19:37
Another squelch bug, I guess ClaytonAguiar Vanilla 0 May 29, 2009 21:18
Squelch question z118 Vanilla 4 February 2, 2008 03:07
squelch comments/complaints ChodTheWacko Vanilla 2 July 28, 2007 17:50


All times are GMT +1. The time now is 00:19.


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