wraitii Posted February 1, 2014 Author Report Share Posted February 1, 2014 I don't see any, I haven't yet started doing stuff with formations. Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted February 1, 2014 Report Share Posted February 1, 2014 I get a warning in the game with the word, "there". Quote Link to comment Share on other sites More sharing options...
wraitii Posted February 1, 2014 Author Report Share Posted February 1, 2014 That's some more debug I forgot to remove. Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 2, 2014 Report Share Posted February 2, 2014 Occasional error occurs again, then the error message disappears.When my army at war with the enemy army many times. <h2>0 A.D. Main log (warnings and errors only)</h2><p class="error">ERROR: JavaScript error: simulation/components/UnitAI.js line 1755TypeError: cmpFormation is null ()@simulation/components/UnitAI.js:1755 ([object Object],"INDIVIDUAL.COMBAT.ATTACKING")@simulation/helpers/FSM.js:376 ([object Object],[object Object])@simulation/helpers/FSM.js:284 ([object Object])@simulation/components/UnitAI.js:3739</p><p class="error">ERROR: Script message handler OnMotionChanged failed</p><p class="error">ERROR: JavaScript error: simulation/components/UnitAI.js line 1755TypeError: cmpFormation is null ()@simulation/components/UnitAI.js:1755 ([object Object],"INDIVIDUAL.COMBAT.ATTACKING")@simulation/helpers/FSM.js:376 ([object Object],[object Object])@simulation/helpers/FSM.js:284 ([object Object])@simulation/components/UnitAI.js:3739</p><p class="error">ERROR: Script message handler OnMotionChanged failed</p><p class="error">ERROR: JavaScript error: simulation/components/UnitAI.js line 1755TypeError: cmpFormation is null Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted February 2, 2014 Report Share Posted February 2, 2014 Occasional error occurs again, then the error message disappears.When my army at war with the enemy army many times. <h2>0 A.D. Main log (warnings and errors only)</h2><p class="error">ERROR: JavaScript error: simulation/components/UnitAI.js line 1755TypeError: cmpFormation is null ()@simulation/components/UnitAI.js:1755 ([object Object],"INDIVIDUAL.COMBAT.ATTACKING")@simulation/helpers/FSM.js:376 ([object Object],[object Object])@simulation/helpers/FSM.js:284 ([object Object])@simulation/components/UnitAI.js:3739</p><p class="error">ERROR: Script message handler OnMotionChanged failed</p><p class="error">ERROR: JavaScript error: simulation/components/UnitAI.js line 1755Should be fixed now: http://trac.wildfiregames.com/changeset/14726 Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 2, 2014 Report Share Posted February 2, 2014 (edited) Thank you very much to fix this problem. :lol2: Another problem: If you try to save a loaded again, you will find the enemy's army will not attack like a flood, like you, they will guard their buildings and resources, and workers will no longer collect resources, and they stood beside the building next to the resource does not move I'm sorry, the occasional new error occurs again, when the battle is about to end, I'm building an army to attack the last enemy, an error message appears, disappears later.<p class="error">ERROR: JavaScript error: simulation/ai/aegis/base-manager.js line 854TypeError: workers is undefined ([object Object],2)@simulation/ai/aegis/base-manager.js:854 ([object Object],1,2)@simulation/ai/aegis/headquarters.js:441 ([object Object])@simulation/ai/aegis/base-manager.js:903 ([object Object],[object Object],[object Object])@simulation/ai/aegis/base-manager.js:1021 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1158 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/base-manager.js line 854 Edited February 3, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 4, 2014 Report Share Posted February 4, 2014 I forgot to upload important files. Okay, well now upload please download, my friend!commands.txt Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 5, 2014 Report Share Posted February 5, 2014 (edited) This error has been forgotten? thank you, my friends! Edited February 5, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 6, 2014 Report Share Posted February 6, 2014 New Error and Old error again!TypeError: workers is undefined ([object Object],2)@simulation/ai/aegis/base-manager.js:854 ([object Object],1,2)@simulation/ai/aegis/headquarters.js:441 ([object Object])@simulation/ai/aegis/base-manager.js:903 ([object Object],[object Object],[object Object])@simulation/ai/aegis/base-manager.js:1021 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1158 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/army-defense.js line 84TypeError: this.recalculateStrength is not a function ([object Object])@simulation/ai/aegis/army-defense.js:84 ([object Object])@simulation/ai/aegis/defence.js:160 ([object Object],[object Object],[object Object])@simulation/ai/aegis/defence.js:27 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1163 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/army-defense.js line 84TypeError: this.recalculateStrength is not a function ([object Object])@simulation/ai/aegis/army-defense.js:84 ([object Object])@simulation/ai/aegis/defence.js:160 ([object Object],[object Object],[object Object])@simulation/ai/aegis/defence.js:27 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1163 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/army-defense.js line 84TypeError: this.recalculateStrength is not a function ([object Object])@simulation/ai/aegis/army-defense.js:84 ([object Object])@simulation/ai/aegis/defence.js:160 ([object Object],[object Object],[object Object])@simulation/ai/aegis/defence.js:27 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1163 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/army-defense.js line 84TypeError: this.recalculateStrength is not a function ([object Object])@simulation/ai/aegis/army-defense.js:84 ([object Object])@simulation/ai/aegis/defence.js:160 ([object Object],[object Object],[object Object])@simulation/ai/aegis/defence.js:27 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1163 ([object Object])@simulation/ai/aegis/aegis.js:182 ([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p><p class="error">ERROR: JavaScript error: simulation/ai/aegis/army-defense.js line 84TypeError: this.recalculateStrength is not a function ([object Object])@simulation/ai/aegis/army-defense.js:84 ([object Object])@simulation/ai/aegis/defence.js:160 ([object Object],[object Object],[object Object])@simulation/ai/aegis/defence.js:27 ([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1163 ([object Object])@simulation/ai/aegis/aegis.js:182commands.txt Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 7, 2014 Report Share Posted February 7, 2014 Please help this problem many times, friends, please help, fix it! Quote Link to comment Share on other sites More sharing options...
mimo Posted February 7, 2014 Report Share Posted February 7, 2014 The recalculateStrength error should be fixed in latest svn Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 7, 2014 Report Share Posted February 7, 2014 Thank you very much, my friend Mimo.But the error still exists:TypeError: workers is undefined([object Object],2)@simulation/ai/aegis/base-manager.js:854([object Object],1,2)@simulation/ai/aegis/headquarters.js:441([object Object])@simulation/ai/aegis/base-manager.js:903([object Object],[object Object],[object Object])@simulation/ai/aegis/base-manager.js:1021([object Object],[object Object],[object Object])@simulation/ai/aegis/headquarters.js:1158([object Object])@simulation/ai/aegis/aegis.js:182([object Object],2,[object Object])@simulation/ai/common-api/baseAI.js:81</p> Quote Link to comment Share on other sites More sharing options...
mimo Posted February 7, 2014 Report Share Posted February 7, 2014 Yes previous fix was not intended to cure that one But newest svn fix should do it Quote Link to comment Share on other sites More sharing options...
wraitii Posted February 7, 2014 Author Report Share Posted February 7, 2014 I've fixed the errors that occasionally popped up when AIs built a new civil center, and I've improved the AI logic. It should now make dropsites better, and will try to grab terrain a lot more (probably needs some tweaking). Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 8, 2014 Report Share Posted February 8, 2014 (edited) Thank you very much my friend mimo. Thanks again to my friend: wraitii, he fixes this error, thank you very much! But an old problem still puzzled us.(Please promise me mention again,my friends.)I describe the problem:Another problem: the enemy of workers and the military a strange action: When the game save again loaded, the workers will not go to collect resources, they will stand next to the resource (for example: farmland beside), enemy forces will not attack me . Edited February 8, 2014 by gameboy 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.