Jump to content

lexa

Community Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lexa

  1. hey! I did a new version of the bot, let me know what you think :)

  2. Hello, Here is the 1.0alpha2 version of Split Bot. It is more aggressive since it builds strong soldiers now, and attacks use much less CPU because it attacks in waves of 30 to 40 soldiers. The defense is still hazardous since there is no Defense Agent yet and it does not detect that it is under attack, but it builds defense towers and keeps men for defense. download: http://code.google.c.../downloads/list bug report: http://code.google.com/p/split-bot/issues/list 1.0alpha2 change log: * 2 teams of builders * teams of warrior agents * attack units and structures * attack closest from the attacker agent, not from the CC To do for alpha3: http://code.google.c...t/wiki/ToDoList Road map for beta1: http://code.google.c...ot/wiki/RoadMap
  3. Hi

    I did a little pause, but yes I do :)

    And you ? I saw commits on github from you right?

  4. Héhéhé, I told you it was a nasty bot... I am not sure that you would have ended dead or not, but I think so because once it attacks you, it never stops building new units and sending them by group... Anyway you are better than me because I can not keep my unit count above the AI's one For the lag, I have a plan. There will be another Agent class which is the AttackerAgent. The bot it will split in several attacker agents - that is why the bot is called Split Bot, it splits in many Agents, and each attacker will have something like 10 units. That is how we can avoid what happens now, which is an order to attack one building or go to one position, given to 150 units. Thank you for the test
  5. Ok, I got it: something went wrong when I packaged the file Now it is ok Sorry for this
  6. Hi Thank you for the test The warnings are ok, I'll check it later, it is due to javascript strict mode and I should fix each error by hand The error is a problem and I do not have this at home Can you try wirth the latest release of 0ad ?
  7. Here is the link to download the Split Bot alpha1
  8. hey guys maybe you could check it out, because the bot has beat me last time! it does not build strong warriors or machines yet, but still is very quick to build an army and attack :-o
  9. Hello I am about to release the 1st alpha version of the SplitBot AI bot, in haxe here It beats the other bots with 100% success (I tried about 5 times with each bot), but in fact the defense and attack are not implemented for now. It builds a decent village very quickly and grows a population of 200 workers before sending all "men" to the nearest enemy... And now I have a question: is it possible to accelerate time for testing the bot? I do not need the rendering during the "acceleration".. Thank you all, lexa.
  10. Hello Just to let youknow that I am almost at the alpha1 and the bot seems to win against JuBot and RootBot together I still have several things to package and optimize before the alpha1, see SplitBot short term road map for more details
  11. Great, thank you! (joke)So you are not angry against me anymore? Remember I defeated you a few months ago! This seems very interesting to me!!! That would have ease my work a lot I felt like I almost had to reverse engineer some classes and types... And the debugging is a pain, but that is usual in js... You do this in C++ right?
  12. Thanks, I'll look at it closely. I hope we will be able to do bot battles also Ah ok... Do you know if there are changes in the scripting API in th alpha 7 ? And when it is planned to be ready ?
  13. Hello Thank you very much for your encouragement. Back from vacation and back to 0ad. I am not sure about the decision tree yet, I have several ideas which I am testing... Anyway, I have a clean fully typed classes which map all the classes and objects of the common api (externs in haxe) I let you know when I have something serious to play with Bye!
  14. Hey, this is good, I take it for my bot If you have other "trees" like that, please do not hesitate to add them here, we discuss it and I will implement it soon since I have all the structure almost set for my bot http://code.google.com/p/split-bot/wiki/Behaviors I will test the RootBot tonight Bye!
  15. Hi Thank you very much for these tips! It seems ok to me the common-api for now... So far there is only one bug whoch is bothering me http://trac.wildfiregames.com/ticket/897 I would be glad to help improving it. I believe, the haxe "extern" classes are at least a fully typed version of the api. It is easyier to understand I guess. http://code.google.com/p/split-bot/source/browse/#svn%2Ftrunk%2Fsrc%2Forg%2Fzeroad%2Fcommon_api I will keep you informed, bye!
  16. Hi gudo, thank you for your interest I did not modify it, I did haXe extern classes, which is like an import at runtime, but it gives you auto completion and type checking. I just did! There is a mistake in the common api I think: http://trac.wildfire....com/ticket/897 It is just a bit too early, for now it only traces some data... Thank you for your advice, bye! And my question remains: Do you know a place where these javascript classes are documented? TemplateStatePlayerMap
  17. Hi Thank you for your answer I am very happy with haxe. It is really something you know... And I already have an AI Bot running. So now is the part where I am trying to look into Entity objects, I make them move or build and when I'll be comfortable, this will be the time to implement my logic! Bye!
  18. I feel a bit lonely here... But here is the google code project for my AI Bot, which I have called the Split Bot, read the description to understand why. I choose to develop in haXe which is a very structured language which can be "compiled" in javascript code. Here are the javascript common-api classes in haXe : http://code.google.com/p/split-bot/source/browse/#svn%2Ftrunk%2Fsrc%2Forg%2Fzeroad%2Fcommon_api These are haXe "extern"s which will link to the actual javascript classes of 0 A.D. at runtime.
  19. For example, how to access these methods and structures from javascript Player http://svn.wildfiregames.com/docs/classCCmpPlayerScripted.htmlEntity data struct http://svn.wildfiregames.com/docs/structEntityData.htmlEntity struct http://svn.wildfiregames.com/docs/structEntity.htmlPosition http://svn.wildfiregames.com/docs/classICmpPosition.htmldistance ordering filter http://svn.wildfiregames.com/docs/structEntityDistanceOrdering.htmlVisual element http://svn.wildfiregames.com/docs/classICmpVisual.html
  20. Hi I try to make my 1st contribution in AI scripting. Would you have some tips and tricks? Especially for testing, reproducing scenarios?I am looking for more examples of use of all the methods of the Entity classAnd like to know more about the difference of the methods Entity:setMetaData and the methods like Entity::move Thank you in advance, Bye
  21. Hi I try to make my 1st contribution in AI scripting. Would you have some tips and tricks? Especially for testing, reproducing scenarios? And any clue about where to find the up to date API for javascript scripting? I still looking for all the methods of the Entity class, like move or setMetaData... Thank you in advance, Bye
×
×
  • Create New...