Grepolis bot (Now with attack option)

06/24/2010 22:46 Utharnl#586
Another small release with bug fixes before I start with the new features.

Version: 1.8.12 Date: 24-06-2010
-Fixed bug with attacking farmers if you had multiple towns on the same island.
-Fixed bug which caused the bot to skip the building queue in some towns.

~Uthar
06/25/2010 19:40 h2obam#587
my queue doesn't work, too.
settings are right. farming works.
only this error:

25.06.2010 19:15:57 The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
25.06.2010 19:15:57 Connection to server lost. Reconnect in 60 seconds

when i put sth in the queue i press the save button. when i press start bot it waits 1 minute and then it reconnects.
i'm using XP network 2
06/25/2010 19:58 Utharnl#588
Can't find anything that could explain the problem with the queue. And for almost everyone it works just fine. I'm using it on win7 and it works fine, will test it on xp and let you know if it works.

Could you tell which server you play on and if you have more then one town?

~Uthar
06/25/2010 20:39 h2obam#589
i have one town.
i play on Iota. de.grepolis.com;de10.grepolis.com;
my bot is version 1.8.12.0
06/25/2010 21:10 Utharnl#590
Just tested it on that server (on pc with winxp sp3). Attack timer is 1 minute and build timer 2 minutes. Both attack and build queue are working fine.

Is your internet connection currently very slow or are you using a proxy?
And could you run windows update and download the available updates for .Net Framework (If there are any).

~Uthar
06/26/2010 01:26 cengiz han#591
Quote:
Originally Posted by Unghiutza View Post
Wait, becouse I was the stupid one :))

I thought I was having problems with th queue but I didn't have enough resources to build it :))

I´m stupid, too. It works fine. I did not have enough ressies.
06/26/2010 01:42 cengiz han#592
Just another question:
is it possible to make a queue for the habour to build ships, if enough resources are farmed? Or the same for the barracks to recruit new soldiers?
06/26/2010 10:09 h2obam#593
my internet connection is quite slow. 230 kb/s download about 40 kb/s upload
i'm not using proxy
i will update it and check it again
06/26/2010 11:09 h2obam#594
it doesn't work
06/26/2010 12:08 Utharnl#595
Quote:
Originally Posted by cengiz han View Post
Just another question:
is it possible to make a queue for the habour to build ships, if enough resources are farmed? Or the same for the barracks to recruit new soldiers?
Yes that is possible, I'm even already working on it :).
The new GUI and option to save the queue is done. I'm now working on the checks if you have enough resources and sending the request to the server to build the unit.

@h2obam
There are a few things I could try but I will need to change a few things in the bot that are not necessarily for everyone. When I'm done with the army queue I will make a test version for you.

~Uthar
06/26/2010 14:12 Nicrone#596
h2obam - I had the same problem but I found the solution. Do everything like I suggest and tell me if it worked. You have to be logged out from your game account.

Steps :
1. Login
2. Settings -> Army -> set number (do it even if you dont want to attack any of farmers. For example - set it on one warrior).
3. Add some buildings to quenue
4. Press start button.

Tell me if this combination worked. It really helped me. I has disconnections as well before.

See ya.
06/26/2010 14:50 radarraider#597
Hello i play on the .se2 the bot worked fine before when i used it but after a couple of weeks it suddenly stopped sending troops when attacking/supporting farmers. The building still works fine though.

I checked the debug.txt and saw this

2010-06-26 14:29:53 Error in attackFarmerResponse(): Probably a corrupt http response(0)
2010-06-26 14:31:03 Error in attackFarmerResponse(): Probably a corrupt http response(0)
2010-06-26 14:33:09 Error in attackFarmerResponse(): Probably a corrupt http response(0)
2010-06-26 14:34:14 Error in attackFarmerResponse(): Probably a corrupt http response(0)

can someone help me solving this?
06/26/2010 15:02 Utharnl#598
A reason you could get this error is when the bot tries to attack an farmer that isn't on your Island. This was bug a some time ago and should be fixed though.. But could you check something to be sure?

Go to View->Farmers and check if the farmers listed for each town are indeed on those islands. Easiest way I think is to make a screenshot of the bot and then login on the browser.

~Uthar
06/26/2010 15:11 radarraider#599
So i checked the farms listed in the bot and they are identical to the ones on the island that i checked with my browser.

So that does not seem to be the problem. :confused:

Altough it seems to be something with the se2 server the bot works fine on the alpha se1
06/26/2010 15:18 Utharnl#600
Good to know it isn't that bug, but we still have to find it now.
I haven't heard of any updates for the se2 server but will create an account to check if it works.

~Uthar