Jump to content

Victory bug in SVN version, terra magna crash


Tomcelmare
 Share

Recommended Posts

Hello! I noticed a few errors in the current SVN version of the game, which cause the game to not take victory into account, though it is notified to the player on screen, but the game doesn't stop.The first error is : "Javascript error: line 182".  Also, the terra magna mod does not work any more...That's it. I hope you'll be able to fix these errors :) 

Link to comment
Share on other sites

Ok. Here it is: 

ERROR: JavaScript error: globalscripts/sprintf.js line 182 SyntaxError: [sprintf] unexpected placeholder sprintf.parse@globalscripts/sprintf.js:182:1 sprintf@globalscripts/sprintf.js:48:1 colorizeHotkey@gui/common/color.js:140:1 updateHotkeyTooltips@gui/session/session.js:400:51 selectViewPlayer@gui/session/session.js:492:2 __eventhandler155 (selectionchange)@viewPlayer selectionchange:0:1 init@gui/session/session.js:306:87 reallyStartGame@gui/loading/loading.js:102:2

ERROR: GUI page 'page_session.xml': Failed to call init() function

Engine exited successfully on 2017-03-30 at 16:05:04 with 740 message(s), 2 error(s) and 0 warning(s).

Link to comment
Share on other sites

That's a broken translation in gui/session/session.js line 400. That line contains

    Engine.GetGUIObjectByName("tradeHelp").tooltip = colorizeHotkey(
        translate("Select one type of goods you want to modify by clicking on it (Pressing %(hotkey)s while selecting will also bring its share to 100%%) and then use the arrows of the other types to modify their shares."),
        "session.fulltradeswap");


Either the hotkey or percent number is broken in that language.

Please report or fix it yourself at https://www.transifex.com/wildfire-games/0ad/

It's in the "public-gui-ingame" resource

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...