This bug shows up quite often to me both in adventure-story and in endless dungeon games. I spent some time googling and found that the most common reason for that is some addons. But I didn't install any of them so I don't think I have them (there are no any in the standard game after installation, right?). Also, I reinstalled newer versions of ToME engine few times - it didn't solve the problem.
I need to mention separately that it always happens when entering the last (as I understand) level of an underwater fortress - must be Sher'Tul fortress. I entered there with different chars once or twice on one of the previous versions of ToME engines, but after some update this "wait while generating level" message comes up always (I think I tried 4 times with different chars - they all are lost in nowhere now)
And it started few times when I entered some "tunnels" while walking on the main map. I don't know what those tunnels are, but they appear randomly with the message popping up after... 24 lvl, I think. I just started to choose "leave tunnels" option now and I don't enter underwater fortress ever

And of course after a dozen of unlucky tries I started to collect lua errors:
Code: Select all
(61) : error C5118: variable "intersections" type conflicts with semantics "__LOCAL"
stack traceback:
[C]: in function 'error'
/engine/interface/ActorTalents.lua:248: in function </engine/interface/ActorTalents.lua:232>
Lua Error: /engine/interface/ActorTalents.lua:271: /engine/interface/ActorTalents.lua:248: /data/talents/corruptions/bone.lua:183: attempt to index field 'shad' (a nil value)
At [C]:-1
At [C]:-1 error
At /engine/interface/ActorTalents.lua:271 useTalent
At /mod/resolvers.lua:598 check
At /engine/Zone.lua:716 addEntity
At /mod/class/generator/actor/Random.lua:53 generateOne
At /engine/generator/actor/Random.lua:125 regenFrom
At /engine/generator/actor/Random.lua:47 generate
At /engine/Zone.lua:1006 newLevel
At /engine/Zone.lua:896 getLevel
At /mod/class/Game.lua:928 changeLevelReal
At /mod/class/Game.lua:807 changeLevel
At /data/general/encounters/maj-eyal.lua:84 fct
At /engine/ui/Dialog.lua:133 fct
At /engine/ui/Button.lua:64
At /engine/KeyBind.lua:229 receiveKey
At /engine/ui/Dialog.lua:610 keyEvent
At /engine/ui/Dialog.lua:345
Code: Select all
(61) : error C5118: variable "intersections" type conflicts with semantics "__LOCAL"
stack traceback:
[C]: in function 'error'
/engine/interface/ActorTalents.lua:248: in function </engine/interface/ActorTalents.lua:232>
Lua Error: /engine/interface/ActorTalents.lua:271: /engine/interface/ActorTalents.lua:248: /data/talents/corruptions/bone.lua:183: attempt to index field 'shad' (a nil value)
At [C]:-1
At [C]:-1 error
At /engine/interface/ActorTalents.lua:271 useTalent
At /mod/resolvers.lua:598 check
At /engine/Zone.lua:716 addEntity
At /engine/Zone.lua:994 newLevel
At /engine/Zone.lua:896 getLevel
At /mod/class/Game.lua:928 changeLevelReal
At /mod/class/Game.lua:799 unload
At /engine/Game.lua:379 unregisterDialog
At /mod/dialogs/ShowEquipInven.lua:177
At /engine/KeyBind.lua:229 receiveKey
At /engine/ui/Dialog.lua:611 keyEvent
At /engine/ui/Dialog.lua:345