|
Absinthe Beginner
Joined: 10 Aug 2002 Posts: 13 Location: USA
|
Posted: Sat Jan 11, 2003 1:51 am
[6.40] Problem with inherited settings |
If you're using inherited settings and need to make changes to the inherited file the changes are not read until the next time you connect. I'm pretty sure this was the case in 6.16 too
Repro steps:
1) Create a new char, and on the Files tab type inherited.mud for the inherited filename
2) Click the Offline button, open the settings, and on the settings window click file / open inherited
3) Add an alias to the inherited settings. Call it test and give it a value of #Say Test One
4) Save it, close the inherited settings window and the primary settings window
5) Type test. Instead of Test One showing on the screen, it only says test
6) Click Quit and re-start ZMud
7) Open the same char and type test
8) Now it #says Test One
If you change the trigger to #say Test Two it will still #say Test One until you re-connect. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Jan 11, 2003 9:48 am |
quote:
If you're using inherited settings and need to make changes to the inherited file the changes are not read until the next time you connect. I'm pretty sure this was the case in 6.16 too
Repro steps:
1) Create a new char, and on the Files tab type inherited.mud for the inherited filename
2) Click the Offline button, open the settings, and on the settings window click file / open inherited
3) Add an alias to the inherited settings. Call it test and give it a value of #Say Test One
4) Save it, close the inherited settings window and the primary settings window
5) Type test. Instead of Test One showing on the screen, it only says test
6) Click Quit and re-start ZMud
7) Open the same char and type test
8) Now it #says Test One
If you change the trigger to #say Test Two it will still #say Test One until you re-connect.
This isn't a bug. Inherited settings are read-only while primary settings are not. Since primary settings are not read-only, you are able to directly edit the active settings and see the updated changes immediately. You do not get direct access to the inherited settings, thus changes to the inherited file are only reflected upon the reloading of that file (which occurs only at connection or upon a Settings|Load... menu option, you don't need to shut down ZMud for the latter to work).
li'l shmoe of Dragon's Gate MUD |
|
|
|
Zodican Wanderer
Joined: 10 Oct 2000 Posts: 56 Location: USA
|
Posted: Mon Jan 13, 2003 4:46 am |
How do you get rid of inherited settings you don't want? Is there any way?
-Z |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jan 13, 2003 5:05 am |
quote:
How do you get rid of inherited settings you don't want? Is there any way?
-Z
For anything within the System folder
You could try doing something like the below for user-defined inherited settings files on the default.mud or custom.mud files, but messing with anything in there generally FUBARs your copy of ZMud. These files, of course, are always loaded into your character settings so the only way to get rid of any of them is to FUBAR your copy of ZMud.
for anything not within the System folder or any of its subclasses
The easy way is to just delete any of them that you don't want from within the Primary Settings file. This way would be for when you would normally want to keep them but this time you'd like to eliminate them in order to do some sort of test. Upon reloading, as the settings you deleted are probably still in the Inherited settings file, all the settings you deleted will come back.
The proper way to permanently remove inherited settings is to open up the inherited settings file via File|Edit Inherited from within the Settings Editor. You then do your editing in the settings window that should pop up containing the inherited settings file. When you are done, save your work and reload your settings to have the changes take effect.
li'l shmoe of Dragon's Gate MUD |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jan 13, 2003 6:54 pm |
The proper way to remove inherited settings is to open the character (probably offline), then click the Classes button. Select each Class folder, if it's an INHERITED class it will say so (at the bottom right). Check the box next to "Remove this inherited class when loading". Close the character. The next time the character loads, you should be rid of all the inherited settings without problems and without making those settings unavailable to future characters.
LightBulb
Senior Member |
|
|
|
Zodican Wanderer
Joined: 10 Oct 2000 Posts: 56 Location: USA
|
Posted: Mon Jan 13, 2003 10:44 pm |
One problem: when I try to check that box, it tells me that I can't edit inherited settings and asks me if I want to Override with an editable copy or cancel the settings change. Any ideas?
-Zodi |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Jan 14, 2003 5:24 am |
That sounds like a bug. Send Zugg a bug report on it. Since the checkbox is clearly intended for use with inherited settings, it ought to work with them.
LightBulb
Senior Member |
|
|
|
|
|