Bug Maximizer Error - Stinky Cheese

Tapion

New member
I thought this was a Garbo bug but it appears to be a maximizer issue. When maximizing for familiar weight, for some reason mafia thinks it's beneficial to equip 2 stinky cheese eyes (it doesnt help to increase the stinky cheese weight has nothing to do with fam weight) and, it also disregards one of my accessory slots (acc1) for some reason. Specific sections are below and a section of my session log is attached (size limitations did not allow me to post the entire thing, only posted relevant sections). This happens every day for me and only started after I acquire 4 stinky cheese items. Thanks as always!

  • This is what is does prior for the acc1 slot:

familiar Dancing Frog (108 lbs)

equip familiar amulet coin
Maximizer: Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Buddy Bjorn", -"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", -buddy-bjorn, -crown-of-thrones, -shirt, 122.14 "bonus tiny stillsuit", 152.1 "bonus Snow Suit", 1606.09 "bonus Pantsgiving", 171.73 "bonus June cleaver", 18.87 "bonus rake", 18.87 "bonus tiny rake", 180 "bonus Mr. Screege's spectacles", 188.76 "bonus bag of many confections", 220 "bonus Mr. Cheeng's spectacles", 2319.66 "bonus toy Cupid bow", 261.71 "bonus can of mixed everything", 311 "bonus Daylight Shavings Helmet", 348.75 "bonus aviator goggles", 349.65 "bonus Crown of Thrones", 387.3 "bonus Mayflower bouquet", 387.35 "bonus lucky gold ring", 480 "bonus stinky cheese diaper", 480 "bonus stinky cheese eye", 480 "bonus stinky cheese wheel", 500 "bonus vampyric cloake", 5120 "bonus designer sweatpants", 6.25 "bonus Powerful Glove"

equip weapon June cleaver

equip off-hand stinky cheese wheel

equip acc1 stinky cheese eye
Preference _concoctionDatabaseRefreshes changed from 2467 to 2468

equip acc2 stinky cheese eye

use 1 stinky cheese diaper
You lose 139 hit points
You acquire an item: stinky cheese wheel

use 1 stinky cheese wheel
You lose 139 hit points
You acquire an item: stinky cheese eye

equip acc3 stinky cheese eye

Unequip Chest Mimic

equip familiar toy Cupid bow
> Maximize: Familiar Weight

enthrone Garbage Fire (99 lbs)

