[1.7.6] Crash on load in checkTileset

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
visage
Archmage
Posts: 344
Joined: Fri Jan 10, 2014 4:09 pm

[1.7.6] Crash on load in checkTileset

#1 Post by visage »

Even when disabling all but the official DLC addons, I'm seeing an error when loading a character save after starting up ToME4:

Code: Select all

ERROR:
Game version: tome-1.7.6
Addons: ashes-urhrok-1.7.4[O]

Lua Error: /engine/Tiles.lua:96: attempt to index a nil value
  At [C]:-1 __index
  At /engine/Tiles.lua:96 checkTileset
  At /engine/Tiles.lua:127 get
  At /mod/class/Actor.lua:962 alterMakeMapObject
  At /engine/Entity.lua:487 makeMapObject
  At /engine/Entity.lua:531 getMapObjects
  At /engine/Map.lua:513 updateMap
  At /engine/Map.lua:416 redisplay
  At /engine/Map.lua:391 loaded
  At /engine/Savefile.lua:575 delay
  At /engine/Module.lua:1112 instanciate
  At /engine/utils.lua:3000 showMainMenu
  At /engine/init.lua:207 
  At [C]:-1 dofile
  At /loader/init.lua:217 
This occurs consistently for me, and even happens with a fresh character -- create character, start campaign, quit to OS, restart application, load save, then error occurs.

Zizzo
Sher'Tul Godslayer
Posts: 2480
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [1.7.6] Crash on load in checkTileset

#2 Post by Zizzo »

Hmm… you say you have all your addons disabled, but how many do you have installed? Because that sounds kind of similar to this bug.
"Blessed are the yeeks, for they shall inherit Arda..."

visage
Archmage
Posts: 344
Joined: Fri Jan 10, 2014 4:09 pm

Re: [1.7.6] Crash on load in checkTileset

#3 Post by visage »

Ooh, that's interesting. I've installed several dozen over the years, many disabled by default.

I suspect I'm encountering something else -- I don't think I actually have close to 100 addons, I don't see a crash on character creation, I had no error when I disabled everything -- but it's definitely worth taking the time to prune some addons I no longer use and see if that resolves things.

Thanks!

visage
Archmage
Posts: 344
Joined: Fri Jan 10, 2014 4:09 pm

Re: [1.7.6] Crash on load in checkTileset

#4 Post by visage »

Ok, I went through and purged a bunch of addons... and unfortunately no change in behavior. The create character - save - quit - restart app - load save sequence still hits the same error.

Moasseman
Archmage
Posts: 337
Joined: Thu Sep 26, 2019 4:32 pm

Re: [1.7.6] Crash on load in checkTileset

#5 Post by Moasseman »

I wanna say this could be circumvented by launching as an admin? No clue what exactly is causing it tho
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

visage
Archmage
Posts: 344
Joined: Fri Jan 10, 2014 4:09 pm

Re: [1.7.6] Crash on load in checkTileset

#6 Post by visage »

Moasseman wrote: Thu Jun 13, 2024 8:31 pm I wanna say this could be circumvented by launching as an admin? No clue what exactly is causing it tho
That does seem to be a workaround. Does its effectiveness suggest a better long-term solution? (My mind immediately goes to file permissions, but I'm running this on windows and am not familiar with what impact running as administrator has on that OS.)

geroko
Low Yeek
Posts: 6
Joined: Tue Feb 07, 2023 7:13 am

Re: [1.7.6] Crash on load in checkTileset

#7 Post by geroko »

same issue for me on linux. can't load or start a new character. stopped working like 3 days ago

Code: Select all

Lua Error: /data/general/objects/world-artifacts.lua:24: attempt to index field 'state' (a nil value)
	At [C]:-1 __index
	At /data/general/objects/world-artifacts.lua:24 f
	At /engine/Entity.lua:1262 loadList
	At /engine/Entity.lua:1250 load
	At /data/general/objects/objects.lua:22 loadIfNot
	At /data/general/objects/objects.lua:85 f
	At /engine/Entity.lua:1262 loadList
	At /engine/Entity.lua:1250 load
	At /data/general/objects/objects-far-east.lua:22 loadIfNot
	At /data/general/objects/objects-far-east.lua:25 f
	At /engine/Entity.lua:1262 loadList
	At /engine/Entity.lua:1250 load
	At /data/zones/temple-of-creation/objects.lua:21 f
	At /engine/Entity.lua:1262 loadList
	At /engine/Zone.lua:176 loadBaseLists
	At /engine/Zone.lua:803 loaded
	At /engine/Savefile.lua:516 loadWorld
	At /engine/Module.lua:1093 instanciate
	At /engine/utils.lua:3000 showMainMenu
	At /engine/init.lua:207 
	At [C]:-1 dofile
	At /loader/init.lua:217 

tsusungshi
Posts: 1
Joined: Wed Nov 06, 2013 12:04 am

Re: [1.7.6] Crash on load in checkTileset

#8 Post by tsusungshi »

Just wanted to contribute that I also experienced this bug, I worked around it by changing my tileset to ASCII so I could actually load my game. That not how I'd enjoy playing the game though. I confirmed that running as admin lets me keep using the modern tileset. The permissions issue may be restricted to that tileset.

morernil
Posts: 3
Joined: Wed Jan 24, 2018 9:40 am

Re: [1.7.6] Crash on load in checkTileset

#9 Post by morernil »

Hi all, I have the same issue, running is as admin doesn't help, changing tiles to Ascii removes the issue but i dont like that game mode.
Any suggestions pls ?

Post Reply