Bug - Cannot Reproduce Visiting hermit with closet permit causes purchase

Fluxxdog

Active member
When you attempt to get clovers from the hermit, you have a hermit permit in your closet, and autoSatisfyWithCloset = true, mafia buys one rather than pull the one from your closet.
 
Bumping to investigate farther. The code uses InventoryManager.retrieveItem( ItemPool.HERMIT_PERMIT ), which is "acquire", which should, therefore, understand the closet...
 
> inv hermit permit

hermit permit

> closet put hermit permit

Placing items into closet...
Requests complete.

> set autoSatisfyWithCloset=false

> acquire? hermit permit

hermit permit: buy from NPC

> set autoSatisfyWithCloset=true

autoSatisfyWithCloset => true

> acquire? hermit permit

hermit permit: uncloset

> acquire hermit permit

Removing items from closet...
You acquire an item: hermit permit
Requests complete.
Yeah.

You're going to have to show me, step by step, what you did to get the results you reported.
 
He did use the word clovers, but as I indicated, any automatic acquisition of a hermit permit when visiting the hermit LOOKS like it "acquires" it. Apparently I am missing something - and he can help, by telling me exactly how he visited the hermit that prompted getting a hermit permit via direct purchase from the NPC, rather than going through acquire. I don't see it in the code.
 
When you attempt to get clovers from the hermit, you have a hermit permit in your closet, and autoSatisfyWithCloset = true, mafia buys one rather than pull the one from your closet.
Six days ago, I asked you to "tell me exactly how [you] visited the hermit that prompted getting a hermit permit via direct purchase from the NPC, rather than going through acquire." Because, as of right now, this is a "Cannot Reproduce".

Unfortunately, so far, there has been no response.

> get autoSatisfyWithCloset

true

> closet put hermit permit

Placing items into closet...
Requests complete.

> hermit 4 clover

Visiting the Hermit...
Removing items from closet...
You acquire an item: hermit permit
Visiting the Hermit...
You acquire ten-leaf clover (4)
Using 4 ten-leaf clover...
You acquire disassembled clover (4)
Finished using 4 ten-leaf clover.
Hermit successfully looted!
Hermit successfully looted!
So, what did you do that resulted in KoLmafia BUYING a hermit permit?
 
Oh, sorry, I haven't been paying much attention. Busy everything. Um... Let's see... 11/24 I was in aftercore and PvP mode for Crimbo because nothing says "Holidays!" like getting into fights ^^ Thank heavens I didn't clean out my sessions. I found where it was visiting the hermit, but it wasn't showing info about the permit. My breakfast script doesn't get them directly, but it was mafia's breakfast that did the purchases since I had the option checked. Soooooo... tried it today and kept a close eye.
Code:
> set autoSatisfyWithCloset=true

autoSatisfyWithCloset => true

> closet put * hermit permit

Placing items into closet...
Requests complete.

...some other breakfast stuff later...

Visiting the Hermit...
Removing items from closet...
You acquire an item: hermit permit
Visiting the Hermit...
You acquire ten-leaf clover (4)
Using 4 ten-leaf clover...
You acquire disassembled clover (4)
Finished using 4 ten-leaf clover.
Hermit successfully looted!
Hermit successfully looted!
It didn't happen this time. I better not have had a friggin' glitch. If so, sorry to waste your time. The only thing that has me keeping from beating my head against the wall is I had multiple hermit permits when I filed that report, since my scripts closet them (they are PvP stealable), so they had to come from somewhere.
 
Back
Top