[322] The Neverending Party
Preference lastEncounter changed from biker to burnout
Encounter: burnout
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7407;sk7308;sk7289;it9104;it5561;it5560;sk7442;sk7442;sk7442;sk7442;attack;attack; to
Round 0: tapion wins initiative!
Preference cosmicBowlingBallReturnCombats changed from 40 to 39
Round 1: tapion executes a macro!
Round 1: tapion casts FEEL PRIDE!
Preference _lastCombatActions changed from to sk7357;
You gain 47 Meat.
Round 2: Wotchell shoots a plunger-arrow at your foe's torso, and he is distracted for a moment while he pops it off.
Preference _feelPrideUsed changed from 1 to 2
Round 2: tapion casts SING ALONG!
Preference _lastCombatActions changed from sk7357; to sk7357;sk7297;
You acquire an item: burning newspaper
Preference _garbageFireDropsCrown changed from 0 to 1
Round 3: tapion casts CURSE OF WEAKSAUCE!
Preference _lastCombatActions changed from sk7357;sk7297; to sk7357;sk7297;sk4034;
You acquire an item: burning newspaper
Preference _garbageFireDropsCrown changed from 1 to 2
Round 4: burnout drops 14 attack power.
Round 4: burnout drops 16 defense.
Round 4: tapion casts BECOME A WOLF!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034; to sk7357;sk7297;sk4034;sk7308;
You acquire an effect: Wolfish Form (1)
Round 5: burnout drops 14 attack power.
Round 5: burnout drops 13 defense.
Preference _vampyreCloakeFormUses changed from 1 to 2
Round 5: tapion casts MICROMETEORITE!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308; to sk7357;sk7297;sk4034;sk7308;sk7289;
Round 6: burnout drops 38 attack power.
Round 6: burnout drops 136 defense.
Round 6: burnout drops 12 attack power.
Round 6: burnout drops 14 defense.
Preference _micrometeoriteUses changed from 17 to 18
Round 6: tapion uses the Time-Spinner!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;
Round 7: burnout drops 16 attack power.
Round 7: burnout drops 60 defense.
Round 7: burnout drops 14 attack power.
Round 7: burnout drops 15 defense.
Round 7: tapion uses the Rain-Doh indigo cup!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289;it9104; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;
Round 8: You gain 555 hit points
You acquire an item: burning newspaper
Preference _garbageFireDropsCrown changed from 2 to 3
Round 8: burnout drops 13 attack power.
Round 8: burnout drops 13 defense.
Round 8: tapion uses the Rain-Doh blue balls!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;
Round 9: burnout takes 13 damage.
Round 9: burnout drops 15 attack power.
Round 9: burnout drops 14 defense.
Round 9: tapion attacks!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;attack;
Round 10: burnout takes 488 damage.
Round 10: burnout drops 15 attack power.
Round 10: burnout drops 16 defense.
Round 10: tapion attacks!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;attack; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;attack;attack;
Round 11: burnout takes 509 damage.
Round 11: burnout drops 15 attack power.
Round 11: burnout drops 13 defense.
Round 11: tapion attacks!
Preference _lastCombatActions changed from sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;attack;attack; to sk7357;sk7297;sk4034;sk7308;sk7289;it9104;it5561;it5560;attack;attack;attack;
Round 12: burnout takes 528 damage.
Round 12: burnout drops 14 attack power.
Round 12: burnout drops 13 defense.
Round 12: tapion wins the fight!
Your familiar gains a pound: Wotchell, the 11 lb. Dancing Frog
After Battle: Junk Man surveys the scene from atop the throne, and gains 1 Experience.
After Battle: Wotchell does a little tap-dance while he sings, "by a waterfall, I'm calling you-hoo-hoo-hoo." You remind him not to go chasing waterfalls, and he winks at you.
You gain 1,000 Meat
After Battle: Clandestine Malachite tiptoes out of her hiding place and gives you some meat.
You gain 13 Meat.
After Battle: You can get a little hair oil out of these guys if you squeeze them in the right spot.
After Battle: You gain 4 Smarm
You acquire an item: van key
You acquire an item: jam band bootleg
You acquire an item: denim jacket
You acquire an item: ratty knitted cap
After Battle: You gain 1231 Strengthliness
You gain some Muscle points!
After Battle: You gain 567 Enchantedness
You gain some Mysticality points!
After Battle: You gain 576 Cheek
You gain a Moxie point!
You acquire an item: inflammable leaf (2)
After Battle: Kevin Flynn grabs a bottle of cleaning spray and wipes down the windows of his condo.
After Battle: You gain 2 Enchantedness
Preference _juneCleaverFightsLeft changed from 24 to 23
Preference _juneCleaverStench changed from 47 to 48
Preference sweat changed from 67 to 69
Preference _stinkyCheeseCount changed from 31 to 33
Preference garbageShirtCharge changed from 36 to 35
Preference encountersUntilNEPChoice changed from 6 to 5
Preference lastCopyableMonster changed from biker to burnout
This combat did not cost a turn
Preference _neverendingPartyFreeTurns changed from 1 to 2
Preference familiarSweat changed from 709 to 710
Preference cupidBowLastFamiliar changed from 299 to 118
Preference _concoctionDatabaseRefreshes changed from 2468 to 2469
Preference allowNonMoodBurning changed from true to false
Preference customCombatScript changed from garbo to grimoire_macro
Preference hpAutoRecoveryTarget changed from 0.0 to 0
Preference mpAutoRecoveryTarget changed from 0.0 to 0
Preference allowNonMoodBurning changed from false to true
Preference customCombatScript changed from grimoire_macro to garbo
Maximizer: Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Buddy Bjorn", -"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", -buddy-bjorn, -crown-of-thrones, -shirt, 122.14 "bonus tiny stillsuit", 136.72 "bonus Crown of Thrones", 152.1 "bonus Snow Suit", 1606.09 "bonus Pantsgiving", 171.73 "bonus June cleaver", 18.87 "bonus rake", 18.87 "bonus tiny rake", 180 "bonus Mr. Screege's spectacles", 188.76 "bonus bag of many confections", 220 "bonus Mr. Cheeng's spectacles", 261.71 "bonus can of mixed everything", 2899.58 "bonus toy Cupid bow", 311 "bonus Daylight Shavings Helmet", 348.75 "bonus aviator goggles", 387.3 "bonus Mayflower bouquet", 387.35 "bonus lucky gold ring", 480 "bonus stinky cheese diaper", 480 "bonus stinky cheese eye", 480 "bonus stinky cheese wheel", 500 "bonus vampyric cloake", 5120 "bonus designer sweatpants", 6.25 "bonus Powerful Glove"


  • Then, it disregards acc1 and only equips acc2 and acc3 which are stinky cheese eyes:
