Mythos_Ruler Posted October 3, 2011 Report Share Posted October 3, 2011 Try gathering from an enemy (non-gaia) farm some time I wouldn't see anything wrong with doing it. It's a farm field. Seems kinda silly to whack it with swords or shoot it with catapults. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 3, 2011 Author Report Share Posted October 3, 2011 Simulated 15 minutes. Somehow bot decided that 20 women should just stand near town center. It built barracks and some houses but not any farms. Tested on build 10359 with latest qbot code taken from git.Thanks for testing, obviously it isn't meant to do that, more to the point I haven't observed it do that. Could you tell me what map you were playing on and which player number qBot was? Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 4, 2011 Report Share Posted October 4, 2011 Thanks for testing, obviously it isn't meant to do that, more to the point I haven't observed it do that. Could you tell me what map you were playing on and which player number qBot was?I played small (2pl.) random map on latium. Qbot was the second player.I will test it more today. Giving reports later. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 4, 2011 Author Report Share Posted October 4, 2011 I played small (2pl.) random map on latium. Qbot was the second player.I will test it more today. Giving reports later.I just tested on Latium, qBot built farms at the start. I have had a problem with a wood shortage in late game which should now be fixed and the map looks quite wood scarce so if you arrived at qBot later in the game it may just have run out of wood. I would advise against playing on Latium due to the wood deficit, until the resource drop code is written it won't give a very good game. I would recommend Oasis II or Hellanized Egypt, Badlands should be better for a random map but not great. Make sure you update to the latest version before testing again since I did some significant bug fixing.Thanks for the reports, they are helpful. Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 4, 2011 Report Share Posted October 4, 2011 Ok. Getting newest code first. I test new versions of bots with reveal map enabled so I can see how they grow and if they are bugged. Quote Link to comment Share on other sites More sharing options...
JuliusColtranePille Posted October 4, 2011 Report Share Posted October 4, 2011 tested newest qBot on alpha 7 G...unfortunately it does not work, getting error-messages all the time anyone else the problem with the alpha 7 and QBot?older version of Qbot functionated... Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 4, 2011 Report Share Posted October 4, 2011 (edited) Really impressive quantumstate. Played on Oasis 2. First time in 0AD gaming history I got attacked by such large force I just watched bot growing base and did not pay much attention to my own growth. I made small force (5eleph, 10 bow, 5spear 4 siege) and attacked to see how it would defend itself. Defending soldiers were no match but bot had decided to make huge force quickly for attack purpose. Troops started to spawn in the middle of my small army and killed half of my remaining army and then set course to my CC. It attacked 2 times with large force. Then I camped outside their territory with bowmen and killed every women who were going to chop some wood. Bot sent 100-150 women to death in 12 minutes.One suggestion for bot would be it that it sends soldiers to protect women if they are attacked. I could just set stand ground for bowmen and let them shoot even buildings.Also I did not see a single tower. Edited October 4, 2011 by Linux_Eki Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 4, 2011 Author Report Share Posted October 4, 2011 (edited) tested newest qBot on alpha 7 G...unfortunately it does not work, getting error-messages all the time anyone else the problem with the alpha 7 and QBot?older version of Qbot functionated...Sorry, I have been submitting patches for the game to enable features which I am using in my AI. qBot isn't significantly better than JuBot (if at all) for the versions which will work so I don't consider it worthwhile to mark a release for alpha 7 compatibility. qBot will only be compatible with the svn version of the game until Alpha 8 at which point I will create a release version. My entire (not quite released) military design requires a newer game version plus some other useful more minor useful stuff (currently what breaks) is helpful.Then I camped outside their territory with bowmen and killed every women who were going to chop some wood. Bot sent 100-150 women to death in 12 minutes.One suggestion for bot would be it that it sends soldiers to protect women if they are attacked. I could just set stand ground for bowmen and let them shoot even buildings.Also I did not see a single tower.I just asked my friend to play-test a couple of hours ago and he hit upon the same strategy. The AI had trained (and lost) about 300 women by the end of the game. I will add towers (crudely placed) now since it is a trivial modification, I am not sure why I haven't done it before. I have actually written a defensive module, unfortunately it doesn't yet release the soldiers from its control so my AI never attacks when it is enabled. I should get it finished soon (time permitting).Edit: Just committed the towers plus quite a few other military improvements. I managed to make a complete mess with git branches but eventually it is all back correctly into the master branch. Edited October 4, 2011 by quantumstate Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 5, 2011 Report Share Posted October 5, 2011 (edited) More challenge this time. I rushed them but the amount of women is so stunning that I can never kill all those with 20-28 soldiers. I can't even stop wood gathering which would stop soldier production. There were one tower already when I came. I destroyed it and some reinforcements that bot made but then bot started to build 3 towers and it was gg. Lost my men and had to concentrate my poor economy. Final solution was to make some rams and quickly destroy CC. Then towers and barracks.I played on random badlands and bot tried to build in top of some hill which was not accessible by troops. It didn't halt building production luckily. Edited October 5, 2011 by Linux_Eki Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 5, 2011 Author Report Share Posted October 5, 2011 I have just enabled my newer military code. It can now defend the town so it also sets the citizen soldiers to work, making the economy even stronger. Other big effects are that it now builds towers and advanced buildings and trains advanced troops from those buildings. Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted October 6, 2011 Report Share Posted October 6, 2011 Tested the latest iteration. Very nice. It gave me a few surprises and did better than Jubot has done against me, overall. I would look into how Jubot places Mills and see if you can't emulate that and improve upon it. I think the big thing lacking with qbot economically is the fact it doesn't place Mills. I think Jubot just searches for nearby Stone Mines and Metal Mines and places a Mill nearby. One thing that Jubot does too is that when it sends some soldiers to attack, the column will occasionally respond to being attacked. Quote Link to comment Share on other sites More sharing options...
JuliusColtranePille Posted October 6, 2011 Report Share Posted October 6, 2011 so cool to hear all that,pity that it won't work with alpha 7 build 2588.keep on the good work; thumbs up Quote Link to comment Share on other sites More sharing options...
UV_Completion Posted October 8, 2011 Report Share Posted October 8, 2011 I tested the latest GIT and hit some problem in the tree map code:ERROR: JavaScript error: simulation/ai/common-api/base.js line 36TypeError: name is undefined ((void 0))@simulation/ai/common-api/base.js:36 ([object Object],[object Object])@simulation/ai/common-api/entity.js:177 ([object Object],[object Array])@simulation/ai/qbot/economy.js:267 ([object Object],[object Object],[object Array])@simulation/ai/qbot/economy.js:330 ()@simulation/ai/qbot/qbot.js:70 ([object Object])@simulation/ai/common-api/base.js:91 @:0I was playing against two JuBots and a qBot on a random map. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 8, 2011 Author Report Share Posted October 8, 2011 I tested the latest GIT and hit some problem in the tree map code:ERROR: JavaScript error: simulation/ai/common-api/base.js line 36TypeError: name is undefined ((void 0))@simulation/ai/common-api/base.js:36 ([object Object],[object Object])@simulation/ai/common-api/entity.js:177 ([object Object],[object Array])@simulation/ai/qbot/economy.js:267 ([object Object],[object Object],[object Array])@simulation/ai/qbot/economy.js:330 ()@simulation/ai/qbot/qbot.js:70 ([object Object])@simulation/ai/common-api/base.js:91 @:0I was playing against two JuBots and a qBot on a random map.Thanks for the report, I have committed a patch which should fix this. I am unable to reproduce the bug so am not entirely sure about the fix so please say if it crops up again.For future reference it is sometimes helpful to know what map and roughly what stage of the game you were in. It would be nice to have but any bug report is better than none . Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted October 9, 2011 Report Share Posted October 9, 2011 Check out the angle which the bot constructs buildings. Jubot has it correct. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 9, 2011 Author Report Share Posted October 9, 2011 Check out the angle which the bot constructs buildings. Jubot has it correct.Ah yes, I was pi/2 out, it is corrected now for prettiness. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 14, 2011 Author Report Share Posted October 14, 2011 I have just written a rough overview of how qBot works. It is found at https://github.com/quantumstate/qBot/wiki/qBot-Structure-Overview Quote Link to comment Share on other sites More sharing options...
Pureon Posted October 15, 2011 Report Share Posted October 15, 2011 Brilliant to see qBot expanding its territory with civic centres, and overall its economy is very strong now, quite comfortably equaling my own.p.s. Thanks for the writing the overview Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted October 15, 2011 Report Share Posted October 15, 2011 Brilliant to see qBot expanding its territory with civic centres, and overall its economy is very strong now, quite comfortably equaling my own.Agreed. Great to see! qBot is becoming more and more of a challenge. Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 16, 2011 Report Share Posted October 16, 2011 (edited) I am trying to make rusher from qbot. Its bit hard because I can't code a single line of javascript But I will try changing the way how qbot does things.Some progress. Attacks in under 4 minutes on random latium map while original qbot takes 9-12 minutes for first attack. If tested on Oasis II attack times are quite the same 7-9mins for both. Edited October 16, 2011 by Linux_Eki Quote Link to comment Share on other sites More sharing options...
infyquest Posted October 16, 2011 Report Share Posted October 16, 2011 I am trying to make rusher from qbot. Its bit hard because I can't code a single line of javascript But I will try changing the way how qbot does things.Some progress. Attacks in under 4 minutes on random latium map while original qbot takes 9-12 minutes for first attack. If tested on Oasis II attack times are quite the same 7-9mins for both.if you post the code somewhere, we all can try to improve qBot's code Quote Link to comment Share on other sites More sharing options...
Linux_Eki Posted October 16, 2011 Report Share Posted October 16, 2011 You can already get code of qbot. If I manage to make something good that works like I want then I will post code for others to test. Quote Link to comment Share on other sites More sharing options...
infyquest Posted October 16, 2011 Report Share Posted October 16, 2011 I have some working sent to quantum to be included in the qbot If you have any other cool ideas to be implemented let us know. Quote Link to comment Share on other sites More sharing options...
quantumstate Posted October 16, 2011 Author Report Share Posted October 16, 2011 Having different tactics available for qBot would be nice. In the future it should be possible to make qBot randomly pick a strategy and perhaps have them selectable on the AI options screen. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted October 16, 2011 Report Share Posted October 16, 2011 Having different tactics available for qBot would be nice. In the future it should be possible to make qBot randomly pick a strategy and perhaps have them selectable on the AI options screen.Very nice For the AI options, there's a ticket which includes that. I was thinking of defining the list of possible options in the AI JSON data, which becomes a series of dropdowns in the AI config box. Hmm, I'm not sure if setup options even get passed to the AIs, but if not we can add that 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.