Bug R27998 - Automation breaks down

Rishi Sunak

New member
Having updated from 977 to 998, after entering a fight Mafia claims to have identified a fight turn count difference between KOL & Mafia. It then goes into an endless circle of entering the fight & repeating the error message. This can be stopped with either of the stop buttons. The fight can be concluded in the relay browser. Failed to take a screenshot (sorry). I refreshed the browser & session in Mafia, which did not better the situation. I continued in the relay browser, using the macros there which did not cause an abort. A restart on the following day does seem to have cleared the issue as I have not been able to make it reoccur.

One consequence of this repeating error was that all darts were used from the Everfull Dart Holster. However, the inability to count remains

[4529] Hobopolis Town Square

Encounter: Riemann's Elmer, the Southern Officer and the Southern Gentleman
Round 0: rishi sunak wins initiative!
Round 0: rishi sunak attacks!
Encounter: Riemann's Elmer, the Southern Officer and the Southern Gentleman
Round 0: rishi sunak loses initiative!
KoLmafia thinks it is round 1 but KoL thinks it is round 2
Round 2: Normal hobo takes 364 damage.
Round 2: Nadhim Zahawi climbs up and sits on your shoulder, and hands you some Meat. Huh, where did he find that?
You gain 56 Meat.
Round 2: You lose 36 hit points
Round 0: rishi sunak executes a macro!
Encounter: Riemann's Elmer, the Southern Officer and the Southern Gentleman
Round 0: rishi sunak loses initiative!
KoLmafia thinks it is round 1 but KoL thinks it is round 2
Round 0: rishi sunak executes a macro!
Encounter: Riemann's Elmer, the Southern Officer and the Southern Gentleman
Round 0: rishi sunak loses initiative!
Round 0: rishi sunak casts DARTS: THROW AT %PART4!
KoLmafia thinks it is round 1 but KoL thinks it is round 3
Round 3: Normal hobo takes 304 damage.
Round 3: rishi sunak wins the fight!

Thanks, Rishi
 

Rishi Sunak

New member
The repeating error just happened again. I am using 27998. I wanted to pick up a dead mimic as my wand blew up so went into the DoD. I did one manual fight there, then started Mafia's automation. The following happened:

Validating adventure sequence...
Condition added: +1 dead mimic

Request 1 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4532] The Dungeons of Doom
Encounter: large kobold
Round 0: rishi sunak wins initiative!

Request 1 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4532] The Dungeons of Doom
Encounter: large kobold
Round 1: rishi sunak executes a macro!
Round 1: rishi sunak casts DARTS: THROW AT %PART2!
Round 2: large kobold takes 325 damage.
Round 2: rishi sunak wins the fight!
You acquire an item: small box
After Battle: You gain 37 Muscleboundness
After Battle: You gain 15 Magicalness
After Battle: You gain 12 Sarcasm

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 0: rishi sunak wins initiative!

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1

Request 2 of 10 (Dungeon: The Dungeons of Doom) in progress...

[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak executes a macro!
KoLmafia declares world peace.
KoLmafia thinks it is round 2 but KoL thinks it is round 1

In the relay browser the following happened


[4533] The Dungeons of Doom
Encounter: acid blob
Round 1: rishi sunak attacks!
Round 2: acid blob takes 859 damage.
Round 2: Nadhim Zahawi's bells jingle merrily.
Round 2: Nadhim Zahawi climbs up and sits on your shoulder, and hands you some Meat. Huh, where did he find that?
You gain 74 Meat.
Round 2: rishi sunak wins the fight!
After Battle: You gain 33 Muscleboundness
After Battle: You gain 18 Wizardliness
After Battle: You gain 14 Smarm

This time it didn't empty the Holster tho.

Thanks, Rishi
 

Rishi Sunak

New member
Using a different machine today. Still on 27998. This one runs win11 as opposed to win10 for the report above. Still get the same error. Got a debug report however. The CCS is also attached.

Later: Mafia became completely non functional, being stuck in a closed loop. I closed & rebooted Mafia, which didn't work. I closed mafia, rebooted the laptop, upgraded to 28000 and restarted Mafia. I am now getting the message that I am too drunk to fight (19/19).
 

Attachments

  • DEBUG_20240712.txt
    765.9 KB · Views: 3
  • 2024-07-12 CCS .jpg
    2024-07-12 CCS .jpg
    187.8 KB · Views: 4
Last edited:

fronobulax

Developer
Staff member
I note the debug log has "Not in GZIP format" and what looks like a file read for the relay browser. That is something that should not be happening although it might not be related to your issue. I note you seem to be using TourGuide although I am not pointing any fingers.

"too drunk to fight (19/19)" might be a known but unresolved issue. IIRC sometimes mafia is not computing the liver capacity correctly for as yet unknown reasons.

When I was using the darts I had great difficulty with automation because sometimes using a dart resulted in a follow up choice to upgrade the darts skill and my settings and mafia did not always handle that well or cleanly. I'd be interested in knowing what happens if the Dart Holder is closeted and unavailable and the ccs adjusted so it is not referenced at all.

When you switch machines were both machines using the same settings and other files or were things recreated from a fresh install of mafia?
 

Rishi Sunak

New member
Sorry, I didn't see that you had replied. My apologies for the delay.

Guide I use occasionally-regularly at the end of the day to remind me about daily stuff I should have done. It's not permanently on. The darts are my first IoTM weapon so I use it intensively in ronin. I am still at a stage when I am doing the early rounds without automation, so the perks messages are not an issue, as yet.

The two machines were set up separately from fresh installs, the older machine first. They don't run all the same scripts, as experience from the first machine meant that I downloaded things differently. The preference setting in mafia were the same however and I also had the old combat form open in both for fights in the relay.

I have done a reinstall of both java & mafia since and the machine appears to be running without issues at the moment. There have been no instances of automation breaking down for two days now. CCS has been weapons only without any reference to the darts, as I was meat farming. I will start using the darts now and see if it makes any difference.

Thank you for your time.
 
Top