soolar / sl_ascend

An ascension script for kolmafia
11 stars 5 forks source link

NEP global variable ignored #273

Open Phate4569 opened 4 years ago

Phate4569 commented 4 years ago

On ascension days I do the NEP quest to get Drinking TO Drink. In my last iteration I received the "Party Hard" shirt, so I needed the script to ignore NEP (as I do with Pirate and Fantasy on ascension days). I turned "neverendingPartyAlways" to false in the relay, yet the script still performed its daily adventures there.

EDIT: I did set this variable AND saved it with the button at the bottom before running the script. (It may be a good idea to log the settable variables as you read them in at the beginning of the script for diagnostic purposes)

See screenshot attached. DoesNEPWithoutPermission

Phate4569 commented 4 years ago

New run, same issue. It is still doing it making me believe it is not another one of my flukes.

Phate4569 commented 4 years ago

Ok this is driving me INSANE. Before running the script: rugrat@KipLaptop:~/.kolmafia/settings$ grep neverendingPartyToday * boondoggle_the_magnificent_prefs.txt:_neverendingPartyToday=false

After running the script: rugrat@KipLaptop:~/.kolmafia/settings$ grep neverendingPartyToday * boondoggle_the_magnificent_prefs.txt:_neverendingPartyToday=true

I can't find anything that sets this. Is it a mafia thing?

Phate4569 commented 4 years ago

Nope, Mafia's default setting is "false"....

Phate4569 commented 4 years ago

Ezandora enlightened me:

Ezandora: set it to false, then visit the wrong side of the tracks. then check it again Ezandora: it means "you have the party unlocked today"

Mafia automatically checks.

Phate4569 commented 4 years ago

So...Here the rub.

neverendingPartyAlways = This is manually set. neverendingPartyToday = Ignored unless "neverendingPartyAlways=false" then on the first visit to wrong side of the tracks it sets this variable to "true"

Together these conspire to make the script ALWAYS adventure at NEP.

jaspercb commented 4 years ago

I suggest you edit the source to always skip NEP.

Phate4569 commented 4 years ago

Yeah, I'm going to edit my local copy to just use neverendingPartyAlways only.

It is just annoying that there is no way for a standard user to "Turn Off" NEP so that they can farm the quests in Aftercore.