Stuck on loading character

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
Dabor
Posts: 2
Joined: Tue Oct 07, 2025 11:01 pm

Stuck on loading character

#1 Post by Dabor »

Had a random crash on entering a zone and now I can't reopen that character (can still open others). It seems to load normally, then sits at 100% for ages , then goes to a black screen and never progresses from there (I think going to a black screen may relate to if I press esc/alttab or such?). This is the bottommost stuff in my log file, not really sure what else might help. This was my first time playing with addons (although a few fairly mundane QoL things). Here's the bottom-most stuff in my log after trying to load it

Code: Select all

[SAVEFILE ERROR] loading object	mod.class.NPC-0x1be18b20	resulting in: 	[string "d={}..."]:523: table index is nil
stack traceback:
	[string "d={}..."]:523: in function 'deserialize'
	/engine/class.lua:502: in function </engine/class.lua:501>
	[C]: in function 'xpcall'
	/engine/Savefile.lua:477: in function 'loadObject'
	[string "d={}..."]:4: in function 'deserialize'
	/engine/class.lua:502: in function </engine/class.lua:501>
	[C]: in function 'xpcall'
	/engine/Savefile.lua:477: in function 'loadObject'
	[string "d={}..."]:303: in function 'deserialize'
	/engine/class.lua:502: in function </engine/class.lua:501>
	[C]: in function 'xpcall'
	/engine/Savefile.lua:477: in function 'loadReal'
	/engine/Savefile.lua:567: in function 'loadGame'
	/engine/Module.lua:1107: in function 'instanciate'
	/engine/utils.lua:3000: in function 'showMainMenu'
	/engine/init.lua:207: in main chunk
	[C]: in function 'dofile'
	/loader/init.lua:217: in main chunk
[SHADER] Loading from /data/gfx/shaders/awesomeaura.lua
[SHADER] Loaded shader with totalname	awesomeaura[alpha=0.7,flame_scale=0.8,time_factor=6200]
New GL Shader program 33
New GL Shader 34 of type 35632
[SHADER] created fragment shader from /data/gfx/shaders/awesomeaura.frag
*p 33: Uniform: 0: 1406 alpha
*p 33: Uniform: 1: 1406 flameScale
*p 33: Uniform: 2: 8B5E flames
*p 33: Uniform: 3: 8B5E tex
*p 33: Uniform: 4: 1406 tick
*p 33: Uniform: 5: 1406 time_factor
Lua Error: /mod/class/Game.lua:1456: attempt to index field 'party' (a nil value)
	At [C]:-1 __index
	At /mod/class/Game.lua:1456 getPlayer
	At /engine/Savefile.lua:807 md5Check
	At /engine/Savefile.lua:569 loadGame
	At /engine/Module.lua:1107 instanciate
	At /engine/utils.lua:3000 showMainMenu
	At /engine/init.lua:207 
	At [C]:-1 dofile
	At /loader/init.lua:217 


AstralWanderer
Cornac
Posts: 35
Joined: Tue Oct 22, 2019 5:54 pm

Re: Stuck on loading character

#2 Post by AstralWanderer »

Welcome to the forums Dabor,

Which addons are you using? (i.e. does disabling any of them help). Which zone did you crash in?

Dabor
Posts: 2
Joined: Tue Oct 07, 2025 11:01 pm

Re: Stuck on loading character

#3 Post by Dabor »

Thanks for hopping in. A mod on the discord helped me - this was loading into Heart of the Gloom, my addons were just a few of the most common QoL ones - turn separated, escort AI, and that one QoL tweak pack. Sadly this character was unsalvagable, it corrupted like a third of the way into saving.

I had ANOTHER character get stuck at 100% loading later, but that was fixable just by removing .tmp from the .teag save file, but it's still worrying I've had this happen twice in a row, but all I can really do is just make my own manual backups every 30-60 mins in case something corruptions. I'm not having it happen on other games and there's nothing in the addons that should repeated corrupt saving only for me, so it's possibly just an oddly specific PC issue or program interaction.

AstralWanderer
Cornac
Posts: 35
Joined: Tue Oct 22, 2019 5:54 pm

Re: Stuck on loading character

#4 Post by AstralWanderer »

I've had problems with the Turn Separator mod causing crashes in one particular zone (can't quite remember if it was Heart of the Gloom or not) - try disabling that temporarily.

Post Reply