1
0
forked from 0ad/0ad
Commit Graph

150 Commits

Author SHA1 Message Date
6adccf3660 Hide unusable AIs from the default match setup drop-down list.
This was SVN commit r12626.
2012-09-04 07:09:36 +00:00
a972ba900d Renamed qBot-experimental to something nicer. Can easily be changed to something else.
This was SVN commit r12610.
2012-09-02 22:16:41 +00:00
0cd7da8d0d A C-style for loop is needed for this to iterate as expected.
This was SVN commit r12576.
2012-09-01 10:43:05 +00:00
2bdb8f75ff Check the length of the unit collection in started attack plans to avoid errors. Fixes #1620
This was SVN commit r12531.
2012-08-26 11:25:39 +00:00
70c317b1b0 Hunt all domestic animals, not just very weak animals (<= 10 health).
This was SVN commit r12500.
2012-08-20 23:37:19 +00:00
af005b00b2 Added AI handling for 'resource|' pseudo-templates.
This was SVN commit r12495.
2012-08-20 18:02:56 +00:00
8256f691f4 Optimizations, and made qBot-xp destroy walls when Iberians (but not towers).
This was SVN commit r12436.
2012-08-15 09:06:45 +00:00
aa86664d8f Make sure to initialize the entity collection's cached length before modifying the actual object. Fixes #1535.
This was SVN commit r12432.
2012-08-15 01:31:53 +00:00
9e9e1e3b78 Optimize enemy watchers usage. This should avoid massive lag later in the game.
This was SVN commit r12401.
2012-08-13 08:06:20 +00:00
96534fc5ed Fix a problem with civilizations who didn't have advanced building defined.
This was SVN commit r12359.
2012-08-11 12:41:29 +00:00
226738d447 Last batch of fix for qBot-xp for the day if all goes well.
This was SVN commit r12358.
2012-08-11 10:36:39 +00:00
508994e4c8 Fix a typo.
This was SVN commit r12357.
2012-08-11 07:59:05 +00:00
dc916e7295 Fix bugs related to garrisoning, should fix the pathfinder sometimes choosing a path over water when unneeded.
This was SVN commit r12356.
2012-08-11 07:41:23 +00:00
07ea313ad6 Major update for qBot-xp, with slight changes to unitAI (that broke qBot, and fix for that).
This was SVN commit r12343.
2012-08-10 16:33:58 +00:00
36cc1766a4 General improvements to the attack plans and the defense manager. Slight econ improvements (better early game priorities, faster play, better farming, tentative to get qBot to crowd resources less, tweaking of dropsites variable). Many bugfixes, should be stable enough for alpha 11.
This was SVN commit r12283.
2012-08-05 11:19:31 +00:00
2ee61750b4 Forgot to fix a few things before committing.
This was SVN commit r12268.
2012-08-03 16:12:45 +00:00
45ee419171 Adding an experimental version of qBot. This is half a crossover with my former Marilyn bot (defense manager, attack plans) and some improvements here and there that I believe could help improve the bot.
This was SVN commit r12267.
2012-08-03 15:52:18 +00:00
c22476eee2 Check for builders that can't place foundations (e.g. Mauryan worker elephants)
This was SVN commit r12257.
2012-08-01 19:22:45 +00:00
463e62a514 Added checks to see if a resource is in another players territory and to mark a resource as inaccessible if a unit has spent too long trying to reach it.
This was SVN commit r12074.
2012-07-05 21:14:48 +00:00
c2c0469472 Make qBot swap gatherers based on gathering speed and always deposit resources when switching resource.
Also added missing var's in for loops.

This was SVN commit r11879.
2012-05-18 22:27:08 +00:00
d7faa813f4 Update territory bitmask and add a returnResource command for entities.
This was SVN commit r11878.
2012-05-18 22:10:56 +00:00
09414078fd Switched warning to a debug so that only AI devs see it. Fixes #1403.
This was SVN commit r11856.
2012-05-13 15:04:25 +00:00
0b1d911675 Added check for existance of ent.resourceSupplyType(). Fixes #1402
This was SVN commit r11850.
2012-05-12 14:18:40 +00:00
4a73b85a4b Increase maximum treasure priority distance and check that a dropsite has nearby resources
This was SVN commit r11840.
2012-05-11 22:44:37 +00:00
3b25e106b2 Fix bug in nearby resource caching so that a dropsite which had nearby resource depleted will be marked undepleted if new resources appear (farms) and add soem ecnomic upgrades strongly inspired by Marilyn (thanks Wraitii).
This was SVN commit r11828.
2012-05-10 22:17:21 +00:00
db1b4dcc4f Added an existance check for metadata on unit destruction
This was SVN commit r11822.
2012-05-10 19:45:34 +00:00
c1c00d1617 Added resource gatherer counting for qBot and fixed nearby gathering locations code.
Also switched to SquareVectorDistance in filters as suggested by
wraitii.

