Jump to content

terra_magna warning messages appeared!


gameboy
 Share

Recommended Posts

@stanislas69

Today, I tested the latest https://github.com/0ADMods/terra_magna, and some warning messages appeared:

WARNING: JavaScript warning: simulation/components/Player.js line 380 reference to undefined property this.resourceCount[type]

WARNING: JavaScript warning: simulation/components/StatisticsTracker.js line 428 reference to undefined property this.resourcesUsed[type]

WARNING: JavaScript warning: simulation/ai/petra/diplomacyManager.js line 83 reference to undefined property availableResources[res]

Link to comment
Share on other sites

@stanislas69 When I press this button, the warning appears:(GUANLIAO(Service - Level 2))

WARNING: JavaScript warning: simulation/components/Player.js line 380 reference to undefined property this.resourceCount[type]

WARNING: JavaScript warning: simulation/components/StatisticsTracker.js line 428 reference to undefined property this.resourcesUsed[type]

WARNING: JavaScript warning: simulation/ai/petra/diplomacyManager.js line 83 reference to undefined property availableResources[res]

 

screenshot0003.png

Edited by gameboy
Link to comment
Share on other sites

  • s0600204 changed the title to Terra_magna has some warnings in the battle
  • 2 weeks later...

@stanislas69

Today, I tested the latest https://github.com/0ADMods/terra_magna, get some error message:

New error:

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_farmstead.xml:12: Opening and ending tag mismatch: Max line 8 and GarrisonHolder

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_farmstead.xml:29: Opening and ending tag mismatch: Max line 8 and Entity

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_farmstead.xml:30: Premature end of data in tag GarrisonHolder line 7

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_farmstead.xml:30: Premature end of data in tag Entity line 2

ERROR: CXeromyces: Failed to parse XML file simulation/templates/structures/chin_farmstead.xml

ERROR: Failed to load entity template 'structures/chin_farmstead'

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_storehouse.xml:12: Opening and ending tag mismatch: Max line 8 and GarrisonHolder

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_storehouse.xml:24: Opening and ending tag mismatch: Max line 8 and Entity

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_storehouse.xml:25: Premature end of data in tag GarrisonHolder line 7

ERROR: CXeromyces: Parse error: simulation/templates/structures/chin_storehouse.xml:25: Premature end of data in tag Entity line 2

ERROR: CXeromyces: Failed to parse XML file simulation/templates/structures/chin_storehouse.xml

ERROR: Failed to load entity template 'structures/chin_storehouse'

commands.txt

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...