![]() |
#1 |
Apprentice
Join Date: Feb 2009
Posts: 61
![]() |
npp floor interaction bug
Is anyone else having trouble interacting with items on the floor? When my inventory is mostly empty, I rarely have problems. However, once I start getting above around 12 items in my inventory, I start having the following problem:
When I try to Identify an item on the floor, the game crashes. When I try to pick up an item with the g command, the game crashes. I can avoid this problem if I pick up items automatically or with the 5 command, and then identify them from my inventory. This crash happens irregardless of what graphics I am using, and also whether or not I am enabling the drop down menus (interface options). It could just be an artifact of my old computer. Also, giant white rats come up brown with the new tile set ![]() |
![]() |
![]() |
![]() |
#2 | |
Adept
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
![]() |
Quote:
port:gcu options: autopickup off, prompt beforeusing floor items = yes, prompt before picking things up = yes. inventory slots a-l not empty; the moment I picked up the 'm'-slot object (iron spikes), the screen bocome black, only the @ and the cursor are visible, but the game is not hung, because it responds to the movement, inventory, equipment, options, run commands and probably others. refreshing the screen doesn't help I cannot confirm the identify issue because I have no id scrolls at the moment. edit: saving and reloading fixes the display |
|
![]() |
![]() |
![]() |
#3 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Thanks, I will try to re-create this. Just curious what version you downloaded, and at what time it was downloaded. I have been uploading fixes to github, and I uploaded one this morning regarding item selection that, now that I think about it, could possibly result in crashes in the situation you describe below (picking up items off the floor, identifying items). If by chance you come across this bug shortly after saving an item, please send me the savefile.
@old coach - I think I know what is happening in your situation. I should be able to put out a fix when I get home from work. The reason the game is crashing is because in certain circumstances the game returns the slot of an item on the floor as negative, and it has to be changed to a positive before accessing the object information in the object table. I recently tied the floor pickup menu to the new ui menu, and I think I know where the signs might be mixed up in the code that handles object pickup.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
![]() |
Fixed on my end. Thanks.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012. My banding life on Buzzkill's ladder. |
![]() |
![]() |
![]() |
#5 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Green floor tiles | Raggy | Vanilla | 12 | June 20, 2011 16:02 |
NPP crash bug under Visual C++ debug compile | Antoine | Development | 13 | February 19, 2011 23:18 |
trappers vs floor | ChodTheWacko | Vanilla | 8 | December 20, 2010 18:14 |
3.1.0 beta - minor bug? - green lit floor tiles in prelit rooms | vorondil | Vanilla | 2 | January 8, 2009 19:12 |
NPP 0.5.0 Beta 4 Bug???? | Rizwan | Variants | 2 | February 6, 2008 13:44 |