equip familiar amulet coin

equip weapon Fourth of May Cosplay Saber
Maximizer: Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Buddy Bjorn", -"equip Spooky Putty ball", -"equip Spooky Putty leotard", -"equip Spooky Putty mitre", -"equip Spooky Putty snake", -"equip Staff of Queso Escusado", -"equip broken champagne bottle", -"equip dice-shaped backpack", -"equip papier-masque", -"equip papier-mitre", -"equip smoke ball", -"equip stinky cheese sword", -"equip stinky fannypack", -"equip ¶5868", -"equip ¶5869", -"equip ¶5872", -buddy-bjorn, -crown-of-thrones, -weapon, 100 "bonus garbage sticker", 122.14 "bonus tiny stillsuit", 1310.11 "bonus Cincho de Mayo", 152.1 "bonus Snow Suit", 1606.09 "bonus Pantsgiving", 171.73 "bonus June cleaver", 18.87 "bonus rake", 18.87 "bonus tiny rake", 180 "bonus Mr. Screege's spectacles", 188.76 "bonus bag of many confections", 220 "bonus Mr. Cheeng's spectacles", 2319.66 "bonus toy Cupid bow", 261.71 "bonus can of mixed everything", 311 "bonus Daylight Shavings Helmet", 348.75 "bonus aviator goggles", 3591 "bonus Crown of Thrones", 387.3 "bonus Mayflower bouquet", 387.35 "bonus lucky gold ring", 480 "bonus stinky cheese diaper", 480 "bonus stinky cheese eye", 480 "bonus stinky cheese wheel", 500 "bonus vampyric cloake", 5120 "bonus designer sweatpants", 6.25 "bonus Powerful Glove"

equip off-hand stinky cheese wheel

equip shirt Stephen's lab coat

equip acc2 stinky cheese eye

equip acc3 stinky cheese eye

Unequip Pocket Professor

equip familiar toy Cupid bow
> Maximize: Familiar Weight

