Crash with shifting dungeons
issueid=4397 08-17-2016 02:46 PM
The Creator
Number of reported issues by adom-admin: 499
Crash with shifting dungeons

Originally reported on Steam: http://steamcommunity.com/app/333300...2383122205028/

The NotEye Script for ADOM crashes w/ message:

NotEye crash error report
error: did not yield [games/adom-vfx.noe:79: attempt to index global 'choicearr' (a nil value)] 2

This occurs on floors where sections of the dungeon shifts positions, making the floor largely unplayable. For reference, I am playing the current beta r67, using ascii mode.
Issue Details
Issue Number 4397
Project ADOM (Ancient Domains Of Mystery)
Category All with NotEye
Status Fixed
Priority 1 - Highest
Affected Version ADOM r68 (v2.2.2)
Fixed Version ADOM r69 (v2.2.3)
Milestone Potential work pipeline
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users Zeno
Tags (none)




08-18-2016 12:03 PM
The Creator
I'm not sure if the problem could be related to http://www.adom.de/forums/project.php?issueid=4404 but it might be worth noting. If it is related invalid coordinates (for the y range) would be used, usually by far exceeding the map height.

08-19-2016 12:47 PM
Ancient Member
Indeed, invalid coordinates provided by ADOM could cause a crash here. I have added some sanity checks, and I hope that the source of the problem is fixed.

08-28-2016 12:21 PM
The Creator
I'll mark this as fixed for now.

08-31-2016 08:50 AM
Ancient Member
In r68 NotEye crashes every single time I see the dungeon shift
Code:
NotEye crash error report
error: did not yield [games/adom-vfx.noe:90: attempt to index global 'choicearr' (a nil value)] 2
EDIT: Seems like the issue goes away once I leave the level and return.

09-02-2016 08:33 PM
jt jt is offline
Administrator
We couldn't reproduce the problem, but Zeno made the code more robust. This should not happen anymore with R69.

+ Reply