Grepolis bot (Now with attack option)

06/26/2010 15:34 Unghiutza#601
Uthar, in the next patchs please try making a queue for barracks and harbor if you can and have the available time. And the 2nd option I talked with you by PM :P
06/26/2010 15:43 Utharnl#602
Unghiutza see the previous page :) It's almost done.

@radarraider
se2 is working fine for me. Could you delete the bot, download it again and configure everything again? Maybe there is just something wrong with the settings.

//edit
And there it is, the army queue. It's recommended to first delete the older bot including your settings. This is because the location of those files is changed.

Version: 1.9.0 Date: 26-06-2010
-Added queue for land and navy units.

~Uthar
06/26/2010 19:48 h2obam#603
@Nicrone
it didn't work
06/26/2010 19:52 Utharnl#604
@h2obam
Could you delete your current bot (including all the settings) and try 1.9.0?
Let me know if you still get the same error with that version. If so, I'll send you a test version.

~Uthar
06/26/2010 21:33 radarraider#605
Well i did exacly what you said and it still didnt work i even tried it on another computer. There seems to be a problem with my account then :o

I will try to create a new account and see if it works there even if that doesent solve the problem its one step closer to solving it :P
06/26/2010 22:42 h2obam#606
i deleted all files and tried 1.9.0 but the army queue didn't work, too.
it reconnects after 1 minute but attacking villages works.
06/27/2010 01:57 cengiz han#607
Is there maybe any priority in handling the queues in buildings, recruiting or the harbor jobs?
I also recognized following issue:

the bot does not support the villages until 100 strength before the farmers are sent.
Why is this so? lost 80 soldiers today during farming, too.
06/27/2010 03:48 Utharnl#608
@radarraider
Ok, let me know what the result is.

@h2obam
Will send you a link tomorrow with a test version that maybe solves your problem.
If is doesn't work then I have no idea what settings on your pc are causing this.
And did you get any new messages in debug.txt with the new version?

@cengiz han
The priority in the building queue is the same as you added them to the queue.
The barracks and harbour queue is checked from left to right (Starting with the Swordsman).
You can change the mood and strength in the settings menu. If you lost some units you should set min. mood higher or attack with less units.

~Uthar
06/27/2010 10:26 h2obam#609
thank you for this version.
if it doesn't work i will test it on another pc.

27.06.2010 09:04:46 The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
27.06.2010 09:04:46 Connection to server lost. Reconnect in 60 seconds
27.06.2010 10:12:05 Unable to connect to the remote server
27.06.2010 10:12:05 Connection to server lost. Reconnect in 60 seconds
27.06.2010 10:19:03 Connection to server lost. Reconnect in 60 seconds
27.06.2010 10:20:03 The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
27.06.2010 10:20:03 Connection to server lost. Reconnect in 60 seconds
06/27/2010 13:00 Utharnl#610
Hey h2obam could you try the attached version.?
I hope this fix this error:
Quote:
The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
But the problem is that this version can cause a new error:
Quote:
The underlying connection was closed: The connection was closed unexpectedly.
Can you let me know if this fixes it or that you get the new error?
If you get the new error I still have something to try but if you keep getting the current error you should try the bot on an other pc.

~Uthar
06/27/2010 13:48 h2obam#611
IT WORKS!!!!!!!!!!!!!!!!!!!!! :))))))))))))
thank you very much. i love you xD
06/27/2010 13:59 Utharnl#612
Haha, great :)
Will add it in the next release.

~Uthar
06/27/2010 15:24 Beastygirl#613
I lost 200+ horseman on farming :-(

The bot attacks and supports below the setup-values ( I have in settings: mood/strength/mood support 97/97/97 ). And the bot attacks and support farmers which are already farmed some minutes ago.

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 ).
06/27/2010 17:02 Utharnl#614
Damn, sorry to hear Beastygirl :(
I haven't had any problems myself yet but tested the code again just to be sure. And there was a small problem.
But I'm not sure it's related to your problem. Could you test 1.9.1 (will upload it soon) and do a quick test?
It works fine by me but I haven't any accounts with more then one town at the moment.


//edit
Version: 1.9.1 Date: 27-05-2010
-Fixed bug in http handler
-Fixed bug with farmers attack status

~Uthar
06/27/2010 18:41 h2obam#615
can i build with this version?