Bug - Won't Fix Gremlin Incorrect

bumcheekcity

Active member
You're fighting an A.M.C. gremlin
HP: 77, Atk: 231, Def: 227
Drops: gremlin juice (3), molybdenum pliers (0)

The AMC Gremlin doesn't drop the moly pliers. Nor does it have 77HP. I can't think why this would in any way have been changed.
 
Last edited by a moderator:

NardoLoopa

Member
Yes, data from the wrong monster happened to me once yesterday in the Castle. The data was from the last monster I battled. I believe mafia gCLI said it thought it was round 6 when it was round 1.

Code:
[489] Giant's Castle
Encounter: Procrastination Giant
Round 0: NardoLoopa wins initiative!
Round 1: NardoLoopa executes a macro!
Round 1: NardoLoopa casts ENTANGLING NOODLES!
Round 2: NardoLoopa casts SHIELDBUTT!
Round 3: procrastination giant takes 75 damage.
Round 3: procrastination giant takes 12 damage.
Round 3: NardoLoopa casts SHIELDBUTT!
Round 4: procrastination giant takes 56 damage.
You acquire an effect: Cunctatitis (duration: 5 Adventures)
Round 4: procrastination giant takes 12 damage.
You lose 47 hit points
Round 4: NardoLoopa casts SHIELDBUTT!
You lose 46 hit points
You lose an effect: Beaten Up

Visiting Relaxing Hot Tub in clan VIP lounge
You lose an effect: Cunctatitis
You gain 79 hit points

[490] Giant's Castle
Round 6: NardoLoopa executes a macro!
Round 6: NardoLoopa casts ENTANGLING NOODLES!
Round 7: NardoLoopa casts SHIELDBUTT!
Round 8: procrastination giant takes 63 damage.
Round 8: procrastination giant takes 13 damage.
Round 8: NardoLoopa casts SHIELDBUTT!
Round 9: procrastination giant takes 56 damage.
Round 9: procrastination giant takes 17 damage.
You lose 50 hit points
Round 9: NardoLoopa casts SHIELDBUTT!
Round 10: procrastination giant takes 59 damage.
Round 10: procrastination giant takes 22 damage.
Round 10: Goose quacks loudly, and a bolt of enriched wheat energy tears through your opponent for 42 damage, then arcs toward you, energizing your nervous system.
Round 10: procrastination giant takes 42 damage.
You gain 42 Mana Points
You gain 192 Meat
You acquire an item: Warm Subject gift certificate
You gain 15 Strongness
You gain 21 Wizardliness
You gain 8 Chutzpah

Looks like it didn't realize I lost the previous fight for some reason.
 

jasonharper

Developer
I'm not having any luck in reproducing this problem. If someone could manage to capture a debug log of two successive combats, with the round number not resetting for the second combat, that would be a huge help.
 

NardoLoopa

Member
This is from the same day, but I can't be sure this correlates to the occurrence above. I believe it does, but no way for me to check.
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
            KoLmafia r8406, Windows XP, Java 1.6.0_20
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the dev team to look at it, please write a bug report
 at kolmafia.us. Include specific information about what you were
 doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Fri Apr 30 11:10:06 EDT 2010
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
        at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3374)
        at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
        at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
        at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
        at net.sourceforge.kolmafia.request.FightRequest.processNormalResults(FightRequest.java:3190)
        at net.sourceforge.kolmafia.request.FightRequest.updateCombatData(FightRequest.java:1652)
        at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:1764)
        at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1723)
        at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1418)
        at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1156)
        at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1047)
        at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:1742)
        at net.sourceforge.kolmafia.LocalRelayAgent.readServerResponse(LocalRelayAgent.java:420)
        at net.sourceforge.kolmafia.LocalRelayAgent.performRelay(LocalRelayAgent.java:132)
        at net.sourceforge.kolmafia.LocalRelayAgent.run(LocalRelayAgent.java:109)
 

NardoLoopa

Member
Okay, this just happened:

Code:
[1054] Black Forest
Encounter: black adder
Strategy: /media/usb0/kol/ccs/default.ccs [default]
Round 0: NardoLoopa wins initiative!
Round 0: NardoLoopa attacks!
Round 1: Lindy produces a tubular red firecracker labeled M-56, lights the long fuse, and tosses it behind your opponent.
Round 1: black adder takes 46 damage.
You lose 14 hit points
You acquire an effect: Really Quite Poisoned (duration: 5 Adventures)
Round 1: NardoLoopa attacks!
You lose 45 hit points
Round 2: NardoLoopa attacks!
You lose 6 hit points
You lose 43 hit points
Round 3: NardoLoopa attacks!
Round 4: black adder takes 56 damage.
You lose 43 hit points
You lose an effect: Beaten Up
Unexpected error, debug log printed.
Round 4: NardoLoopa attacks!

