[b42] Caldera dream triggers game-ending bug.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

[b42] Caldera dream triggers game-ending bug.

#1 Post by SageAcrin »

First dream worked fine, was puttering around with my Yeek Summoner just fine, got neat mouse dream.

Second one saves to a black screen, hangs indefinitely, and all load attempts hang indefinitely.

[SHADER] Loading from /data/gfx/shaders/funky_bubbles.lua
Lua Error: /engine/Shader.lua:123: attempt to index local 'shad' (a nil value)
At [C]:-1 __index
At /engine/Shader.lua:123 createProgram
At /engine/Shader.lua:139 loaded
At /engine/class.lua:325 load
At /engine/Savefile.lua:384 loadObject
At [string "d={}..."]:351 deserialize
At /engine/class.lua:316 load
At /engine/Savefile.lua:384 loadObject
At [string "d={}..."]:354 deserialize
At /engine/class.lua:316 load
At /engine/Savefile.lua:384 loadReal
At /engine/Savefile.lua:452 loadGame
At /engine/Module.lua:627 instanciate
At /engine/utils.lua:1843 showMainMenu
At /engine/init.lua:124
At [C]:-1 dofile
At /loader/init.lua:183

Here's the error I dug out of the log, when I try to load it. If it helps, I have to run with OpenGL Shaders off, because my computer is not very good. :|

goldjas
Posts: 4
Joined: Fri Mar 02, 2012 4:56 am

Re: [b42] Caldera dream triggers game-ending bug.

#2 Post by goldjas »

I'm not sure what a "dream" is but I got the same thing when I tried to enter a new area on the map called "Volcano Caldera" which I assume is what your referring to.

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: [b42] Caldera dream triggers game-ending bug.

#3 Post by Planetus »

I reached the second screen of Caldera and was pulled into a dream where I had to 'find my wife'. Whether I win it or die in it, the load screen stops at 54%. I couldn't take an in-game screenshot with the frozen loading screen, but I took a Windows screenshot. I had to edit it down substantially to get it small enough to upload here, but presented are the variables I consider significant. I'm not sure how the text in the bottom left got messed up, but it was because of the image editing, not the original screenshot. If it's important, I was playing as a yeek paradox mage.
Attachments
Dreamscape Bug.png
Dreamscape Bug.png (252.03 KiB) Viewed 5440 times

SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

Re: [b42] Caldera dream triggers game-ending bug.

#4 Post by SageAcrin »

Okay, I got DarkGod to unstick my game, and made the SVN fix to the bug into a simple addon for myself, with which I completed the Caldera.

So I attached it to this. (There's a teaa in the zip. Yes, that's technically a zip within a zip, but it's easier to uncompress a zip file and put an addon into the folder than it is to change the extension.)

I'm not sure if it'll unstick you from it if you're already in the middle of the problem, though, since I was unstuck first.

I'd just upload this onto site, but for some strange reason, I'm having problems getting any addon to automatically display-they all require me to hit Show Incompatible for some reason, so I don't know if it's showing up properly or if there's something odd about my copy for some reason(Had people both come up fine with plugins I was having trouble with and not, when I was asking about it, so it's not just my problem I guess...). As such, anyone that uses this may need to hit Show Incompatible to get it to show up, too.
Attachments
tome-calderafix.zip
(4.52 KiB) Downloaded 388 times

bloth
Wayist
Posts: 17
Joined: Tue Nov 22, 2011 6:40 pm

Re: [b42] Caldera dream triggers game-ending bug.

#5 Post by bloth »

Sage, I had the exact same bug as you. Thanks for making the fix! Unfortunately it does not get my character unstuck.

ho hum
Yeek
Posts: 13
Joined: Fri May 04, 2012 10:03 pm

Re: [b42] Caldera dream triggers game-ending bug.

#6 Post by ho hum »

Tried the fix. Came up as "noncompatible" addon. Did not fix char's load screen from freezing.

SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

Re: [b42] Caldera dream triggers game-ending bug.

#7 Post by SageAcrin »

Ah, well, sorry. :| It was worth a shot, since it worked on my unstuck character, but I guess once the problem's happened you're stuck.

Turning on OpenGL Shaders should fix the problem, but if you're like me and have a computer that's not realistically capable of doing that...

