Page 1 of 1

Trenches not working in current spring

Posted: 12 Feb 2012, 18:24
by varikonniemi
When i try to play on the map trenches spring crashes. Is this map incompatible with new spring, or is there some bug?

http://pastebin.com/FGHqdm0G

terminal outputted still these lines not found in infolog:

Code: Select all

[f=0000000] Warning: UnsyncedGameCommands singleton was not initialized or is already destroyed
[f=0000000] Warning: SyncedGameCommands singleton was not initialized or is already destroyed
Segmentation fault
q@varikonniemi-desktop:~$ 

Re: Trenches not working in current spring

Posted: 12 Feb 2012, 23:51
by knorke
[f=0000000] Failed to load featureDefs
[f=0000000] Error: 2, gamedata/defs.lua, [string "gamedata/defs.lua"]:37: [string "gamedata/defs.lua"]:25: error = 2, gamedata/featureDefs.lua, error = 2, gamedata/featuredefs_post.lua, [string "gamedata/featuredefs_post.lua"]:34: bad argument #2 to 'max' (number expected, got string)
probally a broken feature in the map or something in the mod breaks the features of the map or something in the map breaks the features of the mod

Re: Trenches not working in current spring

Posted: 21 Feb 2012, 16:53
by burp
This seems to be a zero-k specific issue, as other mods work (TA tested).
[f=0000000] Failed to load featureDefs
[f=0000000] Error: 2, gamedata/defs.lua, [string "gamedata/defs.lua"]:37: [string "gamedata/defs.lua"]:25: error = 2, gamedata/featureDefs.lua, error = 2, gamedata/featuredefs_post.lua, [string "gamedata/featuredefs_post.lua"]:34: bad argument #2 to 'max' (number expected, got string)


[f=0000000] Game::LoadDefs (GameData): 148 ms
[f=0000000] Error: Segmentation fault (SIGSEGV) in spring 85.0
EDIT: There is a typo in the Trenches building specification:

metal==5000000000;

One "=" too much. This breaks some zero-k energy/metal/reclaimtime normalization in lua.

Re: Trenches not working in current spring

Posted: 22 Feb 2012, 14:29
by varikonniemi
glad to see its fixed now, at least i saw trenches-fixed appear in the map list.