Trenches not working in current spring

Trenches not working in current spring

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
varikonniemi
Posts: 451
Joined: 03 Jul 2011, 11:54

Trenches not working in current spring

Post 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:~$ 
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Trenches not working in current spring

Post 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
burp
Posts: 18
Joined: 21 Feb 2012, 16:19

Re: Trenches not working in current spring

Post 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.
varikonniemi
Posts: 451
Joined: 03 Jul 2011, 11:54

Re: Trenches not working in current spring

Post by varikonniemi »

glad to see its fixed now, at least i saw trenches-fixed appear in the map list.
Post Reply

Return to “Help & Bugs”