DyDo skirmish AI: ver 2.1.1 (21 Apr 2010)

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
guciomir
Trained
Trained
Posts: 133
Joined: 05 May 2009, 22:27

Re: DyDo skirmish AI: ver 1.0

Post by guciomir »

of course I'd like to test it (don't know if i will have any free time to do so)

I think you could make it downloable from your website, you will have more testers. If you feel that this is development version (or not stable) than you can host multiple files with proper descriptions. For example: 1.0 ->stable. 1.0.1 ->latest but not stable.
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany
Contact:

Re: DyDo skirmish AI: ver 1.0

Post by DylanDog »

Per wrote:We cannot do that as long as the license is non-commercial only, because then linux distros etc cannot touch it.
I was not aware of this...I will change the license then. Would this one be ok?

@ guciomir and everyone interested in the current build I am working on, you can download it from here.

DD
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: DyDo skirmish AI: ver 1.0

Post by Per »

DylanDog wrote:Would this one be ok?
Yes. That one is fine.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: DyDo skirmish AI: ver 1.0

Post by Berg »

I have just played a single player skirmish ...was wicked good fun
Ok i did note that one of the generals built themself into there base effectivley making themself undable to fight
I have added a screenshot
screenshot.gif
I did not limit any structures and it seemed to build ok the bases were poorly defended
but other then that it was a realy good war...
Thank you

I used your version dydo-ai_1.0.12. from your web site
Cockpit was the map

PS> i looked in the warzone folder for error txt and found this
info |10:17:07: [SDL_main] (global) mod (dydo-ai_1.0.12.wz) is enabled
error |10:17:07: [lev_error] Level File parse error: `Syntax Error` at line `4` text `2`
error |10:17:07: [loadLevFile] loadLevFile: Parse error in 2c-2c-newmap.addon.lev
error |10:17:07: [lev_error] Level File parse error: `Syntax Error` at line `4` text `c`
error |10:17:07: [loadLevFile] loadLevFile: Parse error in 2c-newmap2.addon.lev

I dont know what it means but i hope it helps.
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany
Contact:

Re: DyDo skirmish AI: ver 1.0

Post by DylanDog »

Berg wrote:I have just played a single player skirmish ...was wicked good fun
Ok i did note that one of the generals built themself into there base effectivley making themself undable to fight
...
I did not limit any structures and it seemed to build ok the bases were poorly defended
but other then that it was a realy good war...
Thank you
I have updated with this info the webpage concerning the maps where DyDo is ok to play.

I am not 100% sure but the error you posted seems to be related to the map and not to the AI script.

Happy to read you had fun!
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: DyDo skirmish AI: ver 1.0

Post by Zarel »

Why can't DyDo deal with oil resources on islands? There's continent code in the AI... use that.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: DyDo skirmish AI: ver 1.0

Post by Per »

Zarel wrote:Why can't DyDo deal with oil resources on islands? There's continent code in the AI... use that.
Only actually doing something in trunk, though. Continent calls in 2.2.x are just dummy function calls to help make AIs API compatible.
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany
Contact:

Re: DyDo skirmish AI: ver 1.0

Post by DylanDog »

Important update on my work.

Here you can find the last build (1.0.2) I am currently working on and is offered as download for test purposes.
It contains two important bug fixes and some rebalancement which should make AI now harder to beat.

The bugs were influencing the
1) VTOLs management - Attack
2) Repaired units were not switched back to their original groups making them useless (just staying in the base)

Thanks to the guys who posted here thier comments as they helped to identify the bugs!
Please test it!

@ Zarel yes, DyDo uses already droidCanReach() (is this what you mean?) but is returning always dummy yes as already Per explained.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
guciomir
Trained
Trained
Posts: 133
Joined: 05 May 2009, 22:27

Re: DyDo skirmish AI: ver 1.0

Post by guciomir »

nice :)

i can not load the game in 1.0.2. (it was also saved in 1.0.2). There is crash to desktop. I do not know where the save games are stored in linux :( so i can not send it to you.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: DyDo skirmish AI: ver 1.0

Post by Berg »

When i limit the stuctures to:-
1 factory
1 cyborg factory
2 power gen
1 aeroplane
10 re-arm

The AI does not upgrade the factories
It looks like when you change the default struture limits the AI gets a brainfart.
with no limits set it seems to progress fairly well

I dont know if limits effect your AI but it looks that way

---->back to testing
hehehehe

this is on dydo-ai_1.0.2.wz
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: DyDo skirmish AI: ver 1.0

Post by Buginator »

guciomir wrote:nice :)

i can not load the game in 1.0.2. (it was also saved in 1.0.2). There is crash to desktop. I do not know where the save games are stored in linux :( so i can not send it to you.
FYI, *any* change in the scripts that have to do with variables, then you can't use old savegames that were made with the old scripts. Might as well delete those.
and it ends here.
guciomir
Trained
Trained
Posts: 133
Joined: 05 May 2009, 22:27

Re: DyDo skirmish AI: ver 1.0

Post by guciomir »

Buginator wrote:
guciomir wrote:nice :)

i can not load the game in 1.0.2. (it was also saved in 1.0.2). There is crash to desktop. I do not know where the save games are stored in linux :( so i can not send it to you.
FYI, *any* change in the scripts that have to do with variables, then you can't use old savegames that were made with the old scripts. Might as well delete those.

the problem is this is the same, not the old version :(

could you tell me where the savegames are stored in linux?
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: DyDo skirmish AI: ver 1.0

Post by Buginator »

guciomir wrote: the problem is this is the same, not the old version :(

could you tell me where the savegames are stored in linux?
It is... ./warzone2100-2.2 or ./warzone2100-2.3 depending on which version of the game.

As for your other issue, I haven't used this AI, and I don't got time to investigate what is going on. Sorry. :(
and it ends here.
guciomir
Trained
Trained
Posts: 133
Joined: 05 May 2009, 22:27

Re: DyDo skirmish AI: ver 1.0

Post by guciomir »

something bad happened with the newest dydo. AI does not research well. I did not see any medium body in 2 games (general 1 and 2)
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany
Contact:

Re: DyDo skirmish AI: ver 1.0

Post by DylanDog »

guciomir wrote:nice :)
i can not load the game in 1.0.2. (it was also saved in 1.0.2). There is crash to desktop. I do not know where the save games are stored in linux :( so i can not send it to you.
Usually you cannot load games saved with previous versions, see here for more info.
guciomir wrote:something bad happened with the newest dydo. AI does not research well. I did not see any medium body in 2 games (general 1 and 2)
This happens because when Phyton can be built DyDo builds up the best 5 templates using the following rule:
55% prob best two templates (both phytons)
45% prob best third,fourth and fifth (best 3rd is phyton 4th and 5th are cobra)

After Phyton, only Tiger, Retribution and Vengeance templates are built. Possibly this requires some more templates, I will add some Leopard, Panther, Mantis and Scorpion templates but not all templates are available to be built to the AI (only those listed into templates.txt).

Berg wrote:When i limit the stuctures to:-
1 factory
1 cyborg factory
2 power gen
...
The AI does not upgrade the factories
I dont know if limits effect your AI but it looks that way
...possibly such low limits affects DyDo as it aims to build 3xFact, 3xcybFact and 3xResLab as first thing -> before doing upgrades and taking many other actions too. Do not set limits below 3. There is no way for DyDo to become aware of the limits manually set by the player, therefore I cannot make a little change to the script to take this into account...this would require a major change.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
Locked