Jump to content

[FIXED] ReferenceError: type is not defined


scroogie
 Share

Recommended Posts

After some minutes in the game, I endlessly receive the following message:

ERROR: JavaScript error: gui/session/session.js line 452

ReferenceError: type is not defined

updateHero()@gui/session/session.js:452

onSimulationUpdate()@gui/session/session.js:413

__eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0

ERROR: JavaScript error: gui/session/session.js line 452

ReferenceError: type is not defined

updateHero()@gui/session/session.js:452

onSimulationUpdate()@gui/session/session.js:413

__eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0

ERROR: JavaScript error: gui/session/session.js line 452

ReferenceError: type is not defined

updateHero()@gui/session/session.js:452

onSimulationUpdate()@gui/session/session.js:413

__eventhandler36 (simulationupdate)([object Object])@sn simulationupdate:0

ERROR: JavaScript error: gui/session/session.js line 452

Link to comment
Share on other sites

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 452
ReferenceError: 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 452
ReferenceError: type is not defined

and then the last one is repeated endlessly.

Edited by scroogie
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...