Scrolls of item destruction can freeze the game
issueid=744 02-15-2012 07:55 PM
Ancient Member
Number of reported issues by anon123: 111
Scrolls of item destruction can freeze the game
Having enough stacks of scrolls of item destruction as your sole inventory and reading one will crash the game.

Problem
If the PC has 5 different stacks of scrolls of item destruction as his/her sole inventory, and attempts to 'r'ead any of them, that will freeze the game.

How to reproduce it
Take the following PC as an example.
Code:
----------------------------------------------------------------------------
                                  Inventory
----------------------------------------------------------------------------
Total weight: 10 stones                Carrying capacity: 1000 stones

Head          : -
Neck          : -
Body          : -
Girdle        : -
Cloak         : -
Right Hand    : -
Left Hand     : -
Right Ring    : -
Left Ring     : -
Bracers       : -
Gauntlets     : -
Boots         : -
Missile weapon: -
Missiles      : -
Tool          : -


----------------------------------------------------------------------------
                                    Stuff
----------------------------------------------------------------------------

Total weight: 10 stones   Carrying capacity: 1000 stones

Scrolls ('?')
   uncursed scroll of item destruction                                 [2s]
   blessed scroll of item destruction                                  [2s]
   cursed scroll of item destruction                                   [2s]
   scroll of item destruction                                          [2s]
   scroll of item destruction                                          [2s]
If he attempts to read any of the scrolls, the game will freeze and use 100% CPU.

Notes
Assumedly, scrolls of item destruction demand that the PC owns at least 4 items, and their effect cannot destroy other scrolls of their same type. When the other four items are also SoIDs, the game enters an infinite loop. This is similar to the "dipping gold in PoEX bug" on that regard.
Issue Details
Issue Number 744
Project ADOM (Ancient Domains Of Mystery)
Category Windows NT
Status Fixed
Priority 7
Affected Version ADOM 1.1.1
Fixed Version ADOM 1.2.0 pre 1
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




03-17-2012 03:58 PM
jt jt is offline
Administrator
Fixed for 1.2.0

+ Reply