gameboy Posted May 1, 2014 Report Share Posted May 1, 2014 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 Quote Link to comment Share on other sites More sharing options...
niektb Posted May 1, 2014 Report Share Posted May 1, 2014 (edited) That's interesting, it apparently sees the selected civ as being undefined. (Likely the AI's civ) Edited May 1, 2014 by niektb Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 1, 2014 Report Share Posted May 1, 2014 (edited) It may be related to this : EDIT: It doesn't seam so though, see belowReducing 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 May 1, 2014 by FeXoR 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 2, 2014 Author Report Share Posted May 2, 2014 This error persists, friends! Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 2, 2014 Report Share Posted May 2, 2014 This error persists, friends!Yeah they know, be patient please. 1 Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted May 2, 2014 Report Share Posted May 2, 2014 Ok, as trac is down, I can't commit stuff now, but here's the fix. Please remind me to commit it (when trac is back up), and also to make a ticket that solves the source (i.e. accepts null as a camera view).map.diff 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 3, 2014 Author Report Share Posted May 3, 2014 <p class="error">ERROR: CCacheLoader failed to find archived or source file for: "art/textures/ui/undefined"</p> Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted May 3, 2014 Report Share Posted May 3, 2014 Gameboy, the same map? Or when do you see that? Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 3, 2014 Author Report Share Posted May 3, 2014 (edited) yes, same map! I see it,when i building somthing! my friend! Edited May 3, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted May 3, 2014 Report Share Posted May 3, 2014 Can't reproduce it. What civ were you playing? Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 3, 2014 Author Report Share Posted May 3, 2014 (edited) civ: Iberiacommands.txt Edited May 3, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 4, 2014 Author Report Share Posted May 4, 2014 <p class="warning">WARNING: JavaScript warning: simulation/helpers/Commands.js line 505reference to undefined property cmd.requiredGoods</p><p class="error">ERROR: CCacheLoader failed to find archived or source file for: "art/textures/ui/undefined"</p> Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 7, 2014 Author Report Share Posted May 7, 2014 I tested the latest SVN 15119, the errors and warnings still exist, my friend, please help again! :notworthy: Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted May 7, 2014 Report Share Posted May 7, 2014 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) Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 8, 2014 Author Report Share Posted May 8, 2014 (edited) I do not have to modify any local files.Ben, My,friend!1.single player.2.match settings: I: civ: Iberia, bot:Random3.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 May 8, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 8, 2014 Author Report Share Posted May 8, 2014 (edited) 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 May 8, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 8, 2014 Report Share Posted May 8, 2014 What you test Chinese? Curiosity, nice catch. Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted May 8, 2014 Report Share Posted May 8, 2014 Fixed it: http://trac.wildfiregames.com/changeset/15135 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 8, 2014 Report Share Posted May 8, 2014 @Sanderd Is that normal to have "gaia", instead of "Gaia" ? Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted May 8, 2014 Report Share Posted May 8, 2014 Yes, the civ code is not translated, and is "gaia", while the civ name is used for displaying, so is capitalised in English, but may be anything in other languages. Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 8, 2014 Report Share Posted May 8, 2014 Gaia is the same in mane languages. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.