gameboy Posted April 27, 2018 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 Link to comment Share on other sites More sharing options...
Stan` Posted April 27, 2018 Share Posted April 27, 2018 Did you have any mods ? Link to comment Share on other sites More sharing options...
gameboy Posted April 27, 2018 Author Share Posted April 27, 2018 no any mod. Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted April 27, 2018 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? Link to comment Share on other sites More sharing options...
mapkoc Posted April 27, 2018 Share Posted April 27, 2018 Clear 0ad cache Link to comment Share on other sites More sharing options...
elexis Posted April 27, 2018 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 Link to comment Share on other sites More sharing options...
elexis Posted April 28, 2018 Share Posted April 28, 2018 https://code.wildfiregames.com/D1475 ugly hack 1 Link to comment Share on other sites More sharing options...
gameboy Posted April 29, 2018 Author 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 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 29, 2018 Share Posted April 29, 2018 None of that has anything to do with the patch or original problem, dude. 2 Link to comment Share on other sites More sharing options...
gameboy Posted April 30, 2018 Author 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 Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted April 30, 2018 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 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 30, 2018 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 Link to comment Share on other sites More sharing options...
Stan` Posted April 30, 2018 Share Posted April 30, 2018 Because Gameboy ? 1 1 Link to comment Share on other sites More sharing options...
gameboy Posted April 30, 2018 Author Share Posted April 30, 2018 What? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now