elimelec / inethack

Automatically exported from code.google.com/p/inethack
GNU General Public License v2.0
0 stars 0 forks source link

Store inventory not retained properly on program exit when in the middle of a transaction #179

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There are two issues, likely related.

What steps will reproduce the problem?
1. Enter into a store and drop an item from your inventory
2. When dialog box opens asking if you would like to sell or not, click the 
home button to exit to the desktop.
3. reopen inethack

What is the expected output? I would expect to see the dialog box still open, 
or the item on the ground, able to picked up again without penalty.

What do you see instead? The item has become store inventory. The shop keeper 
tries to sell it back to me as if it had "slipped from my hands" after eating 
greasy tinned meat.

What steps will reproduce the problem?
1. Enter into a store and position yourself over a pile of several items.
2. Press ',' and select one or more items to pick up. Do not click back to the 
dungeon, but leave the items checked.
2. Click the home button on the phone to exit inethack to the iOS desktop.
3. reopen inethack.

What is the expected output? I would expect the screen to be as it was, all the 
items to still be available for purchase, or in my inventory as unpaid.

What do you see instead? The top-most item from the list of checked items no 
longer exists. It is missing from both the floor of the store and my unpaid 
inventory. The remaining items are on the floor.

What version of the product are you using? 1.3
On what operating system? iOS 7.0.4 (11B554a)

Please provide any additional information below.

Original issue reported on code.google.com by knowac...@uwalumni.com on 3 Jan 2014 at 9:20

GoogleCodeExporter commented 8 years ago
In the case where the items are "destroyed"...you still owe the shopkeeper for 
the items despite the fact that they are not in your inventory.

Original comment by knowac...@uwalumni.com on 3 Jan 2014 at 9:36

GoogleCodeExporter commented 8 years ago
When dropping money, pressing p to pay and itemizing the bill, an error message 
is presented:
"Shopkeeper administration out of order. Program in disorder - perhaps you'd 
better #quit"

Pressing the home button and reopening allows you to leave the store.

Original comment by knowac...@uwalumni.com on 3 Jan 2014 at 9:42