Page 1 of 1

Mods with 1 side crash on Spring.exe commanders script

Posted: 30 Oct 2009, 19:18
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.

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

Posted: 31 Oct 2009, 01:31
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.

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

Posted: 01 Nov 2009, 17:01
by FLOZi
Confirmed in CA: http://pastebin.com/d7a5ecc10 (line 73)

As well as S44, and my Absolute Minimum mod

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

Posted: 01 Nov 2009, 17:07
by hoijui
see ace1ecc58541a2309dd0061ea92fe73c5a1d8c39
(fix by Kloot)

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

Posted: 01 Nov 2009, 17:50
by FLOZi
hoijui wrote:see ace1ecc58541a2309dd0061ea92fe73c5a1d8c39
(fix by Kloot)
See my second post.