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

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