Genie

Sanmei

New member
Thanks Veracity. I hadn't realized that was the issue your addition was intended to resolve. It's working fine now.
 

Aramada

Member
Is there a way for us to add effects that we want the relay to ignore? Like, right now, it shows Yeg's Blessing as the best effect for +Stats. But Yeg's Blessing isn't wishable, and there's no way I can see to tell it "Let me see the next best one." So I was wondering if there was a way for folks to edit the script to tell it "Ignore X". Is that possible?

~Aramada
 

Xande1

Member
Is there a way for us to add effects that we want the relay to ignore? Like, right now, it shows Yeg's Blessing as the best effect for +Stats. But Yeg's Blessing isn't wishable, and there's no way I can see to tell it "Let me see the next best one." So I was wondering if there was a way for folks to edit the script to tell it "Ignore X". Is that possible?

~Aramada
Yes, go to relay/choice.1267.ash, and find line 4487 (which is insanely long). That's the __genie_invalid_effects map. Just add "Yeg's Keeping" to the end of the list--after "There's No N In Love"; which is convenient text to search for to find the right spot as well. That will fix the issue.
 

Ezandora

Member
Add that and more effects. I thought about testing against the nohookah attribute effects have, but there is an inconsistency; I believe "nohookah" and "wishable" may be two different things.
These are effects that Mafia believes are nohookah, but are wishable with the genie, as of r20527:

Very Attractive,
Barely Visible,
Sizzlin' Hand,
Joke-Mad,
Infused with Sssshhsssblllrrggghsssssggggrrgglssss,
Cowrruption,
Spiritually Aware,
Spiritually Awash,
Charged Hair,
Stormswaddled,
Seeing Red,
Spirit of Cayenne,
Wry Smile,
Disco Fever,
Stiff Upper Lip,
Nanobrawny,
Nanobrainy,
Nanoballsy,
The Glistening,
Oilsphere,
Oiled-Up,
Waxing Mystical,
The Pleasures of the Flesh,
Strong Resolve,
Brilliant Resolve,
Everything's Zen,
The Applause That Refreshes,
Gaze of the Volcano God,
Gaze of the Lightning God,
Gaze of the Trickster God,
Electrolyte Fantastic,
Extra Sensory Perception,
Fishbreath,
Festive Radiation,
Antihangover,
Minty Freshness,
Deep-Fried,
Feet of Strawberry,
Greased,
Hyperbolic Hypothermia,
Less Vincible,
Paw swap,
Raving Lunatic,
Scared Stiff,
Shirtless in Seattle,
Side Affectation,
Slimed,
Solar Flair,
Tar-Struck,
Trepandation,
Temporary Lycanthropy,
Expert Oiliness,
Complete Delusion,
Stabilizing Oiliness,
Slippery Oiliness,
Radio Head,
Free Bird,
Shiny Happy Weapon,
Kiss of the Black Fairy,
Mild Lycanthropy,
2 Hearts\, 1 Mind,
Having a Ball!,
New\, Improved,
Head on Fire\, Ass Catching,
Lycanthropy\, Eh?,
Radiating Black Body™,
Spirit of Peppermint,
Spirit of Garlic,
Spirit of Wormwood,
Spirit of Bacon Grease
 

xKiv

Active member
"Bad skill value: "Torso Awaregness" (choice.1267.ash, line 3770)"
Any idea?
That skill was renamed to "Torso Awareness" (without the g) in february (if I can trust the wiki). If you cannot get a fixed version of the script from anywhere else, go to the file and replace the skill name with updated value.
I am not sure if there are updated versions anywhere. Maybe the ASS discord would know.
 

Tombot

New member
It seems like the script broke again at some point recently, maybe yesterday. I've done the SVN update command, but it doesn't seem to have fixed it, it seems to get hung up at "Installing dependencies" part after it updates the "therazekolmafia-eatdrink" script. Same deal with updating it from the script manager too.

