Spring Corrupting LUA in .sdd?

Spring Corrupting LUA in .sdd?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Spring Corrupting LUA in .sdd?

Post by Forboding Angel »

Is it even remotely possible?

Seems like spring corrupts my lua stuff at random. The solution is to take an zipped version of the lua, extract to a folder far away from spring, copy the rest of the mod there, delete the .sdd and put the other folder in the mods dir and rename to *.sdd.

This has happened 3 times so far, and the messed up thing is, I haven't even touched the LUA. Even replacing the previous files with known good files while it is .sdd doesn't work.

This is seriously messed up.

Is it cause I start and stop spring so often? Is it just whacking out the LUA over time?

Tobi/Trepan, could you guys look into this?
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

I'm a little confused. What's happening?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

How do the corrupt files look like?

Are their modification times from times when Spring was running?

Are you sure just deleting your LUA configuration (ask someone else which files that are exactly) does not solve the problem?

Does just overwriting of the mod's LUA with a known working set of LUA files solve the problem?

Personally I think it is strange since IIRC Spring does not even have an internal API to write to archives (which an .sdd file is).
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Tobi wrote:How do the corrupt files look like?

Are their modification times from times when Spring was running?

Are you sure just deleting your LUA configuration (ask someone else which files that are exactly) does not solve the problem?

Does just overwriting of the mod's LUA with a known working set of LUA files solve the problem?

Personally I think it is strange since IIRC Spring does not even have an internal API to write to archives (which an .sdd file is).
1. No

2. LUA config? More detail pls

3. Yes, but only if they are overwritten in a separate directory outside of the spring tree. <-- oddness.

4. Join the club.


More detail on this. Basically what happens is it starts disabling widgets. If those widgets are deleted then it finds reasons to remove others, until there are no widgets left. Then it starts in on the gadgets and doesn't stop till all lua stuff is gone.

THis happens at random times even if I delete the .sdd and extract one that is working correctly. Some time after that is done it will start messing up agian.

It's just fricking wierd.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

trepan is in your spring executable, deleting your luas. :shock:
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Doesn't delete them, it removes them ingame for no appearent reason.

It's ok as I'm about to stick evolution on an svn so that I will always have a "Clean" backup, as well as considering the amount of block changes I'm doing, etc etc.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Done this that, however I think a (somehow) borked copy of lua stuff is in the svn, but I have it archived, so no biggie. New revisions for the winrar.


Pressure Line, check ur PM's :-)
Post Reply

Return to “Help & Bugs”