Debug:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
               KoLmafia r8412, Linux, Java 1.6.0_20
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the dev team to look at it, please write a bug report
 at kolmafia.us. Include specific information about what you were 
 doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Sun May 02 02:40:11 EDT 2010
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3374)
	at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
	at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
	at net.sourceforge.kolmafia.request.FightRequest.processNode(FightRequest.java:3645)
	at net.sourceforge.kolmafia.request.FightRequest.processNormalResults(FightRequest.java:3190)
	at net.sourceforge.kolmafia.request.FightRequest.updateCombatData(FightRequest.java:1652)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:1764)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1723)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1418)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1156)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1047)
	at net.sourceforge.kolmafia.request.FightRequest.runOnce(FightRequest.java:1105)
	at net.sourceforge.kolmafia.request.FightRequest.run(FightRequest.java:1122)
	at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:1592)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1440)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1156)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1047)
	at net.sourceforge.kolmafia.request.AdventureRequest.run(AdventureRequest.java:208)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:73)
	at net.sourceforge.kolmafia.KoLAdventure.run(KoLAdventure.java:918)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:103)
	at net.sourceforge.kolmafia.KoLmafia.executeAdventureOnce(KoLmafia.java:1431)
	at net.sourceforge.kolmafia.KoLmafia.executeRequestOnce(KoLmafia.java:1449)
	at net.sourceforge.kolmafia.KoLmafia.executeRequest(KoLmafia.java:1321)
	at net.sourceforge.kolmafia.KoLmafia.makeRequest(KoLmafia.java:1206)
	at net.sourceforge.kolmafia.textui.command.AdventureCommand.run(AdventureCommand.java:103)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:527)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:401)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:191)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:172)
 

lidden

Member
I do not know if it is related, but I have had mafia show the old monsters stats on the adventure after my baby bug CLEESHed a monster.
 

jasonharper

Developer
r8413 fixes a problem with parsing effect loss during combat; this should handle the cases where a personal massager removed Beaten Up after a lost combat. It might also explain the report involving NS form 2, although it's less obvious how effect loss at the start of form 1 could have caused a problem that far removed.
 

yueli7

Member
the booty crab started with 34 HP just now and died -50 or so r8417

[796] Fantasy Airship
Encounter: Spunky Princess
Round 0: otbeelf loses initiative!
Round 0: otbeelf attacks!
You lose 8 hit points
Round 1: otbeelf attacks!
You gain 75 Meat.
Round 2: otbeelf attacks!
After Battle: unspecified macro action?
You gain 251 Meat
You gain 4 Strongness
You gain 14 Enchantedness
You gain 8 Cheek

[797] Fantasy Airship
Encounter: F-F-Fantastic!
You acquire an item: S.O.C.K.
You acquire an item: giant castle map
05/06/10 03:20 AM - Using 1 Cap'm Caronch's Map.
Changing auto-attack: disabled

[798] Cap'm Caronch's Map
Encounter: booty crab
Round 0: otbeelf loses initiative!
Round 1: otbeelf casts ENTANGLING NOODLES!
Round 2: otbeelf attacks!
Round 3: otbeelf attacks!
Round 4: otbeelf attacks!
Round 5: otbeelf attacks!
You gain 364 Meat
You acquire an item: Cap'm Caronch's nasty booty
You gain 7 Beefiness
You gain 15 Wizardliness
You gain 14 Chutzpah
 

NardoLoopa

Member
After a massive lag-spike that hung at the end of combat:

Code:
Round 9: the big wisniewski takes 38 damage.
You gain 38 Mana Points
You lose 23 hit points
Round 9: NardoLoopa casts SHIELDBUTT!
Round 10: the big wisniewski takes 105 damage.
Round 10: the big wisniewski takes 30 damage.
You lose 22 hit points
Round 10: NardoLoopa casts SHIELDBUTT!
Round 11: the big wisniewski takes 106 damage.
Round 11: the big wisniewski takes 21 damage.
You lose 21 hit points
Round 11: NardoLoopa casts SHIELDBUTT!
KoLmafia declares world peace.
KoLmafia declares world peace.
KoLmafia declares world peace.
KoLmafia declares world peace.
You acquire an item: Nickel Gamma of Frugality
Retrieving character data...
Requests complete.

> use 1 dis clov

Using 1 disassembled clover...
You acquire an item: ten-leaf clover
Finished using 1 disassembled clover.

[978] Haunted Bathroom
Encounter: That's a Tidy Bowl, Man!
You gain 283 Mysteriousness

and after doing a lot of other things that weren't fights I hit the Top Golems:

Code:
[983] Sorceress' Hedge Maze
KoLmafia thinks it is round 12 but KoL thinks it is round 1
You lose 18 hit points
Round 12: NardoLoopa executes a macro!
Round 12: NardoLoopa casts ENTANGLING NOODLES!
KoLmafia thinks it is round 13 but KoL thinks it is round 2
Round 13: NardoLoopa casts SHIELDBUTT!
Round 14: the big wisniewski takes 88 damage.

So, the internal fight code should probably reset itself if you do any non-fight stuff when Mafia thinks you're in a fight.
 
Top