Page 1 of 1

1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Sat May 05, 2018 3:02 am
by Knorrkator
Semi-Freeze bug when trying to change a level. Happens randomly on any dungeons.

Lua Error: /mod/resolvers.lua:586: attempt to get length of local 'r' (a nil value)
At [C]:-1 __len
At /mod/resolvers.lua:586
At /engine/Entity.lua:744 resolve
At /engine/Object.lua:44 resolve
At /engine/Zone.lua:574 finishEntity
At /engine/Zone.lua:417 makeEntity
At /engine/generator/object/Random.lua:46 generateOne
At /engine/generator/object/Random.lua:62 regenFrom
At /engine/generator/object/Random.lua:40 generate
At /engine/Zone.lua:1060 newLevel
At /engine/Zone.lua:919 getLevel
At /mod/class/Game.lua:1119 changeLevelReal
At /mod/class/Game.lua:910 unload
At /engine/Game.lua:430 unregisterDialog
At /mod/dialogs/ShowEquipInven.lua:179
At /engine/KeyBind.lua:264 triggerVirtual
At /engine/ui/Dialog.lua:483 fct
At /engine/Mouse.lua:58

Re: 1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Sat May 05, 2018 1:17 pm
by darkgod
That's super strange, are you using any non official addons ?

Re: 1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Sun May 06, 2018 2:40 am
by Knorrkator
I run Zomnibus, Infinite500 and 2 Bladed Swords, thats it.

This ones from the Infinite Dungeon:

Lua Error: /mod/resolvers.lua:586: attempt to get length of local 'r' (a nil value)
At [C]:-1 __len
At /mod/resolvers.lua:586
At /engine/Entity.lua:744 resolve
At /engine/Object.lua:44 resolve
At /engine/Zone.lua:574 finishEntity
At /engine/Zone.lua:417 makeEntity
At /engine/generator/map/Static.lua:639 generate
At /data/rooms/greater_vault.lua:74 room
At /engine/generator/map/RoomsLoader.lua:598 roomGen
At /engine/generator/map/RoomsLoader.lua:691 roomAlloc
At /engine/generator/map/Roomer.lua:194 generate
At /engine/Zone.lua:1006 newLevel
At /engine/Zone.lua:919 getLevel
At /mod/class/Game.lua:1119 changeLevelReal
At /mod/class/Game.lua:918 base_changeLevel
At /mod/addons/zomnibus/superload/mod/class/Game.lua:104 changeLevel
At /mod/class/Game.lua:285 at_end
At /mod/dialogs/Birther.lua:353 fct
At /mod/dialogs/Birther.lua:214 checkfct
At /mod/dialogs/Birther.lua:238 checkNew
At /mod/dialogs/Birther.lua:288 atEnd
At /mod/dialogs/Birther.lua:77 fct
At /engine/ui/Button.lua:63 fct
At /engine/Mouse.lua:58 receiveMouse
At /engine/Mouse.lua:98 delegate
At /engine/ui/Dialog.lua:765 mouseEvent
At /engine/ui/Dialog.lua:485 fct
At /engine/Mouse.lua:58

Re: 1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Sun May 06, 2018 9:08 am
by darkgod
I've added code to 1.5.9 to prevent that but this has to be an addon making it explode as the code in question *really* looks fine.

Actually, can you try playing without any of those addons and see if it happens again please ?

Re: 1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Sun May 06, 2018 9:30 am
by Knorrkator
I had this once in 1.5.7 but not thereonafter, happened in 1.5.8 now.

I tested a bit more and am almost convinced that it is zomnibus. Running smoothly right now after turning it off, thank you for looking into it.

Re: 1.5.8 Infinite Loop Loading Bug "Generating Level"

Posted: Thu May 17, 2018 9:13 pm
by Valorous
This is happening to me on pretty much every character I play now. It usually kicks in right around Dreadfell, and is really annoying because it kills my run (when I force quit through task manager and try to load the game, I can't move).

Is there any way to salvage a character after this happens?

The only addon I'm using is opt-in adventurers.

EDIT: After updating to 1.5.9 it seems to have stopped occurring. Thanks!