loathers / autoscend

An ascension script for KoLMafia
Other
45 stars 67 forks source link

NEP global variable ignored #49

Closed macgregor closed 4 years ago

macgregor commented 4 years ago

Issue by Phate4569 Saturday Jul 13, 2019 at 10:36 GMT _Originally opened as https://github.com/soolar/sl_ascend/issues/273_


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

macgregor commented 4 years ago

Comment by Phate4569 Monday Jul 15, 2019 at 11:10 GMT


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

macgregor commented 4 years ago

Comment by Phate4569 Wednesday Jul 17, 2019 at 11:42 GMT


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?

macgregor commented 4 years ago

Comment by Phate4569 Wednesday Jul 17, 2019 at 11:53 GMT


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

macgregor commented 4 years ago

Comment by Phate4569 Wednesday Jul 17, 2019 at 12:21 GMT


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.

macgregor commented 4 years ago

Comment by Phate4569 Wednesday Jul 17, 2019 at 18:22 GMT


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.

macgregor commented 4 years ago

Comment by jaspercb Wednesday Jul 17, 2019 at 20:42 GMT


I suggest you edit the source to always skip NEP.

macgregor commented 4 years ago

Comment by Phate4569 Wednesday Jul 17, 2019 at 20:47 GMT


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.