Bug You are too drunk to continue

interesting, hit the bug during the sausage-eating / end-of advs faze of garbo for the first time:

Code:
Executing Turn Gen/Sausage
CCS set to grimoire_macro
Autoattack is disabled.
Maximizer: MP
Maximizing...
19200 combinations checked, best score 3,610.00
Putting on feathered headdress...
Equipment changed.
Wielding Sword of Procedural Generation...
Preference _concoctionDatabaseRefreshes changed from 4319 to 4320
Equipment changed.
Putting on sea salt scrubs...
Preference _concoctionDatabaseRefreshes changed from 4320 to 4321
Equipment changed.
Putting on Jeans of Loathing...
Preference _concoctionDatabaseRefreshes changed from 4321 to 4322
Equipment changed.
Putting on Garland of Greatness...
Preference _concoctionDatabaseRefreshes changed from 4322 to 4323
Equipment changed.
Putting on Drunkula's ring of haze...
Preference _concoctionDatabaseRefreshes changed from 4323 to 4324
Equipment changed.
Putting on World's Best Adventurer sash...
Preference _concoctionDatabaseRefreshes changed from 4324 to 4325
Equipment changed.
Creating 1 magical sausage...
Meat needed: 1883, Dense: 1, Stacks: 8, Paste: 9
Creating 1 dense meat stack...
You acquire an item: dense meat stack
You lose 1,000 Meat
Preference _concoctionDatabaseRefreshes changed from 4325 to 4326
Successfully created dense meat stack (1)
Preference _concoctionDatabaseRefreshes changed from 4326 to 4327
Preference sausageGrinderUnits changed from 4 to 1004
Preference _concoctionDatabaseRefreshes changed from 4327 to 4328
Preference sausageGrinderUnits changed from 1004 to 1804
Preference _concoctionDatabaseRefreshes changed from 4328 to 4329
Preference sausageGrinderUnits changed from 1804 to 1894
Preference _concoctionDatabaseRefreshes changed from 4329 to 4330
You acquire an item: magical sausage
Preference _sausagesMade changed from 16 to 17
Preference sausageGrinderUnits changed from 1894 to 7
Preference _concoctionDatabaseRefreshes changed from 4330 to 4331
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Muscularity Points
Preference _sausagesEaten changed from 16 to 17
Preference _concoctionDatabaseRefreshes changed from 4331 to 4332
Finished eating 1 magical sausage.

Executing Barf Turn/Barf
Taking off Sword of Procedural Generation...
Equipment changed.
Holding Kramco Sausage-o-Matic™...
Familiar weight: KoL = 56 KoLmafia = 55
Equipment changed.
Putting on mafia pointer finger ring...
Familiar weight: KoL = 56 KoLmafia = 55
Equipment changed.
Putting on outfit: Script Outfit 4
Familiar weight: KoL = 56 KoLmafia = 55
Equipment changed.
CCS set to grimoire_macro
Familiar weight: KoL = 56 KoLmafia = 55

You are too drunk to continue.

Executing Barf Turn/Barf
hpAutoRecoveryTarget => 0
Preference hpAutoRecoveryTarget changed from 0.0 to 0
mpAutoRecoveryTarget => 0
Preference mpAutoRecoveryTarget changed from 0.0 to 0
allowNonMoodBurning => true
Preference allowNonMoodBurning changed from false to true
Preference customCombatScript changed from grimoire_macro to garbo
CCS set to garbo
choiceAdventure1091 => 0
Preference choiceAdventure1091 changed from 9 to 0
Familiar weight: KoL = 56 KoLmafia = 55
Autoattack is disabled.
Autoattack is disabled.
No spading data has been collected yet. Please try again later.
Preference customCombatScript changed from garbo to default
CCS set to default
hpAutoRecoveryTarget => 0
Preference hpAutoRecoveryTarget changed from 0.0 to 0
mpAutoRecoveryTarget => 0
Preference mpAutoRecoveryTarget changed from 0.0 to 0
allowNonMoodBurning => false
Preference allowNonMoodBurning changed from true to false
valueOfInventory => 2
Preference valueOfInventory changed from 2.0 to 2
Preference choiceAdventure1387 changed from 2 to 3
Familiar weight: KoL = 56 KoLmafia = 55
 
Hey, here is something interesting Ive just noticed!

So, Ive been hitting this bug consistently since I started chiming in. It just occurred to me to look at what exactly happens just before the Familiar Weight discrepancy (and related liver size prob) starts popping.

