Mods with 1 side crash on Spring.exe commanders script

Mods with 1 side crash on Spring.exe commanders script

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
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Mods with 1 side crash on Spring.exe commanders script

Post by FLOZi »

As the title says. They crash with a content exception:

Code: Select all

[      0] Caught content exception: Unable to load a commander for side: arm
Because "arm" is the default side name (which should also be changed).

What should happen is that side 2 defaults to side 1, at one point I actually fixed this same bug back when I had SVN commit access but the code has been re-factored since and this bug has crept back in.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Mods with 1 side crash on Spring.exe commanders script

Post by FLOZi »

Looks like kloot fixed this in git, cheers man! :mrgreen:

Another minor bug is that a mod using sidedata.lua rather than .tdf will get a

Code: Select all

[      0] could not load buildOption data: missing file
error from the parse_fbi.lua springcontent.sdz base files.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Mods with 1 side crash on Spring.exe commanders script

Post by FLOZi »

Confirmed in CA: http://pastebin.com/d7a5ecc10 (line 73)

As well as S44, and my Absolute Minimum mod
Last edited by FLOZi on 01 Nov 2009, 17:52, edited 1 time in total.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Mods with 1 side crash on Spring.exe commanders script

Post by hoijui »

see ace1ecc58541a2309dd0061ea92fe73c5a1d8c39
(fix by Kloot)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Mods with 1 side crash on Spring.exe commanders script

Post by FLOZi »

hoijui wrote:see ace1ecc58541a2309dd0061ea92fe73c5a1d8c39
(fix by Kloot)
See my second post.
Post Reply

Return to “Help & Bugs”