gameboy Posted April 27, 2018 Report Share Posted April 27, 2018 @elexisToday, I tested the latest SVN21787. When I chose my faction to play single player, there was a mistake in the game. WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 2185 reference to undefined property g_VictoryConditions[g_VictoryConditions.map(...).indexOf(...)] ERROR: JavaScript error: gui/gamesetup/gamesetup.js line 2185 TypeError: g_VictoryConditions[g_VictoryConditions.map(...).indexOf(...)] is undefined launchGame/g_GameAttributes.settings.VictoryScripts<@gui/gamesetup/gamesetup.js:2185:73 launchGame@gui/gamesetup/gamesetup.js:2184:45 __eventhandler96 (press)@startGame press:1:7 Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 27, 2018 Report Share Posted April 27, 2018 Did you have any mods ? Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 27, 2018 Author Report Share Posted April 27, 2018 no any mod. Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted April 27, 2018 Report Share Posted April 27, 2018 24 minutes ago, gameboy said: @elexisToday, I tested the latest SVN21787. When I chose my faction to play single player, there was a mistake in the game. WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 2185 reference to undefined property g_VictoryConditions[g_VictoryConditions.map(...).indexOf(...)] ERROR: JavaScript error: gui/gamesetup/gamesetup.js line 2185 TypeError: g_VictoryConditions[g_VictoryConditions.map(...).indexOf(...)] is undefined launchGame/g_GameAttributes.settings.VictoryScripts<@gui/gamesetup/gamesetup.js:2185:73 launchGame@gui/gamesetup/gamesetup.js:2184:45 __eventhandler96 (press)@startGame press:1:7 Nomad? Quote Link to comment Share on other sites More sharing options...
mapkoc Posted April 27, 2018 Report Share Posted April 27, 2018 Clear 0ad cache Quote Link to comment Share on other sites More sharing options...
elexis Posted April 27, 2018 Report Share Posted April 27, 2018 According to the error, it happens when starting the game with a victory condition being selected that doesn't exist. I would suspect it's loading the alpha 22 perisst-match-settings file or the file from previously match where a mod with a custom victory condition was active. You can delete the persistmatchsettings file in the config directory and it should be fine http://trac.wildfiregames.com/wiki/GameDataPaths > I met them. Sounds shady 1 1 Quote Link to comment Share on other sites More sharing options...
elexis Posted April 28, 2018 Report Share Posted April 28, 2018 https://code.wildfiregames.com/D1475 ugly hack 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 29, 2018 Author Report Share Posted April 29, 2018 @elexis I applied your patch and I saw them: ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Expecting an element DeleteUponConstruction, got nothing ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Invalid sequence in interleave ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Element Obstruction failed to validate content ERROR: RelaxNGValidator: Validation failed for '(null)' ERROR: Failed to validate entity template 'other/placement_obstructor' ERROR: Error in timer on entity 1, IID93, function DoAction: TypeError: cmpTemplateManager.GetTemplate(...) is undefined Trigger.prototype.InitCaptureTheRelic/catafalqueTemplates<@maps/scripts/CaptureTheRelic.js:5:30 Trigger.prototype.InitCaptureTheRelic@maps/scripts/CaptureTheRelic.js:4:41 Trigger.prototype.DoAction@simulation/components/Trigger.js:331:3 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4 ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/attack_slaughter_cavalry.xml" ERROR: Could not open path biped/attack_slaughter_cavalry.xml ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Expecting an element DeleteUponConstruction, got nothing ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Invalid sequence in interleave ERROR: RelaxNGValidator: Validation error: other/placement_obstructor:1: Element Obstruction failed to validate content ERROR: RelaxNGValidator: Validation failed for '(null)' ERROR: Failed to validate entity template 'other/placement_obstructor' ERROR: Error in timer on entity 1, IID93, function DoAction: TypeError: cmpTemplateManager.GetTemplate(...) is undefined Trigger.prototype.InitCaptureTheRelic/catafalqueTemplates<@maps/scripts/CaptureTheRelic.js:5:30 Trigger.prototype.InitCaptureTheRelic@maps/scripts/CaptureTheRelic.js:4:41 Trigger.prototype.DoAction@simulation/components/Trigger.js:331:3 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 29, 2018 Report Share Posted April 29, 2018 None of that has anything to do with the patch or original problem, dude. 2 Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 30, 2018 Author Report Share Posted April 30, 2018 (edited) @elexis Please help me! The mod is https://github.com/JustusAvramenko/delenda_est Edited April 30, 2018 by gameboy Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted April 30, 2018 Report Share Posted April 30, 2018 1 hour ago, gameboy said: @elexis Please help me! The mod is https://github.com/JustusAvramenko/delenda_est Mod section. please. 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 30, 2018 Report Share Posted April 30, 2018 5 hours ago, gameboy said: @elexis Please help me! The mod is https://github.com/JustusAvramenko/delenda_est You already private messaged me about this very issue, so why did you post about it here and in the wrong forum no less? 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 30, 2018 Report Share Posted April 30, 2018 Because Gameboy ? 1 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 30, 2018 Author Report Share Posted April 30, 2018 What? 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.