e6cf2f23c5
Fix AI debug mode.
...
This was SVN commit r14716.
2014-02-01 03:29:55 +00:00
c3cdf40f33
Somewhat experimental rewrite and simplification of the worker's logic to choose dropsites. Might behave unexpectedly now and then.
...
Error fixes here and there.
This was SVN commit r14715.
2014-02-01 00:44:12 +00:00
ad8fa37f17
Improve some building placement. May improve dropsite usage slightly.
...
Should fix #1964
This was SVN commit r14639.
2014-01-22 20:26:45 +00:00
a58acb28f0
Style improvements (thanks Leper).
...
Fix AI building its buildings closer together by properly moving failed
foundations out of the world.
This was SVN commit r14637.
2014-01-22 17:54:20 +00:00
de02ab2e53
Fix various bugs. Try to make the AI build its buildings closer together (WIP, and it's brute-force).
...
This was SVN commit r14632.
2014-01-22 03:11:19 +00:00
7d18fecbcd
Fix some errors reported by Gildas, Lion_Kanzen and Gameboy. Prepare for formation fighting in the attack plans by having a more generic "army" component.
...
This was SVN commit r14629.
2014-01-21 20:24:51 +00:00
f2f0307a25
fix typo.
...
This was SVN commit r14616.
2014-01-18 21:05:53 +00:00
9330975d54
Fix Athens not researching civ phase. Make the AI adapt automatically to changing the max gatherers on fields.
...
Fix auto-researched technologies not being properly researched on init.
Fix the tests (amazing!).
GarrisonHolder sends which entities were added or removed (mostly for AI
purposes but could benefit other things).
Streamline AIInterface events.
This was SVN commit r14612.
2014-01-18 20:26:52 +00:00
c1e86161b5
AIs now properly receive aura and technology updates. Fixes #2377 , Refs #1520 . Consequently reimplement repairing for AIs.
...
Fix a few style issues and a bug with the gatherer count.
Still need to fix the entity.js file to handle properly some things as
this uses raw templates values.
Cache the AIinterface in AIProxy.js, please report if this works
properly.
This was SVN commit r14588.
2014-01-16 20:32:44 +00:00
13105132a4
http://gifrific.com/wp-content/uploads/2012/06/You-Didnt-See-Anything-Madagascar.gif
...
This was SVN commit r14583.
2014-01-14 20:20:53 +00:00
d23b7deb98
Various improvements to AI's early game. Simplify some code and improve on other. Add a few different strategies (Rush/normal/boom, quite basic for now, refs #2344 ).
...
Aegis should mostly respect tech limitations so I'll ref #1964 .
I'm going to go with #2364 is fixed, the AI should be more efficient in
early-game, and late-game is a known problem.
Fixes #2274 and fixes #2379 .
Refs #2372 as it should fix several of those warnings for AIs.
Fixes #2256 with a new bartering system, in parts taken from mimo's
patch.
This was SVN commit r14582.
2014-01-14 19:54:31 +00:00
a26ab7b1e7
Should fix AI warnings (refs #2372 ).
...
Slight configuration changes to improve the early-game slightly, WIP.
This was SVN commit r14578.
2014-01-12 19:12:55 +00:00
34949b0943
Fixes some AI errors and missing VARs.
...
This was SVN commit r14576.
2014-01-12 17:34:18 +00:00
6c3bd4db1e
Fix previous AI commit.
...
This was SVN commit r14575.
2014-01-12 02:40:42 +00:00
9d02495a96
Fix a few bugs.
...
Improve the AI gamestate to make better use of entity collections,
should be very slightly faster, and it's cleaner.
Remove enemy watchers that were no longer used.
This was SVN commit r14574.
2014-01-12 01:07:07 +00:00
bc9b76c86b
Fix an error in defense.js (thanks mimo), and an issue in the HQ that made the AI start super slowly on some maps.
...
This was SVN commit r14572.
2014-01-11 18:51:37 +00:00
4ef80d26aa
Proper fix for the gatherer count. Fix an AI bug. Thanks to Gameboy and Gildas for reporting.
...
This was SVN commit r14571.
2014-01-11 18:14:13 +00:00
7606230158
Vars and style fixes.
...
This was SVN commit r14564.
2014-01-10 20:04:37 +00:00
bd22432fe8
Rename common-api-v3 to common-api.
...
Fix warnings with the new AI.
Fix an error with the per-player gatherer counts.
This was SVN commit r14559.
2014-01-10 17:46:48 +00:00
72c2853563
Update the tutorial AI (somewhat untested and hacky).
...
This was SVN commit r14554.
2014-01-10 02:08:59 +00:00
a6032ddd3f
Removes older AIs and APIs.
...
For the sake of it, we should have a minimal AI sometimes.
This was SVN commit r14553.
2014-01-10 01:48:09 +00:00
ede4f32bf2
Change the defense system used by Aegis to use more modular armies. This should be faster and easier to extend, though right now it might not be as efficient as before.
...
Fix a few bugs, including a few bad ones in the economy.
Change the way messages are handled, should be marginally faster in the
later game.
Makes gatherers count limit be per-player (refs #1387 and #643 ).
This was SVN commit r14552.
2014-01-10 01:46:27 +00:00
baf6925b66
Tactical varfare.
...
This was SVN commit r14528.
2014-01-06 20:55:22 +00:00
4a15ac406b
Move debug function and debug flag to API3 and use them from Aegis.
...
Remove copyPrototype from Aegis because that function is currently not
used and is already in API3.
Refs #2322
This was SVN commit r14446.
2013-12-30 14:28:30 +00:00
533f908f15
Some missing changes in #2322 .
...
Refs #2322
This was SVN commit r14442.
2013-12-30 10:25:50 +00:00
3362c591f5
Moves AI players to one global using the module pattern.
...
This avoids wrapping overhead that would otherwise be required because
multiple globals per compartment aren't supported anymore in newer
versions of SpiderMonkey.
Check the ticket for a detailed explanation.
Closes #2322
Refs #2241
Refs #1886
This was SVN commit r14441.
2013-12-30 10:04:59 +00:00
1efd47c1ad
Fix errors when loading a saved game with Aegis by making sure the AI re-inits properly. Still no real saved game support.
...
This was SVN commit r14329.
2013-12-11 17:10:14 +00:00
a44e88fa42
Check for "Destroy" messages beforehand in the base manager to avoid a rare error.
...
This was SVN commit r14320.
2013-12-09 16:35:06 +00:00
c3ef9b3685
Forgot I had renamed a file…
...
This was SVN commit r14318.
2013-12-09 14:23:56 +00:00
f9bee5d3ec
Slight de-obfuscation of the AI code.
...
This was SVN commit r14317.
2013-12-09 14:20:11 +00:00
36334a6fa7
Fix the AI incorrectly trying to place Civil Centres too close to each other.
...
This was SVN commit r14310.
2013-12-08 16:24:09 +00:00
1f7019f8e6
Might fix an issue on Acropolis where Aegis tried to build a CC too close to his main one.
...
This was SVN commit r14305.
2013-12-08 09:07:33 +00:00
f0fe2acdcb
Disables JIT compiling of a loop to work around OOS errors in multiplayer games with AI players.
...
Fixes #2000
This was SVN commit r14303.
2013-12-07 11:49:11 +00:00
2f3ce82dc3
Fix Aegis no longer building dropsites after the skirmish fix.
...
This was SVN commit r14295.
2013-12-05 17:34:24 +00:00
7b82fba8d0
remove distance sorting for formation place assignment, as it made the center of the formation run + remove debug warning in AI code
...
This was SVN commit r14292.
2013-12-05 12:31:04 +00:00
189ef85538
Fix AI errors on skirmish maps.
...
This was SVN commit r14285.
2013-12-04 16:52:44 +00:00
2418ae190d
Fixes some erroneous documentation in EntityLimits.
...
Removes previously implemented LimitsPerCivCentre from AI states.
Removes hardcoded categories from TrainingRestrictions
This was SVN commit r13950.
2013-10-06 03:13:46 +00:00
d663dae2d8
New version of Aegis. Huge rewrite for WIP naval support (still very, very buggy at this point.) Features a few bugfixes and might be more efficient than the former version.
...
NEEDS TESTING.
This was SVN commit r13907.
2013-09-29 13:32:52 +00:00
52f947fd77
Check that we still have build orders for our attack plan. Temporarily fixes #2082 for A14.
...
This was SVN commit r13761.
2013-08-25 08:20:40 +00:00
998dc21676
Removed old Aegis folder.
...
This was SVN commit r13687.
2013-08-17 14:12:25 +00:00
bcf7115b5c
Fix Aegis to work properly for A14, also rename the folder from "qbot-wc" to "aegis" (thus apparent huge number of changes). Adds a "sandbox" difficulty setting that will never attack, collect resources 50% slower, and is pop-capped at 70 for beginners.
...
This was SVN commit r13683.
2013-08-17 13:59:53 +00:00
fd428cf45b
Fix bug when randomly picking a unit to attack for AI's. Fix from bmwiedemann.
...
This was SVN commit r13599.
2013-07-27 15:08:45 +00:00
2ea7fb18ea
Backport c011875c5a
to the older APIs and allow for empty buildable entites token list.
...
This was SVN commit r13569.
2013-07-16 21:22:05 +00:00
c011875c5a
Fixes an issue with Aegis and the iberians
...
This was SVN commit r13563.
2013-07-15 19:47:59 +00:00
4fc15a9b08
Renames mill to storehouse
...
This was SVN commit r13496.
2013-06-22 02:28:54 +00:00
2c52099ddd
Fix previous commit because of course there was test code in there. Make Aegis build more farms because of recent changes.
...
This was SVN commit r13426.
2013-05-25 16:24:05 +00:00
f372f9184c
Fix Aegis breaking the profiler after some time ( Fixes #1945 . Fix typo ( Fixes #1947 ). Patches by Markus.
...
Also one other fix for something attack related (probably, code is old
and I can't recall).
This was SVN commit r13425.
2013-05-25 15:56:11 +00:00
09108e6a97
Some more vars
...
This was SVN commit r13408.
2013-05-16 16:17:37 +00:00
de5d4491ab
var-fare
...
This was SVN commit r13404.
2013-05-12 22:28:02 +00:00
d0a695f7fb
Allow mutual allies to garrison in each others buildings. Patch by mimo. Fixes #1807 .
...
This was SVN commit r13357.
2013-04-14 00:34:14 +00:00