Jump to content

Map error!


gameboy
 Share

Recommended Posts

I'm using a map Sicilia (2), when entering the game, an error!

<p class="error">ERROR: JavaScript error: simulation/helpers/Player.js line 128 TypeError: startCam is null  [url=mailto:LoadPlayerSettings@simulation/helpers/Player.js:128]LoadPlayerSettings@simulation/helpers/Player.js:128</p[/url]><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/structures/undefined_civil_centre.xml"</p><p class="error">ERROR: Failed to load entity template 'structures/undefined_civil_centre'</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: Script message handler OnSkirmishReplace failed</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48TypeError: cmpReplacementPosition is null  [url=mailto:SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48]SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48[/url]  [url=mailto:SkirmishReplacer.prototype.OnSkirmishReplace@simulation/components/SkirmishReplacer.js:65]SkirmishReplacer.prototype.OnSkirmishReplace@simulation/components/SkirmishReplacer.js:65[/url]  [url=mailto:ReplaceSkirmishGlobals@simulation/helpers/InitGame.js:7]ReplaceSkirmishGlobals@simulation/helpers/InitGame.js:7</p[/url]><p class="error">ERROR: JavaScript error: simulation/ai/petra/headquarters.js line 1503TypeError: template is null  [url=mailto:m.HQ.prototype.canBuild@simulation/ai/petra/headquarters.js:1503]m.HQ.prototype.canBuild@simulation/ai/petra/headquarters.js:1503[/url]  [url=mailto:m.HQ.prototype.init@simulation/ai/petra/headquarters.js:133]m.HQ.prototype.init@simulation/ai/petra/headquarters.js:133[/url]  [url=mailto:m.PetraBot.prototype.CustomInit@simulation/ai/petra/_petrabot.js:50]m.PetraBot.prototype.CustomInit@simulation/ai/petra/_petrabot.js:50[/url]  [url=mailto:m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:62]m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:62</p[/url]><p class="warning">WARNING: JavaScript warning: gui/session/session.js line 214Script value conversion check failed: JSVAL_IS_STRING(v) || JSVAL_IS_NUMBER(v) (got type undefined)</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/structures/undefined_civil_centre.xml"</p><p class="error">ERROR: Failed to load entity template 'structures/undefined_civil_centre'</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48TypeError: cmpReplacementPosition is null  [url=mailto:SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48]SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48[/url]  [url=mailto:SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75]SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75</p[/url]><p class="error">ERROR: Script message handler OnUpdate failed</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/units/undefined_support_female_citizen.xml"</p><p class="error">ERROR: Failed to load entity template 'units/undefined_support_female_citizen'</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48TypeError: cmpReplacementPosition is null  [url=mailto:SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48]SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48[/url]  [url=mailto:SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75]SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75</p[/url]><p class="error">ERROR: Script message handler OnUpdate failed</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/units/undefined_support_female_citizen.xml"</p><p class="error">ERROR: Failed to load entity template 'units/undefined_support_female_citizen'</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48TypeError: cmpReplacementPosition is null  [url=mailto:SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48]SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48[/url]  [url=mailto:SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75]SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75</p[/url]><p class="error">ERROR: Script message handler OnUpdate failed</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/units/undefined_support_female_citizen.xml"</p><p class="error">ERROR: Failed to load entity template 'units/undefined_support_female_citizen'</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48TypeError: cmpReplacementPosition is null  [url=mailto:SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48]SkirmishReplacer.prototype.ReplaceEntities@simulation/components/SkirmishReplacer.js:48[/url]  [url=mailto:SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75]SkirmishReplacer.prototype.OnUpdate@simulation/components/SkirmishReplacer.js:75</p[/url]><p class="error">ERROR: Script message handler OnUpdate failed</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "simulation/templates/units/undefined_support_female_citizen.xml"</p><p class="error">ERROR: Failed to load entity template 'units/undefined_support_female_citizen'</p><p class="error">ERROR: JavaScript error: simulation/components/SkirmishReplacer.js line 48
Link to comment
Share on other sites

It may be related to this : EDIT: It doesn't seam so though, see below

Reducing the number of players set the (now unused) players civs to undefined.

Raising it again does not change that (at least in Atlas).

In random maps the players just gets fallback civ's entities but the civ string (used by the engine and so likely by gamesetup as well) does not change (it's still undefined).

Maybe the AI has problems with that because (in opposite to human players) he used the civ string (not the entities he's given) to determine it's civ.

(I mentioned that before and still think it's a bad behavior. The civ string should be set to a fallback/default case, not the starting entities)

However, that was some time ago so I'm not sure it's still like that.

EDIT:

It doesn't seam to be related.

It also happens if I just choose Sicilia (2) and start the game.

(So it seams to be map related)

Edited by FeXoR
  • Like 1
Link to comment
Share on other sites

<p class="warning">WARNING: JavaScript warning: simulation/helpers/Commands.js line 505
reference to undefined property cmd.requiredGoods</p>
<p class="error">ERROR: CCacheLoader failed to find archived or source file for: "art/textures/ui/undefined"</p>

Link to comment
Share on other sites

Have you made any local changes to the game?

If not, take us through the exact steps you're using. Is it single player or multiplayer match? Which match settings do you use? Exactly when do the error/warnings occur? Is there some part of the UI which is missing? (if a texture failed to load, you should see that)

Link to comment
Share on other sites

I do not have to modify any local files.

Ben, My,friend!

1.single player.

2.match settings: I: civ: Iberia, bot:Random

3.When access to resources (hunting wild animals), construction, or click to view wildlife such as tigers and this error occurs.

4."Is there some part of the UI which is missing? " Happening today: When I click to view wildlife tiger when this error occurs.

ERROR: CCacheLoader failed to find archived or source file for: "art/textures/ui/undefined"

Edited by gameboy
Link to comment
Share on other sites

I found the wrong reason, when I select the language for the Chinese, and then into the game, set, my Civ is Mauryans, Petra Bot select Ptolemies I chose the map is:. Deccan Plateau (2).
In the game, I used a farmer to attack a tiger, this error message appears.

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