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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...