This was SVN commit r11820.
2012-05-10 18:38:13 +00:00
7180cd9076 Added advanced buildings for new civs and hopefully stopped heroes from being trained.
This was SVN commit r11765.
2012-05-05 21:59:15 +00:00
f01806772f Fixed changes from [11719] for case where ent is not set. Thanks to leper.
This was SVN commit r11723.
2012-05-02 19:50:48 +00:00
94eaa9d1d5 Bug fixing for common-api
Fixed entity collection length sometime being NaN
Added a "not" filter
Added create events to resource map updates, should help with farming.

This was SVN commit r11719.
2012-05-02 16:18:32 +00:00
62adf20f37 Check if we have a postition.
This was SVN commit r11716.
2012-05-01 23:06:16 +00:00
7c93499c7d Fix qBot infinite loop due to NaN priorities
This was SVN commit r11684.
2012-04-27 21:57:38 +00:00
vts
bb9af6da12 Requested update from quantumstate via IRC
This was SVN commit r11640.
2012-04-22 21:36:37 +00:00
d9b8df65be Some refactoring of the military qbot code.
This was SVN commit r11627.
2012-04-22 13:04:31 +00:00
b9695db52c Don't add units to selection if the selected unit isn't owned by the player. Fixes #1256, based on patch by mk12.
Update AI API to Health changes.

This was SVN commit r11608.
2012-04-21 20:50:07 +00:00
774809b0a9 Allow training in all selected buildings. Fixes #1210.
This was SVN commit r11592.
2012-04-21 00:21:01 +00:00
06b342db46 Fix save/load with common-api-v2
This was SVN commit r11590.
2012-04-20 21:31:43 +00:00
b7cf51be34 Check properties exist in resourceSupplyAmount and resourceCarrying to avoid warnings. Code from wraitii
This was SVN commit r11587.
2012-04-20 19:48:25 +00:00
755e407aeb Technologies. Refs #3. Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00
be0109331c New update. Tightens up some of the military side of things.
This was SVN commit r11583.
2012-04-20 16:53:31 +00:00
7653043759 Changed some old class filters from Super to Champion
This was SVN commit r11559.
2012-04-18 21:05:36 +00:00
a9475c3854 Stops qBot training heroes and makes it build a market after abuot 10 minutes.
This was SVN commit r11557.
2012-04-18 20:54:14 +00:00
4b4411116f Actually committed the Filters.byOwners fix mentioned in 167cd7151e
This was SVN commit r11546.
2012-04-18 10:49:45 +00:00
167cd7151e Bug fixes and dead code removal
Fixed Filters.byOwners, before it was using indexOf() which caused
problems with number/string inequality.
Fixed the countUnassignedUnits and getAvailablenits functions to work
with the new filters.
Removed old updating entity collection code since it has been replaced
by the common-api-v2

This was SVN commit r11545.
2012-04-18 10:46:24 +00:00
af207e1c0a Fixed the gameState.GetEntityById() function
This was SVN commit r11526.
2012-04-16 16:54:11 +00:00
52efb54673 Added serialize and deserialize functions to common-api-v2
This was SVN commit r11522.
2012-04-15 22:31:17 +00:00
5184edde14 New patch for JuBot
- Speeds up a lot of functionality by using persistent entity
collections, speed boost should be significant and noticeable.
- Adds defence towers covering all dropsites, with garrisons

This was SVN commit r11487.
2012-04-12 07:08:12 +00:00
25b3242ba4 Adds a "byNotOwner" filter for finding enemies, non-gaia objects, etc more easily.
This was SVN commit r11485.
2012-04-11 20:32:25 +00:00
566a4588b6 This update to JuBot transfers to the v2 SVN, and adds tower garrisoning.
This was SVN commit r11455.
2012-04-08 16:58:57 +00:00
4a12049df5 Put resource accessibility checks back for the new worker code
This was SVN commit r11445.
2012-04-06 19:53:50 +00:00