Page 1 of 1

Lua Error on clicking New Game

Posted: Wed Jul 27, 2022 11:32 pm
by theshim
Apparently my copy of ToME is super cursed. The last couple years I would get horrific lag spikes that made the game largely impossible to play (documented here viewtopic.php?t=50709, never resolved). Decided to try to play again after a while and now it throws me Lua errors when I click New Game. Very sad. :(

te4_log uploaded here: https://pastebin.com/GKBUx5ui

Would appreciate any help!

Re: Lua Error on clicking New Game

Posted: Wed Jul 27, 2022 11:52 pm
by HousePet
Not 100% sure, but that error typically means that it tried to load the ORCS dlc twice.
The location of the DLC mods was changed a while ago, and for some people they end up with a copy of the files in both locations, and the engine tries to load both.

Easiest solution is to delete the entire install and reinstall it.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 12:30 am
by theshim
HousePet wrote: Wed Jul 27, 2022 11:52 pm Not 100% sure, but that error typically means that it tried to load the ORCS dlc twice.
The location of the DLC mods was changed a while ago, and for some people they end up with a copy of the files in both locations, and the engine tries to load both.

Easiest solution is to delete the entire install and reinstall it.
I actually did uninstall and reinstall (using the Steam client) and I'm still getting the bork. Going to try again real quick, but I don't expect success this time.

e: yep, no dice.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 1:08 am
by HousePet
Search your TOME4 folder for 'orcs.teaac'. There should only be one of these.

The only other thing that could cause that error is an addon inexplicably trying to define a timed effect used in the orcs dlc.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 1:56 am
by theshim
The game/addons folder only has one copy of orcs.teaac in it.

The only other addons I have in the folder besides the official ones are the ignore locks ones, and the log was generated with both of them disabled.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 2:14 am
by HousePet
I guess it could be corrupted. Try deleting the orcs dlc file and have the engine download a fresh one?
I don't trust uninstallation of anything to actually remove bad files.

And we likely need to try removing the world.teaa file as well. This is located in your documents folder instead.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 2:39 am
by Moasseman
theshim wrote: Thu Jul 28, 2022 1:56 am The game/addons folder only has one copy of orcs.teaac in it.

The only other addons I have in the folder besides the official ones are the ignore locks ones, and the log was generated with both of them disabled.
The game/addons folder shouldn't have any copies of orcs.teaac in it because the DLCs reside in game/dlcs

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 2:44 am
by theshim
Deleting the orcs.teaac and redowloading it in the engine appears to have worked. Which is good, because I couldn't find world.teaa to delete that :|

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 2:45 am
by theshim
Moasseman wrote: Thu Jul 28, 2022 2:39 am
theshim wrote: Thu Jul 28, 2022 1:56 am The game/addons folder only has one copy of orcs.teaac in it.

The only other addons I have in the folder besides the official ones are the ignore locks ones, and the log was generated with both of them disabled.
The game/addons folder shouldn't have any copies of orcs.teaac in it because the DLCs reside in game/dlcs
The only file in game/dlcs is ashes-urhrok.teaac

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 2:55 am
by Moasseman
Also if you're still having slowdown, do ya got a controller plugged in to the machine?

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 3:37 am
by theshim
Moasseman wrote: Thu Jul 28, 2022 2:55 am Also if you're still having slowdown, do ya got a controller plugged in to the machine?
Don't know yet if I'm having slowdown, but I will say that at no point have I ever had a controller plugged into my computer.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 4:45 am
by theshim
Well, turns out the repeated hanging is still here, so the game is basically unplayable. :(

Where is world.teaa supposed to be, anyway? I can't find it.

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 10:53 am
by Moasseman
%userprofile%\T-Engine\4.0\tome\save

Re: Lua Error on clicking New Game

Posted: Thu Jul 28, 2022 8:01 pm
by theshim
Well, I found it (though it was world.teaw, curiously), and just for the hell of it I deleted it. Did not help, still getting the horrible lag spikes. I feel like I need to just nuke every aspect of the game from orbit at this point, nothing seems to work. I miss ToME :(