Bug Maximizer only finds the maximum equipment on second run

Using r26563 (Problem was on the recent previous versions also)

I'm using
Code:
maximize("10 adv, 1 pvp fights, +switch Disembodied Hand, +switch Trick-or-Treating Tot -tie", false);
to maximize for rollover adventures. Every day that the rollover adventures on my Depleted Grimacite Gravy Boat is less than 3, it will equip that even though my second time sword is more adventures.

Code:
> debug trace on

> rolloverequip.ash

Maximizer: 10 adv, 1 pvp fights, +switch Disembodied Hand, +switch Trick-or-Treating Tot -tie
Maximizing...
20352 combinations checked, best score 563.00
Putting on time helmet...
Equipment changed.
Wielding time sword...
Equipment changed.
Holding depleted Grimacite gravy boat...
Equipment changed.
Putting on auxiliary backbone...
Equipment changed.
Putting on General Sage's Lonely Diamonds Club Jacket...
Equipment changed.
Putting on time trousers...
Equipment changed.
Putting on Uncle Hobo's epic beard...
Equipment changed.
Putting on mother's necklace...
Equipment changed.
Putting on dead guy's memento...
Equipment changed.
Putting Fronathan the Stooper back into terrarium...
Taking Five Finger Charlie the Disembodied Hand out of terrarium...
amulet coin is better than (none). Switching items...
Stealing amulet coin from Fronathan the Stooper...
Unequipping Fronathan the Stooper...
Familiar unequipped.
Putting on amulet coin...
Equipment changed.
Putting on June cleaver...
Equipment changed.

> debug trace off

If I open the modifier maximizer window and click update, it will then see my time sword is better there.

Code:
Maximizer: 10 adv, 1 pvp fights, +switch Disembodied Hand, +switch Trick-or-Treating Tot -tie
Maximizing...
84 combinations checked, best score 573.00
Holding time sword...
Equipment changed.
Taking off everything...
Everything removed.

I've been having this consistently, so been running debug trace while running the script, I'll attach it though I'm not sure if it's actually useful
 

Attachments

  • TRACE_20220714.txt
    6.3 KB · Views: 0
Top