XLambda
Wyrmic
Posts: 237
Joined: Wed Jan 25, 2012 5:39 pm

Re: [b42] Caldera dream triggers game-ending bug.

#8 Post by XLambda »

SageAcrin wrote: Turning on OpenGL Shaders should fix the problem, but if you're like me and have a computer that's not realistically capable of doing that...
So playing the game with shaders on should keep the game from crashing in this situation? Good to know. :)

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: [b42] Caldera dream triggers game-ending bug.

#9 Post by Planetus »

It may keep the game from crashing under some bugs, but it won't help me with my loading screen. I was running with shaders on already. If I try to load the game with them off (just in case, you know), it won't load the save file at all (which was auto-saved on entrance to the dream). Apparently dreams require shaders on.

Robsoie
Wyrmic
Posts: 256
Joined: Sat Sep 24, 2011 12:15 am

Re: [b42] Caldera dream triggers game-ending bug.

#10 Post by Robsoie »

Certainly related to what i just experienced
I ran into that Volcano Caldera location for the first time (it's been several versions of ToME4 i didn't played) and once i enter, the location load, the game autosave , but from there the interface disappear, there's only the visual tiles and the game is completely frozen (the music is the only thing still working).

Good that i back up my saves (from ToME4 crash past experience) before entering any new location, because due to the game autosave and it's impossible to load the save that occur at this freeze, it would just have killed the character i was running.

in the log there is :

Code: Select all

Lua Error: /engine/Shader.lua:160: attempt to index field 'shad' (a nil value)
	At [C]:-1 __index
	At /engine/Shader.lua:160 setUniform
	At /mod/class/GameState.lua:648 displayWeatherShader
	At /mod/class/Game.lua:1111 displayMap
	At /mod/class/uiset/Minimalist.lua:1764 display
	At /mod/class/Game.lua:1156 
that is repeated a -very- lot of time.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b42] Caldera dream triggers game-ending bug.

#11 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

CDisciple
Posts: 2
Joined: Sun Nov 11, 2012 8:13 am

Re: [b42] Caldera dream triggers game-ending bug.

#12 Post by CDisciple »

I ran into exactly the same problem today as described by Robsoie, though I unfortunately don't have backup saves.

EDIT:However, turning OpenGL shaders on solved the problem.

Predawn
Thalore
Posts: 127
Joined: Fri Sep 24, 2010 10:40 am
Location: East Sussex, England

Re: [b42] Caldera dream triggers game-ending bug.

#13 Post by Predawn »

Bumping this topic as I have fallen victim to a game-ending bug at the Caldera dream. My main character was in a fight and was caught up in a maelstrom when the timer elapsed, and I had to find my Lost Wife. No problem finding and beating the Lost Wife, but infinite Lua Errors occur when I return to my main character in the maelstrom. Partial error log inlined.

Code: Select all

Lua Error: /data/talents/psionic/distortion.lua:225: attempt to call global 'DistortionCount' (a nil value)
	At [C]:-1 DistortionCount
	At /data/talents/psionic/distortion.lua:225 act
	At /engine/GameEnergyBased.lua:126 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:1054 
 ----------------  Stack Dump ----------------
2: table // 3105e18
1: table // 3105e18
--------------- Stack Dump Finished ---------------
[PULL] from	23	23	towards	23	46	over	1
[PULL] try	nil	nil	0
[LOG]	Eat my Vines is pulled in by the maelstrom!
[PROJECTOR] starting dam	26.147287039412
[PROJECTOR] after difficulty dam	26.147287039412
[PROJECTOR] res	3	0.97	 on dam	29.546434354536
[PROJECTOR] after resists dam	28.660041323899
[PROJECTOR] after flat damage armor	28.660041323899
[PROJECTOR] final dam	28.660041323899
This error is repeated many times, with Lua Error dialog boxes opening up so fast that they kill the game.
Game details:
ToME 1.0.4
Character is a Dwarf Stone Warden ( Level 21)
Addons: Stone Warden, Items Vault.
Predawn

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [b42] Caldera dream triggers game-ending bug.

#14 Post by Hachem_Muche »

This last bug is unrelated to the Caldera and is triggered after loading a saved game with an active Maelstrom when something gets hit by the effect. I have sent a fix to DG for this.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply