Page 1 of 1

Bug that prevents a new game

Posted: Tue Feb 20, 2018 4:01 pm
by Skyknight
I bring this up, even though I reported the bug in-game, because it looks like the sort of bug I might be able to fix myself. Looks like.

Lua Error: /engine/Birther.lua:57: /data-ashes-urhrok/birth/race_cosmetic.lua:33: attempt to index field 'cosmetic_unlock' (a nil value)
At [C]:-1
At [C]:-1 error
At /engine/Birther.lua:57 loadDefinition
At /mod/class/DemonologistsDLC.lua:38
At [string "return function(I, self, data) local ok=false..."]:1 triggerHook
At /mod/load.lua:265
At [C]:-1 require
At /engine/Module.lua:160 load
At /engine/Module.lua:1029 instanciate
At /engine/utils.lua:2243 showMainMenu
At /engine/init.lua:172
At [C]:-1 dofile
At /loader/init.lua:217

The reason I think I might be able to somehow fix it on my end is that some time ago, I modified the allow_build file to have demonologist set to "true" before I did the actual unlock work. (This was before ToME Tips came into existence; I wanted to get a look at what the class actually did and its implicit flavor.) When I tried to set it back to "false", though, the game kept setting it back to "true". The Demonologists and ok=false lines make me wonder if something got stuck in my attempts to revert the class, and only just now began interfering. I will admit that I'd been away from the game for quite some time, so I ended up patching straight from 1.5.0 to 1.5.5.

Re: Bug that prevents a new game

Posted: Tue Feb 20, 2018 4:19 pm
by Lokean
Are you on Steam? If so, it's almost certainly a file being aggressively restored from the cloud.

Re: Bug that prevents a new game

Posted: Tue Feb 20, 2018 5:15 pm
by Skyknight
No, not on Steam. I downloaded the game through the launcher.

Re: Bug that prevents a new game

Posted: Tue Feb 20, 2018 11:01 pm
by andersmj
I've encountered the same issue (non-Steam install). I can create a new game in t-engine v1.5.3 but not v1.5.4 or v1.5.5 due to this bug.

Re: Bug that prevents a new game

Posted: Wed Feb 21, 2018 10:23 am
by darkgod
Please make sure you have both the latest version of ToME *AND* Ashes, this sounds like the culprit :)

Re: Bug that prevents a new game

Posted: Wed Feb 21, 2018 4:26 pm
by Skyknight
Sure enough, I had to re-download (or thereabouts...) Ashes of Urh'Rok. (So much for auto-updating on start.) It had been reading version 1.4.0. Now it's 1.5.0.

Re: Bug that prevents a new game

Posted: Wed Feb 21, 2018 10:13 pm
by andersmj
All hail DarkGod!