Taking off Sword of Procedural Generation... Equipment changed. Holding Kramco Sausage-o-Matic™... Familiar weight: KoL = 56 KoLmafia = 55

So I put the Sword of Procedural Generation in the DC after hitting the bug today, and I didnt have to jump through any hoops to get automation rolling again.
I suppose the real test will be tomorrow to see if the bug resurfaces w/o access to the sword.
 
So, small sample size, but I haven't seen the bug since putting my Sword of Procedural Generation in the display case.
Previously it was popping up daily.

(edit: 2 months now, bug free. see below)
 
Last edited:
I ran into the Fam Weight / Liver Space mismatch bug for the first time in a long time.
It popped when Ezandora's piraterealm script was dressing up. The script aborted when my mysticality stat could not be dropped below 100.
(I shrugged a buff, modtrace liver; refresh all and all was well, smooth pirate sailing.)

But what I thought was interesting was that the bug popped in relation to mysticality stat.
Because my Sword of Procedural Generation, which was the previous trigger for this bug popping before I DC'ed it, is my BIS for mysticality.
 
I don't suppose you can share any maximization strings or details re: exactly what got equipped when?

If you can find a sequence of actions (beyond "run a specific script that adventures and otherwise depends a lot on current player state") that reproduces the bad state consistently from a previously-good state, that'd be a huge help.

I can't see any obvious reasons why changing equipment would affect the passive skill cache, but there's evidently something going on here. (Perhaps some class has inadvertent write access that it shouldn't... although I'd guess that a weird maximizer interaction is more likely, as that actually creates new `Modifiers` objects)
 
nice, was able to replicate it 1st try. (But this time the abort message was about the Mus stat.)

Maximizer string (at least this is what was in the maximizer when i opened it after abort):
Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Roman Candelabra", -"equip Spooky Putty ball", -"equip Spooky Putty leotard", -"equip Spooky Putty mitre", -"equip Spooky Putty snake", -"equip broken champagne bottle", -"equip dice-shaped backpack", -"equip papier-masque", -"equip papier-mitre", -"equip smoke ball", -"equip stinky fannypack", -"equip ¶5868", -"equip ¶5869", -"equip ¶5872", -acc1, -buddy-bjorn, -crown-of-thrones, -familiar

Gear equipped:
Hat: PirateRealm party hat (Power: 50)
Shirt: none
Weapon: Red Roger's red right hand (Damage: 12 - 24, 1h)
Off-Hand: Red Roger's red left hand
Pants: none
Accessory 1: PirateRealm eyepatch
Accessory 2: Red Roger's red right foot
Accessory 3: Red Roger's red left foot



CLI output:
Code:
PirateRealm v1.0.3
Taking off everything...
Preference _concoctionDatabaseRefreshes changed from 2713 to 2714
Everything removed.
You acquire an item: PirateRealm eyepatch
Putting on PirateRealm eyepatch...
Equipment changed.
Preference lastEncounter changed from cockroach to Welcome to PirateRealm
Encounter: Welcome to PirateRealm
Submitting option 1 for choice 1346
Preference lastEncounter changed from Welcome to PirateRealm to Groggy's Tavern
Encounter: Groggy's Tavern
Preference _pirateRealmCrewmate1 changed from to Wide-Eyed Cryptobotanist
Preference _pirateRealmCrewmate2 changed from to Beligerent Harquebusier
Preference _pirateRealmCrewmate3 changed from to Pinch-Fisted Coxswain
Submitting option 2 for choice 1347
Preference lastEncounter changed from Groggy's Tavern to Seaside Curios
Encounter: Seaside Curios
Preference _pirateRealmCrewmate changed from to Beligerent Harquebusier
Preference _pirateRealmCurio changed from to 10191
Submitting option 4 for choice 1348
Preference lastEncounter changed from Seaside Curios to Dishonest Ed's Ships
Encounter: Dishonest Ed's Ships
Preference _pirateRealmCurio changed from 10191 to 10193
You acquire an item: curious anemometer
Preference _pirateRealmShip changed from to Swift Clipper
Preference _pirateRealmShipSpeed changed from 0 to 4
Submitting option 5 for choice 1349
Preference lastEncounter changed from Dishonest Ed's Ships to Time to Set Sail!
Encounter: Time to Set Sail!
Preference _pirateRealmShip changed from Swift Clipper to Menacing Man o' War
Preference _pirateRealmShipSpeed changed from 4 to 9
Submitting option 1 for choice 1350
Unhandled redirect to place.php?whichplace=realm_pirate
Preference choiceAdventure1356 changed from 1 to 3
Preference choiceAdventure1357 changed from 1 to 4
Preference choiceAdventure1367 changed from 1 to 2
Putting on Red Roger's red right foot...
Equipment changed.
Putting on PirateRealm party hat...
Equipment changed.
Putting on Red Roger's red left foot...
Equipment changed.
Holding Red Roger's red left hand...
Familiar weight: KoL = 96 KoLmafia = 95
Equipment changed.
Wielding Red Roger's red right hand...
Familiar weight: KoL = 96 KoLmafia = 95
Equipment changed.
Remove whichever effect makes our Muscle over 100.
 
