Grepolis bot (Now with attack option)

07/12/2010 23:16 g-spot-139#676
Quote:
Originally Posted by Beastygirl View Post
@utharnl: some feedback... maybe u remember i lost some amount of horses with farming... I use at the moment the 1.9.2 version and i have since ~1 week no problem with loosing troops at farmers ( before i used the 1.9.0 version ).

I will watch some more week but it seems to be ok now :-)
( info: i farm at 3 islands and have 15 towns atm ).



edit 12.07.2010....damn, it happened again :-( . I lost horses again. The bot gave strength to a farm that was attacked some minutes ago, and also he attacked the same farm after it gave strength again.
It seems the bot lost somehow the information of the strength/support amount or he lost the farmer infos (or maybe it connected the false values from another farmer to that specific farmer )?? Its because it happened only at that specific farmer ( this time, the last time it was another farmer but the same issue ).
i had that same issue with more that one city per island as it will send attacks from each city to farm if they all hit in a short time frame it will not have the %mood at what you set by the time they all get there

try to set one city to farm 3 cities and the other to 3 other .etc

or set the farmers to 10 horses and this worked for me but i only have 2 cities on the same island

also i set mood to 95 %

also try to get cities on different islands if there is only one city of yours on an island there will never be that issue
07/13/2010 11:19 Stukkeman#677
hi,
just wondering if you would be able to add some debug function to the next version - where the error is reported into debug.txt regarding "Input string was not in a correct format.", would you be able to write the city number that the error is being generated by ... it'd help with tracking down the source of errors.

btw, the config files are all setup identically for each city, and they are saving properly. Content for each city number is listed:

armyqueue: nnnn;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
armysetup: nnnn;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0 ;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
farmers: nnnn;True;True;True;True;True;True;True;True

Would cities with 5 digit city numbers have anything to do with the reported errors?

Cheers, and again thanks for the great work
Stukke
07/13/2010 16:54 Beastygirl#678
Quote:
Originally Posted by g-spot-139 View Post
i had that same issue with more that one city per island as it will send attacks from each city to farm if they all hit in a short time frame it will not have the %mood at what you set by the time they all get there

try to set one city to farm 3 cities and the other to 3 other .etc

or set the farmers to 10 horses and this worked for me but i only have 2 cities on the same island

also i set mood to 95 %

also try to get cities on different islands if there is only one city of yours on an island there will never be that issue
thx for your answers....

...but i have at that specific island 3 towns and i farm only from one town ( the other two cities have no units selected, so no units will be sent from them ). So the same town sent horses to a farm that was farmed some minutes ago ( from the same town ) while the mood and strength were under my 96% ( my values are set to 96/96/96).

I support with 25 horses and farm with 65 horses. I see no sense in setting other values because this are the ideal settings for me. So when the bug happens it made no difference if i set horses to 10 or 25/65 ( maybe i lost at one attack less horses but when i let the bot run for several hours it will kill all my selected farming units ).

One city at one island is no option for me; I try to build a small cluster with all my towns ( in case someone would attack me i can send DEF troups very fast to all of my towns within minutes ).
07/13/2010 18:45 Utharnl#679
@Stukkeman
Quote:
Would cities with 5 digit city numbers have anything to do with the reported errors?
That doesn't matter. When loading the settings file it uses the ';' sign, this way the length between two ';' signs can be anything.
And I will see what I can do about the debug info.

@Beastygirl
Arg not again :(. The code is correct this time, can't find anything. Maybe the attack list that Grepolis uses is a bit laggy and not yet updated.
I Will see if I can find another way to check if you are already attacking that farmer.

At the end of the week I'm going on vacation (for the rest of the month). So the next update will probably have to wait till next month.

~Uthar
07/14/2010 09:43 Cervello88#680
I tried to run the bot on my netbook on Windows XP.

When I tried to start the bot by clicking on the .exe a error report pops up, but nothing else happens. All the files are in the same directory and I tried it with the versions 1.9.2 and 1.9.3.

Is there a solution for that problem?
07/14/2010 10:26 Cheatator#681
Quote:
Originally Posted by Cervello88 View Post
I tried to run the bot on my netbook on Windows XP.

When I tried to start the bot by clicking on the .exe a error report pops up, but nothing else happens. All the files are in the same directory and I tried it with the versions 1.9.2 and 1.9.3.

Is there a solution for that problem?
Are you sure you have the .Net Framework installed ? ([Only registered and activated users can see links. Click Here To Register...])
07/14/2010 19:29 Cervello88#682
That did the trick. Now it's working perfectly, thanks! :)
07/17/2010 17:20 Utharnl#683
I'm going on vacation for the rest of the months so new updates will have to wait till next month.

~Uthar
07/17/2010 21:42 Twonky <3#684
the bot farm every 30 minutes, can i change this?
07/19/2010 08:46 Beastygirl#685
yes :=> settings --> timer attack ( minutes )
07/19/2010 10:58 Twonky <3#686
but on timer attack it is 1 minute!
07/19/2010 14:36 Dipzor#687
The bot need some proxy settings so you can have more accounts and sent your self suplies :D
07/19/2010 18:25 doomstone#688
fixed by newest version
07/19/2010 21:21 jamesddd#689
it not doing it
i try this bot on all the grepolis now all i get is can't connect look at settings.txt or (Not Responding)


user name : ******
password: *****
Main server: en.grepolis.com
Server:en8.grepolis.com (i try all of them)


windows xp pro black
ram 4g
07/20/2010 13:29 AndrewsRAA#690
Quote:
Originally Posted by Utharnl View Post
""cant connect check settings.txt""

Then only your name, password, mainserver or server can be wrong.
Maybe a small typo somewhere?
Can't think of anything else that could cause this.

~Uthar
Crap it's still doing it.