Sign in to follow this  
Followers 0
Anomaly

Script message handler errors when starting a game

3 posts in this topic

Hi,

I've installed the alpha version "0.0.0+r10803-1~10.04~wfg1" via the Ubuntu PPA. The game starts up but I get script errors when trying to start any game, or running the simulation from the map editor.



Cache: 200 (total: 1002) MiB
TIMER| InitVfs: 293.004 ms
TIMER| InitScripting: 4.00452 ms
TIMER| CONFIG_Init: 22.1283 ms
TIMER| RunHardwareDetection: 20.2881 ms
TIMER| write_sys_info: 40.6955 ms
TIMER| InitRenderer: 1.40204 ms
TIMER| ps_console: 3.3846 ms
TIMER| ps_lang_hotkeys: 1.24252 ms
TIMER| common/setup.xml: 1.4738 ms
TIMER| common/styles.xml: 99.44 us
TIMER| common/sprite1.xml: 4.79136 ms
TIMER| common/init.xml: 2.90352 ms
TIMER| common/common_sprites.xml: 4.10012 ms
TIMER| common/common_styles.xml: 469.96 us
TIMER| pregame/sprites.xml: 14.7431 ms
TIMER| pregame/styles.xml: 111.56 us
TIMER| pregame/mainmenu.xml: 15.3758 ms
TIMER| common/global.xml: 759.68 us
SND| alc_init: success, using PulseAudio Software
TIMER| common/setup.xml: 1.39232 ms
TIMER| common/styles.xml: 64.12 us
TIMER| common/sprite1.xml: 3.383 ms
TIMER| common/common_sprites.xml: 3.97992 ms
TIMER| common/common_styles.xml: 486.481 us
TIMER| manual/styles.xml: 6.72544 ms
TIMER| manual/manual.xml: 19.3744 ms
TIMER| common/setup.xml: 1.49852 ms
TIMER| common/styles.xml: 67.04 us
TIMER| common/sprite1.xml: 3.735 ms
TIMER| common/common_sprites.xml: 4.45052 ms
TIMER| common/common_styles.xml: 448.08 us
TIMER| gamesetup/setup.xml: 166.92 us
TIMER| gamesetup/sprites.xml: 66.56 us
TIMER| gamesetup/styles.xml: 132.721 us
TIMER| gamesetup/gamesetup_mp.xml: 21.934 ms
TIMER| common/setup.xml: 1.557 ms
TIMER| common/styles.xml: 72.44 us
TIMER| common/sprite1.xml: 3.98076 ms
TIMER| common/common_sprites.xml: 5.02328 ms
TIMER| common/common_styles.xml: 521.32 us
TIMER| gamesetup/setup.xml: 111.16 us
TIMER| gamesetup/sprites.xml: 43.76 us
TIMER| gamesetup/styles.xml: 86.2 us
TIMER| gamesetup/gamesetup.xml: 35.9591 ms
TIMER| common/setup.xml: 1.34632 ms
TIMER| common/styles.xml: 63.28 us
TIMER| common/sprite1.xml: 3.40956 ms
TIMER| common/init.xml: 2.39944 ms
TIMER| common/common_sprites.xml: 4.10684 ms
TIMER| common/common_styles.xml: 462.04 us
TIMER| loading/styles.xml: 170.4 us
TIMER| loading/sprites.xml: 612 us
TIMER| loading/loading.xml: 2.63176 ms
TIMER| common/global.xml: 519.679 us
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
TIMER| LoadDLL: 78.5169 ms
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
ERROR: Script message handler OnCreate failed
ERROR: Script message handler OnOwnershipChanged failed
...


TIMER| common/setup.xml: 2.82416 ms

TIMER| common/styles.xml: 128.52 us
TIMER| common/sprite1.xml: 7.92708 ms
TIMER| common/icon_sprites.xml: 34.4318 ms
TIMER| common/common_sprites.xml: 9.07508 ms
TIMER| common/common_styles.xml: 1.07952 ms
TIMER| session/sprites.xml: 14.3073 ms
TIMER| session/styles.xml: 993.4 us
TIMER| session/session.xml: 156.301 ms
TIMER| common/global.xml: 1.19076 ms
ERROR: Error calling component script function ScriptCall
ERROR: GUI page 'page_session.xml': Failed to call init() function
ERROR: JavaScript error: gui/session/session.js line 77
TypeError: g_Players[Engine.GetPlayerID()] is undefined
init([object Object],(void 0))@gui/session/session.js:77
reallyStartGame()@gui/loading/loading.js:111
GAME STARTED, ALL INIT COMPLETE
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Script message handler OnTerritoriesChanged failed
ERROR: Script message handler OnTerritoriesChanged failed
ERROR: Script message handler OnTerritoriesChanged failed
ERROR: Script message handler OnTerritoriesChanged failed
ERROR: Error calling component script function GetRepresentation
ERROR: Error calling component script function ScriptCall
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0
ERROR: Error calling component script function ScriptCall
ERROR: JavaScript error: gui/session/session.js line 221
TypeError: simState is undefined
checkPlayerState()@gui/session/session.js:221
onTick()@gui/session/session.js:178
__eventhandler49 (tick)([object Object])@sn tick:0

Share this post


Link to post
Share on other sites

Yes that's how I installed it. I haven't tried the dev snapshot or compiling myself though.

Share this post


Link to post
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
Sign in to follow this  
Followers 0