[322] The Hidden Bowling Alley
Encounter: drunk pygmy
Round 0: tapion wins initiative!
Preference cosmicBowlingBallReturnCombats changed from 1 to 0
You acquire an item: cosmic bowling ball
Preference banishedMonsters changed from fluffy bunny:ice house:0:BL Imp:Bowl a Curveball:291:spooky vampire:v for vivala mask:321:fluffy bunny:stinky cheese eye:321:pygmy orderlies:divine champagne popper:321:pygmy janitor:tennis ball:321:pygmy bowler:louder than bomb:321 to fluffy bunny:ice house:0:spooky vampire:v for vivala mask:321:fluffy bunny:stinky cheese eye:321:pygmy orderlies:divine champagne popper:321:pygmy janitor:tennis ball:321:pygmy bowler:louder than bomb:321
Preference cosmicBowlingBallReturnCombats changed from 0 to -1
Round 1: tapion executes a macro!
Preference lastEncounter changed from drunk pygmy to Using the Force
Encounter: Using the Force
Took choice 1387/2: "You will go find two friends and meet me here."
choice.php?whichchoice=1387&option=2&pwd
Preference _saberForceMonster changed from to drunk pygmy
Preference _saberForceMonsterCount changed from 0 to 3
Preference _saberForceUses changed from 0 to 1
Preference allowNonMoodBurning changed from true to false
Preference customCombatScript changed from garbo to grimoire_macro
Preference hpAutoRecoveryTarget changed from 0.0 to 0
Preference mpAutoRecoveryTarget changed from 0.0 to 0
Preference allowNonMoodBurning changed from false to true
Preference customCombatScript changed from grimoire_macro to garbo
Maximizer: Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Buddy Bjorn", -"equip Spooky Putty ball", -"equip Spooky Putty leotard", -"equip Spooky Putty mitre", -"equip Spooky Putty snake", -"equip Staff of Queso Escusado", -"equip broken champagne bottle", -"equip dice-shaped backpack", -"equip papier-masque", -"equip papier-mitre", -"equip smoke ball", -"equip stinky cheese sword", -"equip stinky fannypack", -"equip ¶5868", -"equip ¶5869", -"equip ¶5872", -buddy-bjorn, -crown-of-thrones, -weapon, 100 "bonus garbage sticker", 122.14 "bonus tiny stillsuit", 1310.11 "bonus Cincho de Mayo", 152.1 "bonus Snow Suit", 1606.09 "bonus Pantsgiving", 171.73 "bonus June cleaver", 18.87 "bonus rake", 18.87 "bonus tiny rake", 180 "bonus Mr. Screege's spectacles", 188.76 "bonus bag of many confections", 220 "bonus Mr. Cheeng's spectacles", 2319.66 "bonus toy Cupid bow", 261.71 "bonus can of mixed everything", 311 "bonus Daylight Shavings Helmet", 348.75 "bonus aviator goggles", 349.65 "bonus Crown of Thrones", 387.3 "bonus Mayflower bouquet", 387.35 "bonus lucky gold ring", 480 "bonus stinky cheese diaper", 480 "bonus stinky cheese eye", 480 "bonus stinky cheese wheel", 500 "bonus vampyric cloake", 5120 "bonus designer sweatpants", 6.25 "bonus Powerful Glove"
> Maximize: Familiar Weight
 

Attachments

Presumably the eyes are due to the 480 "bonus stinky cheese eye" part, and not the familiar weight part.

Is it actually the case that nothing is equipped in acc1 once it's done, or is whatever was there originally left?
 
Yeah my thoughts as well, I am unsure where the bonus is being pulled from exactly (I did not see anything in garbo identifying it and was told from the dev team the bonus is calculated from mafia). The acc1 is initially equipped as the stinky cheese eye and then acc2 and acc3 are equipped as stinky cheese eyes as well. It seems that mafia thinks 3 are equipped and are beneficial towards increasing the stinky cheese count (my guess where the 480 may be coming from on top of the marginal meat boost). This then ends up with only acc2 and acc3 equipped. Sorry if my explanation is confusing.
 
Yeah my thoughts as well, I am unsure where the bonus is being pulled from exactly (I did not see anything in garbo identifying it and was told from the dev team the bonus is calculated from mafia). The acc1 is initially equipped as the stinky cheese eye and then acc2 and acc3 are equipped as stinky cheese eyes as well. It seems that mafia thinks 3 are equipped and are beneficial towards increasing the stinky cheese count (my guess where the 480 may be coming from on top of the marginal meat boost). This then ends up with only acc2 and acc3 equipped. Sorry if my explanation is confusing.
Bonus comes from:
Code:
function cheeses(mode: BonusEquipMode) {
  return haveSomeCheese &&
    !globalOptions.ascend &&
    get("_stinkyCheeseCount") < 100 &&
    estimatedGarboTurns() >= 100 - get("_stinkyCheeseCount") &&
    mode !== BonusEquipMode.MEAT_TARGET
    ? new Map<Item, number>(
        getFoldGroup($item`stinky cheese diaper`)
          .filter((item) => toSlot(item) !== $slot`weapon`)
          .map((item) => [
            item,
            get("valueOfAdventure") *
              (10 - bestAdventuresFromPants) *
              (1 / 100),
          ]),
      )
    : [];
}
That is, if you're not ascending, garbo values the adventures you could get from the diaper over the best alternative multiplied by your valueOfAdventure as the bonus.

