Grepolis bot (Now with attack option)

06/27/2010 18:43 Utharnl#616
Yes this includes the fix I made for you earlier.

~Uthar
06/28/2010 11:04 Dr.Lan#617
it doesent work

"Make sure all text files are in the same directory as the bot."

what did that mean ???
06/28/2010 11:14 Utharnl#618
Hmm, that isn't exactly right any more since v1.9.0. I'll update the guide. You directory should like like this:[Only registered and activated users can see links. Click Here To Register...]

And the directory config includes all settings/saved files.

~Uthar
06/28/2010 15:04 abelbanaan#619
hey , a tutorial would be nice?
just an idea from a guy that tried it today and gets in problems lol
so let me know it!

Abel
06/28/2010 15:09 Utharnl#620
Tutorial is already done :)
You can find it at the start post of this topic or at my own [Only registered and activated users can see links. Click Here To Register...]

~Uthar
06/28/2010 15:35 abelbanaan#621
hey man okay thanks , but can u tell me how i see my buildings are ready? could u please tell me ? cause all the time , i click clear all cause i dont know what to do

greetings
06/28/2010 15:36 abelbanaan#622
or you could give me your msn so we can talk about it , would be great.
06/28/2010 15:49 Utharnl#623
It's really easy, you don't have to do much for it.
Just click the build buttons and they will be added to bots building queue. The bot will automatic remove them from this queue when it starts building it.

Also there are two timers, one for attacks and one for the buildings. You will find those settings at View->Settings:
Timer Attack (Minutes)
Timer Build (Minutes)

If you have for example the build timer on 15 minutes the bot will check every 15 minutes if it can make a building.

~Uthar
06/28/2010 15:55 abelbanaan#624
okay , very much thanks :D but still i dont get it -.-'' its like this : im trying to build some thing , than i think its not building so i press : clear
after that i do it again , and same thing is doing.

so still dont get it .
06/28/2010 21:59 cengiz han#625
Quote:
Originally Posted by Beastygirl View Post
I lost 200+ horseman on farming :-(

I cant believe that no other person have that issue??

edit: I have only 1 town at that island ( I have 14 towns at all ).
I wrote a similar issue, but I lost only "80" hurler. The new version is released.
I will try it.

Utharnl, does the new version now supports the farms until they reach 100% of strenght, before the attackers are sent out? I´m not sure, how the farm/attack logic currently works, if I place 75 hurlers for support and 193 archers for attack.
06/28/2010 23:13 Utharnl#626
I hope it doesn't happen again, not really fine to lose troops on a farmer.
But it works like this:
You have three settings that are used for this, Min. Mood / Min. Strength / Min. Mood (Support)
First of all the bot checks if there are any incoming troops for that farmer, both attack and support. If yes, the bot will skip this farmer and looks for the next one.
When it finds one that hasn't any incoming troops it will check the mood and strength.
When the farmers Strength and Mood are both above the settings Min. Mood / Min. Strength the bot will attack that farmer.
When the bot can't find any farmer with enough Mood/Strength it will support a farmer, but only when that farmer has enough mood (Min. Mood (Support)).

As soon as there is a farmer above the Min. Mood/Strength setting the bot will attack that farmer again. It will not wait till the farmer reaches 100% strength (Or you should have set Min. Strength at 100%)

~Uthar
06/28/2010 23:28 radarraider#627
Ok sry for my late response but it appears that there is something wrong with my island.

Because i tried to create an account and it worked just fine on se2

Is there something i can do about it?
06/28/2010 23:42 Utharnl#628
Can't really think of anything why it only works on your new account and not on your old account besides your settings. But you already deleted all those files and tried it again with no success...

If I think of something I'll let you know.

~Uthar
06/30/2010 01:08 radarraider#629
FINALLY! I found the problem! There seems to be a problem when someone else is supporting you current city with allied troops. I sent my allies support units back and my bot now works without problem! :)
06/30/2010 12:19 Utharnl#630
Nice work radarraider!
I Checked the code and when the bot is counting the units in town it also counts the units that there are for support as your own.
The error you got previously is because the bot tried to attack farmers with units that were not yours.

//edit
Waiting for someone on my island to send support so I can test it.
Or if someone want to help and you have support in your town you can click on your building "Agora" and then send me the source code of that page (View -> Page Source in Firefox).

~Uthar