Bug - Cannot Reproduce KoLmafia relay browser freezes when entering choice adventures

DKMZ

New member
These past few days entering certain choice adventures is making KoLmafia unusable, needing to be restarted before I can continue adventuring. Stuff like getting stuck in the deck of every card options, or entering the witchess set or source terminals. I don't know how to replicate it other than occasionally it just giving up entirely. I am using 18349, so its a recent version. Something like this happens. It just seems to get stuck when encountering noncombats in particular. Error logs are attached.


Example of the issue:
use 1 Deck of Every Card

[1022] Deck of Every Card
play Knife (56)
Encounter: Knife
You acquire an item: knife

equip weapon knife

use 1 Deck of Every Card

[1022] Deck of Every Card
play Rope (53)

(freeze, opening new relay browsers or refreshing sessions do not help)
 

Attachments

  • DEBUG_20171229.txt
    2.2 KB · Views: 35
  • DEBUG_20171228.txt
    13 KB · Views: 33
  • DEBUG_20171227.txt
    8.8 KB · Views: 29

lostcalpolydude

Developer
Staff member
Those debug logs mostly point to
Code:
int whiteCount = CreateItemRequest.getInstance( ItemPool.WHITE_PIXEL ).getQuantityPossible() + InventoryManager.getCount( ItemPool.WHITE_PIXEL );
The only way that can generate a NPE is if CreateItemRequest.getInstance( ItemPool.WHITE_PIXEL ) is somehow null, but that looks impossible...

I also wouldn't expect anything in the debug logs to be related to freezing in choice adventures.
 
Top