And maximizer counts "bonus" as "equip as much of this as possible" instead of "equip at most one of this". The way to handle that in Mafia would be a Bitmap modifier, but no such modifier exists.

When your account gets into this state, run the maximizer command copied from your logs with ", 2 dump" at the end to see what maximizer is considering in more detail.
 
I've attached the maximize command with the , 2 dump on the tail end (it is quite long).


After entering the following GCLI command:

Maximize Familiar Weight, -"equip Amulet of Perpetual Darkness", -"equip Buddy Bjorn", -"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", -buddy-bjorn, -crown-of-thrones, 127.8 "bonus Snow Suit", 1301.49 "bonus Pantsgiving", 134.29 "bonus Crown of Thrones", 136.75 "bonus tiny stillsuit", 145.66 "bonus bag of many confections", 172.16 "bonus June cleaver", 180 "bonus Mr. Screege's spectacles", 220 "bonus Mr. Cheeng's spectacles", 2520 "bonus toy Cupid bow", 263.87 "bonus can of mixed everything", 311 "bonus Daylight Shavings Helmet", 371.25 "bonus aviator goggles", 390.69 "bonus lucky gold ring", 392.25 "bonus Mayflower bouquet", 47.82 "bonus rake", 47.82 "bonus tiny rake", 480 "bonus stinky cheese diaper", 480 "bonus stinky cheese eye", 480 "bonus stinky cheese wheel", 500 "bonus vampyric cloake", 6.25 "bonus Powerful Glove"

It once again proceeded to equip only 2 accs:

Maximizing...
324 combinations checked, best score 6,782.65
Putting on Daylight Shavings Helmet...
Preference _concoctionDatabaseRefreshes changed from 54 to 55
Equipment changed.
Wielding June cleaver...
Preference _concoctionDatabaseRefreshes changed from 55 to 56
Equipment changed.
Holding stinky cheese wheel...
Preference _concoctionDatabaseRefreshes changed from 56 to 57
Equipment changed.
Putting on Stephen's lab coat...
Equipment changed.
Putting on Pantsgiving...
Equipment changed.
Putting on stinky cheese eye...
Equipment changed.
Using 1 stinky cheese diaper...
You lose 75 hit points
You acquire an item: stinky cheese wheel
Finished using 1 stinky cheese diaper.
Using 1 stinky cheese wheel...
You lose 75 hit points
You acquire an item: stinky cheese eye
Finished using 1 stinky cheese wheel.
Putting on stinky cheese eye...
Equipment changed.


Hat: Daylight Shavings Helmet (Power: 100)
Back: vampyric cloake
Shirt: Stephen's lab coat (Power: 120)
Weapon: June cleaver (Damage: 10 - 20, 1h)
Off-Hand: stinky cheese wheel
Pants: Pantsgiving (Power: 100)
Accessory: stinky cheese eye
Accessory: stinky cheese eye
Familiar: toy Cupid bow
 

Attachments

yeah ACC2 is 1-handed melee weapons and ACC3 is 1-handed ranged weapons.

By
[stinky cheese eye, lucky gold ring, Mr. Cheeng's spectacles, Mr. Screege's spectacles]
non-stinky cheese accessories do make it to the final shortlist.

It folded your pants into an eye. You say you have 4 items. If you run the maximize command with the eyes already folded (i. e. wheel and three eyes), does it equip them correctly?
 
Just tested it, it does equip 3 eyes and 1 wheel when they are all folded as such prior to running the maximizer
 
Last edited:
Back
Top