It also puts this into the CLI when I try and visit the wish card page:
Code:
Reserved word 'modifier' cannot be a variable name (choice.1267.ash, line 2339, char 52 to char 60)
Function "my_path_id" is deprecated (choice.1267.ash, line 2343, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Reserved word 'modifier' cannot be a variable name (choice.1267.ash, line 2453, char 52 to char 60)
Type given but not used to declare anything (choice.1267.ash, line 2455, char 2 to char 12)
Expected }, found = (choice.1267.ash, line 2455, char 11 to char 12)
Missing return value (choice.1267.ash, line 2453, char 16 to char 61)
Empty or unknown node (choice.1267.ash, line 2455, char 11 to char 12)
Type given but not used to declare anything (choice.1267.ash, line 2455, char 13 to char 22)
Expected numeric value, found to_lower_case (choice.1267.ash, line 2455, char 22 to char 35)
Expected ;, found to_lower_case (choice.1267.ash, line 2455, char 22 to char 35)
Function 'to_lower_case( )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. (choice.1267.ash, line 2455, char 22 to char 35)
Unknown variable 'modifier' (choice.1267.ash, line 2460, char 52 to char 60)
Unknown variable 'modifier' (choice.1267.ash, line 2464, char 41 to char 49)
Unknown variable 'modifier' (choice.1267.ash, line 2468, char 37 to char 45)
Unknown variable 'modifier' (choice.1267.ash, line 2469, char 49 to char 57)
Unknown variable 'modifier' (choice.1267.ash, line 2476, char 45 to char 53)
Unknown variable 'modifier' (choice.1267.ash, line 2485, char 13 to char 21)
Cannot return when outside of a function (choice.1267.ash, line 2495, char 9 to char 15)
Unknown variable 'modifier' (choice.1267.ash, line 2495, char 48 to char 56)
Unknown variable 'modifier' (choice.1267.ash, line 2499, char 55 to char 63)
Cannot return when outside of a function (choice.1267.ash, line 2503, char 9 to char 15)
Empty or unknown node (choice.1267.ash, line 2505, char 1 to char 2)
WARNING: Unreachable code (choice.1267.ash, line 2510, char 2)
Function "my_path_id" is deprecated (choice.1267.ash, line 2588, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2588, char 49 to char 62) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2588, char 93 to char 106) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 49 to char 62) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 93 to char 106) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 139 to char 152) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 187 to char 200) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 232 to char 245) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2597, char 273 to char 286) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2601, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2611, char 6 to char 19) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2616, char 11 to char 24) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2631, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2661, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2663, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2677, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2955, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2965, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Function "my_path_id" is deprecated (choice.1267.ash, line 2976, char 6 to char 19) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Reserved word 'modifier' cannot be a variable name (choice.1267.ash, line 3454, char 11 to char 19)
Function "my_path_id" is deprecated (choice.1267.ash, line 3533, char 9 to char 22) Changing 'my_path_id()' to 'my_path().id' will remove this warning
Changing "snakefire in the grass" to "snakefire in the grassfire" would get rid of this message. (choice.1267.ash, line 4548, char 290 to char 313)
Changing "Tio Cadáver" to "Tío Cadáver" would get rid of this message. (choice.1267.ash, line 4548, char 4997 to char 5016)
Reserved word 'modifier' cannot be a key variable name (choice.1267.ash, line 4958, char 10 to char 18)
Unknown variable 'modifier' (choice.1267.ash, line 4960, char 32 to char 40)
Unknown variable 'modifier' (choice.1267.ash, line 4974, char 49 to char 57)
Unknown variable 'modifier' (choice.1267.ash, line 4974, char 62 to char 70)
Unknown variable 'modifier' (choice.1267.ash, line 4977, char 73 to char 81)
Unknown variable 'modifier' (choice.1267.ash, line 4978, char 72 to char 80)
Unknown variable 'modifier' (choice.1267.ash, line 4981, char 25 to char 33)
Reserved word 'modifier' cannot be a key variable name (choice.1267.ash, line 5137, char 10 to char 18)
Unknown variable 'modifier' (choice.1267.ash, line 5140, char 45 to char 53)
Unknown variable 'modifier' (choice.1267.ash, line 5148, char 9 to char 17)
Unknown variable 'modifier' (choice.1267.ash, line 5152, char 14 to char 22)
Reserved word 'modifier' cannot be a key variable name (choice.1267.ash, line 5202, char 10 to char 18)
Unknown variable 'modifier' (choice.1267.ash, line 5203, char 13 to char 21)
Unknown variable 'modifier' (choice.1267.ash, line 5203, char 54 to char 62)
Reserved word 'modifier' cannot be a variable name (choice.1267.ash, line 5278, char 74 to char 82)
 

snooty

Member
It seems like the script broke again at some point recently, maybe yesterday. I've done the SVN update command, but it doesn't seem to have fixed it, it seems to get hung up at "Installing dependencies" part after it updates the "therazekolmafia-eatdrink" script. Same deal with updating it from the script manager too.
Snipped out the code bit, Fronobulax kindly pointed me to a thread earlier where I found this...Modifier fix. "Modifier" is now a reserved word, if you still have scripts that aren't fixed yet, changing "modifier" to something like "mod" should do if the git scripts in the link don't work for you.
 
Top