Hm. I wonder if this is related to being locked in a chain of choice adventures at the time we're trying to refresh our list of skills.
 
I've lately noticed an issue with my max inebriety. It would go from 21/21 to 21/14, while also starting to give messages about "Familiar weight: KoL = 41 KoLmafia = 40".

I noticed it when running UberPvPOptimizer. It was consistently happening when it equipped the lavalarva, after first equipping a prohie's hat, shadow skin, and futuristic shirt. With some experimentation, I found that the Guzzlr souvenir stein would also trigger it instead of the lavalarva. So would the June cleaver, but not any of the handful of other items I tried. Then I found I could trigger it just "outfit birthday suit; equip futuristic shirt; equip lavalarva". I thought the futuristic shirt might be relevant, but I was then able to get it with just "outfit birthday suit; equip lavalarva". However, at some point, whatever was wrong must have fixed itself, since I then became unable to trigger it at all anymore.

So after giving up and just running my day automation script, I noticed that UberPvPOptimizer was triggering the bug again after all. So something there must have put it into a state where that would trigger it, but I don't know what. After the script terminated, it was no longer in that state.

In the end, I don't know if any of those details are even relevant. The bug thoroughly confuses me.
 
I've been having what feels like the same bug for about a week now. I only lose one drunk, because I only having Drinking to Drink and not Liver of Steel.

I only managed to narrow it down to "something about pvp" when I run Uber in my bedtime script. It doesn't happen when I run Uber alone from the CLI and it doesn't happen when I cut and paste line by line from my bedtime script (error prone). I also see my max drunk fall at some point during garbo, but that's a nearly useless data point. My character stays in the bugged state until I log out and back in.

I wanted to post something earlier, but I hate it when I can't narrow anything down, but "Me too!"
 
Ohh! I can reproduce.

Code:
outfit birthday suit;
ash inebriety_limit();
equip Staff of the Grand Flambé
ash inebriety_limit();
outfit birthday suit;
ash inebriety_limit();

Results in:
Code:
Taking off everything...
Everything removed.
Returned: 15
Wielding Staff of the Grand Flambé...
Equipment changed.
Returned: 14
Taking off everything...
Everything removed.
Returned: 15
 
Ugh. I'm entirely confused, but this works every time for me.
Code:
maximize;
outfit birthday suit;
ash inebriety_limit();
equip saucepan;
ash inebriety_limit();
outfit birthday suit;
ash inebriety_limit();
equip Knob Goblin scimitar;
ash inebriety_limit();
outfit birthday suit;
ash inebriety_limit();
equip saucepan;
ash inebriety_limit();
The first saucepan doesn't drop my inebriety_limit, but the second does!
Code:
Maximizer:
Loading character status...
Maximizing...
60 combinations checked, best score 0.00
Putting on Thunkula's drinking cap...
Equipment changed.
Wielding Mer-kin hookspear...
Preference _concoctionDatabaseRefreshes changed from 2877 to 2878
Equipment changed.
Holding aerogel attache case...
Equipment changed.
Putting on Camp Scout backpack...
Equipment changed.
Putting on sea salt scrubs...
Equipment changed.
Putting on Pantsgiving...
Equipment changed.
Putting on spring shoes...
Equipment changed.
Putting on Mr. Cheeng's spectacles...
Equipment changed.
Putting on sweat socks...
Equipment changed.
Taking off everything...
Preference _concoctionDatabaseRefreshes changed from 2878 to 2879
Everything removed.
Returned: 15
Wielding saucepan...
Preference _concoctionDatabaseRefreshes changed from 2879 to 2880
Equipment changed.
Returned: 15
Taking off everything...
Preference _concoctionDatabaseRefreshes changed from 2880 to 2881
Everything removed.
Returned: 15
Wielding Knob Goblin scimitar...
Preference _concoctionDatabaseRefreshes changed from 2881 to 2882
Equipment changed.
Returned: 15
Taking off everything...
Everything removed.
Returned: 15
Wielding saucepan...
Preference _concoctionDatabaseRefreshes changed from 2882 to 2883
Equipment changed.
Returned: 14
 
