scroogie Posted May 12, 2013 Share Posted May 12, 2013 After some minutes in the game, I endlessly receive the following message: ERROR: JavaScript error: gui/session/session.js line 452ReferenceError: type is not defined updateHero()@gui/session/session.js:452 onSimulationUpdate()@gui/session/session.js:413 __eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0ERROR: JavaScript error: gui/session/session.js line 452ReferenceError: type is not defined updateHero()@gui/session/session.js:452 onSimulationUpdate()@gui/session/session.js:413 __eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0ERROR: JavaScript error: gui/session/session.js line 452ReferenceError: type is not defined updateHero()@gui/session/session.js:452 onSimulationUpdate()@gui/session/session.js:413 __eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0ERROR: JavaScript error: gui/session/session.js line 452 Link to comment Share on other sites More sharing options...
leper Posted May 12, 2013 Share Posted May 12, 2013 Could you post the first errors from interestinglog? (See GameDataPaths for the location of the file) Link to comment Share on other sites More sharing options...
scroogie Posted May 12, 2013 Author Share Posted May 12, 2013 (edited) Actually that is the first error (apart from the sound stuff I reported in the other thread):<!DOCTYPE html><meta charset="utf-8"><title>Pyrogenesis Log</title><style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style><h2>0 A.D. Main log (warnings and errors only)</h2><p class="error">ERROR: OpenAL error: Invalid Enum; called from FadeToIn (line 345)</p><p class="error">ERROR: OpenAL error: Invalid Enum; called from FadeToIn (line 345)</p><p class="error">ERROR: OpenAL error: Invalid Enum; called from FadeToIn (line 345)</p><p class="error">ERROR: OpenAL error: Invalid Enum; called from FadeToIn (line 345)</p><p class="error">ERROR: JavaScript error: gui/session/session.js line 452ReferenceError: type is not defined updateHero()@gui/session/session.js:452 onSimulationUpdate()@gui/session/session.js:413 __eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0</p><p class="error">ERROR: JavaScript error: gui/session/session.js line 452ReferenceError: type is not definedand then the last one is repeated endlessly. Edited May 12, 2013 by scroogie Link to comment Share on other sites More sharing options...
leper Posted May 12, 2013 Share Posted May 12, 2013 Ah, I wonder how I missed that when committing the hero button...Fixed in r13401. Thanks for reporting. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now