Bug - Fixed bug report

turtlebomb13

New member
after downloading 8326.jar i received this bug report. so far the island area is unavailable and my equipment is blank. thanx for any help!

-Turtle
 

Attachments

  • DEBUG_20100323.txt
    23.7 KB · Views: 85

Veracity

Developer
Staff member
You have a funky AdventureResult in your inventory with a null name. I can see how that could happen if the ItemDatabase was able to translate from name to itemId but was NOT able to translate that same itemId back into a name. I can't see how that could happen.

I've added some defensive coding:
- Rather than putting in a null name, print a message to the gCLI and leave the original name
- When comparing AdventureResults, do not throw an exception if the name is null.

The first is an attempt to find the root cause of this issue.
The second should prevent KoLmafia from failing to read your inventory.

Revision 8327 contains this. I'd appreciate it if you would download this version and give it a try. Tell me here if it works for you and, especially, if the gCLI contains lines that say "Item database error ...", put them here too. Thanks.
 
Top