Lua Error on clicking New Game

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Lua Error on clicking New Game

#1 Post 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!

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Lua Error on clicking New Game

#2 Post 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.
My feedback meter decays into coding. Give me feedback and I make mods.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#3 Post 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.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Lua Error on clicking New Game

#4 Post 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.
My feedback meter decays into coding. Give me feedback and I make mods.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#5 Post 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.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Lua Error on clicking New Game

#6 Post 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.
My feedback meter decays into coding. Give me feedback and I make mods.

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

Re: Lua Error on clicking New Game

#7 Post 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
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#8 Post 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 :|

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#9 Post 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

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

Re: Lua Error on clicking New Game

#10 Post by Moasseman »

Also if you're still having slowdown, do ya got a controller plugged in to the machine?
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#11 Post 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.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#12 Post 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.

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

Re: Lua Error on clicking New Game

#13 Post by Moasseman »

%userprofile%\T-Engine\4.0\tome\save
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

theshim
Wayist
Posts: 28
Joined: Wed Jun 11, 2014 2:53 am

Re: Lua Error on clicking New Game

#14 Post 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 :(

Post Reply