fiendish / aardwolfclientpackage

Get the Aardwolf MUSHclient Package installer at
https://fiendish.github.io/aardwolfclientpackage/
Other
86 stars 33 forks source link

keyring data not available when sleeping (inventory-serials) #312

Closed jedineeper closed 1 year ago

jedineeper commented 1 year ago

If you call "inventory" whilst sleeping there is a failed attempt to call keyring data due to the characters state. This results in the keyring returning empty in the display.

There is a blocked_by_status call in the function here but it allows it to pass whilst sleeping despite it not being possible ingame? (state 9 if I read the code correctly?)

Not sure if this is something that should be fixed here or posted to bugs to ask for keyring data to be permitted whilst asleep?

Thanks, Neeper

<prompt> i

You entered: keyring data
You dream about being able to keyring.

You entered: invdata
You are carrying:
*snipped for brevity*
( 2) (K)(M)(G)(H) a Bag of Aardwolf  [123,435]  (201)
( 0) ** Items on Keyring (0 unique) **

<prompt>

version: 2252

fiendish commented 1 year ago

lol, nice catch

fiendish commented 1 year ago

IMO this is a game bug. Keyring and vault data should be accessible while sleeping the same way that invdata is. Not sure if I want to work around it or just wait for Lasher to address it.

fiendish commented 1 year ago

May as well, I guess. Workaround added in https://github.com/fiendish/aardwolfclientpackage/commit/5c2928554d579854fc000be1e14bc47b224c93f8

This should do the right thing after it gets fixed in the game too.