For Science - I tried those same things. This first bunch of commands and the second. The first ran fine, but the second had issues:

Code:
Returned: 20
Wielding Staff of the Grand Flambé...
Equipment changed.
Returned: 20
Taking off everything...
Everything removed.
Returned: 20

Code:
Maximizer:
Loading character status...
Maximizing...
420 combinations checked, best score 0.00
Putting on Mayor Ghost's toupee...
Equipment changed.
Wielding Mer-kin hookspear...
Equipment changed.
Holding KoL Con 13 snowglobe...
Equipment changed.
Putting on Camp Scout backpack...
Equipment changed.
Putting on sea salt scrubs...
Equipment changed.
Putting on Pantsgiving...
Equipment changed.
Putting on spring shoes...
Equipment changed.
Putting on Mr. Cheeng's spectacles...
Equipment changed.
Putting on sweat socks...
Equipment changed.
Stealing Mayflower bouquet from ck-Brother the Grim Brother...
Unequipping ck-Brother the Grim Brother...
Familiar unequipped.
Putting on Mayflower bouquet...
Equipment changed.
Taking off everything...
Everything removed.
Returned: 20
Wielding saucepan...
Equipment changed.
Returned: 20
Taking off everything...
Everything removed.
Returned: 20
Wielding Knob Goblin scimitar...
Equipment changed.
Returned: 20
Taking off everything...
Everything removed.
Returned: 20
Wielding saucepan...
Familiar weight: KoL = 46 KoLmafia = 45
Equipment changed.
Returned: 14
 
Even more confusing. The first test I can't run on my non-ascender (no staff), but the second test works does not reproduce the problem. That account has Liver of Steel and Hallow Leg.
 
Even weirder, running those commands twice in a row, the second time mi inebriety swaps back and forth:
Code:
Taking off everything...
Everything removed.
Returned: 20
Wielding saucepan...
Familiar weight: KoL = 46 KoLmafia = 45
Equipment changed.
Returned: 14
Taking off everything...
Everything removed.
Returned: 20
Wielding Knob Goblin scimitar...
Familiar weight: KoL = 46 KoLmafia = 45
Equipment changed.
Returned: 14
Taking off everything...
Everything removed.
Returned: 20
Wielding saucepan...
Familiar weight: KoL = 46 KoLmafia = 45
Equipment changed.
Returned: 14
 
I've shrunk the second reproducing test case to:
Code:
ash print(inebriety_limit());
equip Knob Goblin scimitar;
ash print(inebriety_limit());
outfit birthday suit;
ash print(inebriety_limit());
equip saucepan;
ash print(inebriety_limit());
which I've saved in a file called reproducer.txt.

From my testing, it seems to work with any 1h weapon (melee or ranged) that modifies muscle, and any saucepan (e.g. oil pan, frying brainpan). (Notably, this does not work with one-handed weapons that only modify HP. I also could not reproduce with 1h weapons modifying just moxie, mysticality, or combat initiative.)

And, it seems tied to the set of passive skills. Expert panhandling does not seem to be sufficient to trigger this, but it may be part of the key.

Variable modifiers granted by skills are not affected (e.g. Slimy Synapses), but most flat modifiers are wiped.

Might be time to pull out a debugger, but I think I can work with this.
 
Last edited:
Okay. So the sequence of events starts out:

"equip knob goblin scimitar" triggers the removal of a bunch of retro superhero cape skills (which registers a deferred listener to refresh the passive skill cache the next time we want to fetch adjustments).


And indeed, that does seem better correlated with the trigger -- I can reproduce by equipping a 2h rifle (C.B.F.G.) instead of the scimitar.

"outfit birthday suit" triggers a fetch of api.php, which in turn causes us to refresh our effects and recalculate adjustments (including refreshing the passive skill cache).

I'm not yet sure how the saucepan plays into everything.
 
I don't have the cape, either. That logic is run unconditionally. I suspect the actual trigger is tied to having specific passive skills. (Expert Panhandling was an obvious guess given the relevance of the saucepan, but it seems that is insufficient and potentially irrelevant.)

I have not yet figured out the mechanism through which equipping a saucepan somehow ignores most of the passive skill cache despite not forcing a recalculation.

One observation from earlier today that surprised me is that recalculateAdjustments creates a Modifiers object, then returns it... but nothing other than Speculation.java ever reads that return value. I guess the side effects of interest all involve mutating the Modifiers class's static fields.

I may look into this more in the morning.
 
Back
Top