Page 1 of 1

Savegame won't load

Posted: Sat Apr 25, 2020 9:00 pm
by uhran
Hello!

I have seen this problem previously with other users, and I have just encountered it. Sadly, their resolution was personal, so I am asking for your help again.

When I wanted to get into Angolwen from the World Map, the game started loading endlessly. After some 10 minutes,I pressed escape, hoping the best, and the game quitted completely.
Later that day I restarted the game, wanted to load the same character, but the program stuck at the loading screen at 100%. Since then, I can only repeat this process.

There were no LUA error.
The "zone-town-angolwen.teaz" is refreshened every time I try to load the game (according to the modified date in the file browser).
I made an other character that works well.

Here is the savegame folder of that character:
https://drive.google.com/open?id=1ONSY1 ... si2CheaFJK

Thanks for the help!

Re: Savegame won't load

Posted: Mon May 04, 2020 11:38 am
by BlackWolfC97
i have a similar issue. did you find a solution yet?

Re: Savegame won't load

Posted: Thu May 07, 2020 8:17 pm
by uhran
Unfortumately I did not get any reply or help yet

Re: Savegame won't load

Posted: Fri May 08, 2020 7:45 am
by Hunter
It's possible that an updated add-on now conflicts with another one. Do you do automatic updates? If so, go check the add-on page for any add-ons that have been posted since the last time you played the character. If not, well, do the same anyway if you've been updating manually. I myself had a very similar problem with SK's "more bosses" add-on conflicting with...well, I'm not sure but I think it was an add-on involving bonus dungeons or something else that added pieces to the overworld layout. He just uploaded a new version, so hopefully that will be helpful.

You can probably test if it's this add-on (assuming you've had it running, obviously) that's causing the problem simply by removing it from your add-on folder before loading up the game and character.

I also encountered similar one involving an add-on to fix an error in the ratlich dungeon generation a while back.

Re: Savegame won't load

Posted: Mon May 18, 2020 10:31 am
by uhran
I have disabled all addons I had (all of them were 1.6.6, the current release is 1.6.7).
Nothing. I think it's stuck on loading, and not the addons are the problems.

So, It's not that it was unable to load after an addon, but it was unable to load during gameplay. So I closed the program and from then it is unable to continue from loading.

Re: Savegame won't load

Posted: Mon May 18, 2020 10:37 am
by HousePet
Addons are tied to a save file. The game knows what addons the file needs, and will load them regardless of whether you turn them off.
If it didn't, there would be way more broken saved games.

Re: Savegame won't load

Posted: Tue May 19, 2020 1:55 pm
by uhran
OK, so I found two error-reports from the same time

Code: Select all

error = "Game version: tome-1.6.7\
Addons: items-vault-1.6.0[O]\
\
Game version (character creation): tome-1.6.7\
Lua Error: /engine/class.lua:483: bad argument #1 to 'setfenv' (number expected, got nil)\
  At [C]:-1 \
  At [C]:-1 setfenv\
  At /engine/class.lua:483 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:101 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:422 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:142 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:72 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:71 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:284 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:3 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:98 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadReal\
  At /engine/Savefile.lua:629 \
  At /engine/SavefilePipe.lua:295 doLoad\
  At /engine/Zone.lua:801 load\
  At /engine/Zone.lua:120 init\
  At /engine/class.lua:147 new\
  At /mod/class/Game.lua:1141 changeLevelReal\
  At /mod/class/Game.lua:955 changeLevel\
  At /mod/class/Game.lua:2207 \
  At /engine/KeyBind.lua:231 "
seen = true
reported = false


The other:


Code: Select all

error = "Game version: tome-1.6.7\
Addons: items-vault-1.6.0[O]\
\
Lua Error: /engine/class.lua:483: bad argument #1 to 'setfenv' (number expected, got nil)\
  At [C]:-1 \
  At [C]:-1 setfenv\
  At /engine/class.lua:483 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:210 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:4 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:149 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadObject\
  At [string \"d={}...\"]:140 deserialize\
  At /engine/class.lua:501 load\
  At /engine/Savefile.lua:477 loadReal\
  At /engine/Savefile.lua:559 loadGame\
  At /engine/Module.lua:1069 instanciate\
  At /engine/utils.lua:2782 showMainMenu\
  At /engine/init.lua:199 \
  At [C]:-1 dofile\
  At /loader/init.lua:217 "
seen = true
reported = false
Not sure what two understand from it. There are some error logs, too, but they are very long, describing every aspect of my character. Do you have any idae or suggestions what to look for in these?

Re: Savegame won't load

Posted: Tue May 19, 2020 2:12 pm
by uhran
Update


I reisntalled the game and copied the same save directory to the new game's folder. The problem remains. The addons are disabled.

Is there a method to alter saved games or location in saved games?

Re: Savegame won't load

Posted: Tue May 19, 2020 2:15 pm
by uhran
This is a part of last_log.txt of this savegame, if you can make anythign out of it. It says I should be in angolwen safe and sound.

Code: Select all

Loading tile from tileset	/data/gfx/shockbolt/invis.png
Loading tile from tileset	/data/gfx/shockbolt/npc/humanoid_human_cryomancer.png
Loading tile	store/shop_door.png
Loading tile	store/shop_sign_alchemist.png
Loading tile from tileset	/data/gfx/shockbolt/invis.png
Loading tile from tileset	/data/gfx/shockbolt/npc/humanoid_human_tempest.png
[SHADER] Loading from /data/gfx/shaders/water.lua
Loading tile from tileset	/data/gfx/shockbolt/terrain/statues/angolwen_fountain.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/stone_road1.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/worldmap.png
Loading tile	store/shop_door.png
Loading tile	store/shop_sign_library.png
Loading tile from tileset	/data/gfx/shockbolt/invis.png
Loading tile from tileset	/data/gfx/shockbolt/npc/humanoid_shalore_archmage_tarelion.png
Loading tile	store/shop_door.png
Loading tile	store/shop_sign_staves_wands.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/cultivation.png
Loaded zone	Angolwen	with base_level	35
[ZONE] persisting to persist_last_zones	town-angolwen
Loading zone persistance level	town-angolwen	1
Loading tile from tileset	/data/gfx/shockbolt/terrain/marble_floor.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall_pillar_1.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall_pillar_7.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall2.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall3.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall_pillar_3.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/granite_wall_pillar_9.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/trees/cypress_foliage_03.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/trees/cypress_foliage_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/trees/oak_foliage_summer_04.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/trees/small_cypress_foliage_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/trees/light_small_narrow_pine_foliage_04.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_4_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_1_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_7_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_2_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_2_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_8_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_8_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_9_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_6_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_3_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_end_a_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_6_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_horizontal_a_03.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_a_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_t_section_b_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_d_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_horizontal_a_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_end_a_03.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_vertical_a_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_vertical_a_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_t_section_c_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_t_section_a_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_vertical_a_03.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_end_a_04.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_horizontal_a_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_a_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_d_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_b_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_t_section_d_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_c_02.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_4_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_inner_3_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_inner_9_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_b_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/road_oldstone/road_turn_c_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_inner_1_01.png
Loading tile from tileset	/data/gfx/shockbolt/terrain/grass/grass_inner_7_01.png
Not gone east, no backup guardian
Running on level loads	town-angolwen-1
[Actor:move]	4361	Uhrana	(forced) move from	14	24	to	24	46
[LOG]	#YELLOW_GREEN#There is a portal back here (press '<', '>' or right click to use).
[PARTY] New member, add after	Uhrana	Uhrana
Adding entity	4361	after	4361
[ONLINE PROFILE] current character 	Uhrana the level 35 Thalore Cursed
[MUSIC] stoping	Remembrance.ogg
[MUSIC] loading	weather/town_medium_base.ogg	sound "/data/music/weather/town_medium_base.ogg" : <static>
[MUSIC] playing	weather/town_medium_base.ogg	sound "/data/music/weather/town_medium_base.ogg" : <static>
[MUSIC] loading	Dreaming of Flying.ogg	sound "/data/music/Dreaming of Flying.ogg" : <static>
[MUSIC] playing	Dreaming of Flying.ogg	sound "/data/music/Dreaming of Flying.ogg" : <static>
Updating zone name	Angolwen
[SAVEFILE PIPE] new save running in the pipe:	Uhrana	zone	::	zone-wilderness.teaz	::	table: 0x4191e828	=>	table: 0x46512098	(9914)
Loading savefile 	/save/uhrana/
[GAMMA] Setting gamma correction using fullscreen shader	1
[GAMMA] Setting gamma correction using fullscreen shader	1
[LOG]	Uhrana deactivates #{bold}##ORANGE#Stalk#LAST#.
[LOG]	Uhrana deactivates #{bold}##ORANGE#Repel#LAST#.
[LOG]	Uhrana deactivates #{bold}##ORANGE#Gloom#LAST#.
[LOG]	Uhrana deactivates #{bold}##ORANGE#Savage Hunter#LAST#.
[ONLINE PROFILE] saved character 	72308934-eb6a-4352-8fb9-f17622771978
Saving JSON	true
[LOG]	Saving game...
[Actor:move]	4361	Uhrana	move from	24	46	to	24	45
[LOG]	Today is the 44th Haze of the 123rd year of the Age of Ascendancy of Maj'Eyal.
The time is 02:15.
[Actor:move]	4361	Uhrana	move from	24	45	to	24	44
[LOG]	
[SOUND] loading from	/data/sound/ambient/town/town_medium3.ogg	:=:	sound "/data/sound/ambient/town/town_medium3.ogg" : <static>
[SAVEFILE PIPE] new save running in the pipe:	Uhrana	game	::	game.teag	::	table: 0x405b4a80	=>	table: 0x48526d20	(8147)
Loading savefile 	/save/uhrana/
[SAVEFILE PIPE] new save running in the pipe:		world	::	world.teaw	::	table: 0x40d304e0	=>	table: 0x49fc17c8	(1)
Loading savefile 	/save//
[SAVEFILE PIPE] unleashing save thread
[SAVEFILE PIPE] Checking save	Uhrana	zone	/save/uhrana/zone-wilderness.teaz.tmp
Loading savefile 	/save/uhrana/
[SAVEFILE] checked validity of type	zone	 => 	all fine
[SAVEFILE PIPE] Checking save	Uhrana	game	/save/uhrana/game.teag.tmp
Loading savefile 	/save/uhrana/
[SAVEFILE] checked validity of type	game	 => 	all fine
[SAVEFILE PIPE] Checking save		world	/save//world.teaw.tmp
Loading savefile 	/save//
[SAVEFILE] checked validity of type	world	 => 	all fine
[LOG]	Saving done.
[SAVEFILE PIPE] on end	saveModuleProfile
[PROFILE] filtering save of 	scores	 to profile 	online
[PROFILE] mounted 	online	on /current-profile
[PROFILE] unmounted 	online	from /current-profile
[SAVEFILE PIPE] on end	saveZone_md5
Save MD5	72308934-eb6a-4352-8fb9-f17622771978	f7175bedec49c95e1f128a893de9a380	zone	/save/uhrana/zone-wilderness.teaz
[ONLINE PROFILE] saved character md5	72308934-eb6a-4352-8fb9-f17622771978	zone-wilderness.teaz	f7175bedec49c95e1f128a893de9a380
[SAVEFILE PIPE] on end	saveGame_md5
Save MD5	72308934-eb6a-4352-8fb9-f17622771978	11fd45340b86fb01c1d8647319878e63	game	/save/uhrana/game.teag
[ONLINE PROFILE] saved character md5	72308934-eb6a-4352-8fb9-f17622771978	game.teag	11fd45340b86fb01c1d8647319878e63
[SAVEFILE PIPE] on end	saveWorld_md5
[SAVEFILE PIPE] saving took 10 seconds
[COROUTINE] dead	savefilepipe
[SOUND] loading from	/data/sound/ambient/town/town_medium4.ogg	:=:	sound "/data/sound/ambient/town/town_medium4.ogg" : <static>
[SOUND] loading from	/data/sound/ambient/town/town_medium1.ogg	:=:	sound "/data/sound/ambient/town/town_medium1.ogg" : <static>
[LOG]	
[SOUND] loading from	/data/sound/ambient/town/town_medium2.ogg	:=:	sound "/data/sound/ambient/town/town_medium2.ogg" : <static>

EDIT

Here is the desc.lua:

Code: Select all

module = "tome"
module_version = {1,6,7}
addons = {'items-vault'}
name = "Uhrana"
short_name = "uhrana"
timestamp = 1587726547
loadable = true
cheat = false
description = "Uhrana the level 35 Thalore Cursed.\
Difficulty: Easy / Adventure\
Campaign: Maj'Eyal\
Exploring level -- of World of Eyal."
As you can see, my character is just.. in a null zone

Re: Savegame won't load

Posted: Tue May 19, 2020 10:42 pm
by HousePet
Something went wrong during the loading process of Angolwen and the game errored. (Yes it did. Just because it didn't display it to the screen, it doesn't mean it didn't happen. It was likely in a log file.)
By quitting the game (your only option) when your character was stuck between zones, your character no longer has no location to be placed at.
AFAIK, this can only be fixed if you managed to get the save to load (which it doesn't), where you can then ask a Mod to teleport you to a real location; or you could try the save file fixing process, which I don't think is running as that required someone to manually find the fault and correct it.

tl;dr: This sort of problem is generally not resolvable. If you had checked the log file on when the character had initially failed to change areas we would be able to work out why it broke.

Re: Savegame won't load

Posted: Wed May 20, 2020 9:06 pm
by Hunter
Yeah, HousePet knows more than me. All I can say is that, as he said, just turning them off won't work. That's why I was suggesting removing the add-on from the folder entirely. That way, the game can't load it. If you do that and the save boots up, you'll know that add-on was at fault, or at least it was conflicting with something else. I've fixed a couple saves like that, but the more involved the add-on is in gameplay, the more likely removing the add-on will cause problems down the line. A simple cosmetic add-on, or an add-on not relevant to your current game (say, an add-on that adds a race you can choose at player creation but don't) will probably go on just fine. Probably. Sometimes it's mystifying, such as me discovering that an add-on to make water breathing items show up at character creation causing a gameplay add-on to crash much later in the game (which happened to me.)

Re: Savegame won't load

Posted: Thu May 21, 2020 6:55 am
by uhran
Thanks for the help all of you!
Hunter wrote:Yeah, HousePet knows more than me. All I can say is that, as he said, just turning them off won't work. That's why I was suggesting removing the add-on from the folder entirely. That way, the game can't load it. If you do that and the save boots up, you'll know that add-on was at fault, or at least it was conflicting with something else. I've fixed a couple saves like that, but the more involved the add-on is in gameplay, the more likely removing the add-on will cause problems down the line. A simple cosmetic add-on, or an add-on not relevant to your current game (say, an add-on that adds a race you can choose at player creation but don't) will probably go on just fine. Probably. Sometimes it's mystifying, such as me discovering that an add-on to make water breathing items show up at character creation causing a gameplay add-on to crash much later in the game (which happened to me.)
All my add-ons are switched off manually.

The null location should be the problem here :/ I'll try to contact someone who can solve it