infinite level generation screen

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Gravierra
Low Yeek
Posts: 6
Joined: Fri Jul 31, 2015 5:17 pm

infinite level generation screen

#1 Post by Gravierra »

I transmogrify the loot and some loading starts. Then the message "wait while generating level" shows up and the blue line runs from side to side quickly forever. No error or anything shows. The only way to do something is to push CTR+ALT+del to turn off the game. Only a black screen with music comes when I try to load any char who was unlucky to stuck this way.
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 
PS: btw, can I somehow recover my chars lost this way?

Micbran
Sher'Tul
Posts: 1154
Joined: Sun Jun 15, 2014 12:19 am
Location: Yeehaw, pardner

Re: infinite level generation screen

#2 Post by Micbran »

Stuntofthelitter can probably fix your save games and your issue. Just gotta find him.

Edit: upon looking at the code, it might be your shaders. Corruptions/bone at line 183 might (I'm on my phone so the file doesn't load perfectly nor can I count lines) be the part where it initializes the shaders.
The boss on the 3rd lake of nur level uses bone shield, which used shaders for the effect.
A little bit of a starters guide written by yours truly here.

Gravierra
Low Yeek
Posts: 6
Joined: Fri Jul 31, 2015 5:17 pm

Re: infinite level generation screen

#3 Post by Gravierra »

Wow thx! I think I'll pm him about it..

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: infinite level generation screen

#4 Post by HousePet »

You don't need anyone to fix you save, but you need to disable or turn down the shader options.
My feedback meter decays into coding. Give me feedback and I make mods.

Gravierra
Low Yeek
Posts: 6
Joined: Fri Jul 31, 2015 5:17 pm

Re: infinite level generation screen

#5 Post by Gravierra »

Yes, disabling all shaders in game's video options helped. tested today entering sher'tul fortress - works fine! Thanks!

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: infinite level generation screen

#6 Post by Crim, The Red Thunder »

If you want some of them back, you can try one at a timer to figure out which one is borking with bone shield's shader, and leave it off, with the others re-enabled should you desire.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Post Reply