Grepolis bot (Now with attack option)

06/23/2010 22:50 Utharnl#571
An other small update, no queue yet today :)

Version: 1.8.11 Date: 23-06-2010
-Added save option for farmers settings.
-Added population and favor info.
-Fixed issue with attacking farmers if you had multiple towns on the same island.

@envi
Did you find the problem Nicrone was having?

~Uthar
06/24/2010 00:01 Unghiutza#572
Uthar, I'm having the same problem...
06/24/2010 00:14 Utharnl#573
Strange, it's working fine at the moment on the English server.
On which server do you play Unghiutza?
And anything in debug.txt?

~Uthar
06/24/2010 08:04 Unghiutza#574
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 :))
06/24/2010 09:30 patricia1#575
the farming system is good, but can be improve a lot.
Here what the bot do
it attack with the troops set in farming windows.

i thinnk u can set an internal routine for attack the farms
So we know this
to increse the strenght u need to attack the village
But only 15 strenght will be increase by attack, so when i set the bot to use max unit it will send all my 300+ cavalier to increase the strenght of the village by 15
But we know only 25 cavalier is needed to inscrease the strenght by 15

infantry = u need to send 75 unit to inscrease 15 strenght
cavalery = 25 units
ram = 5 uinits

here the source
[Only registered and activated users can see links. Click Here To Register...]

so can u make the bot automaticelly choose 25 cavalery if there is cavalery free in the village to inscrease the strenght ?
06/24/2010 11:23 Nicrone#576
The same problem returns in version 1.8.11, Damn.
- Buildings... still...
Still polish server. Hm. Weird one.

envi does not responce on the private massages :(
06/24/2010 11:45 Morco#577
Hi,

first at all thanks for your great bot. It works fine most of time. Since yesterday it looses its connection on world delta (german server). 3-4 Towns are done, then - reconnect. 1 town done - reconnect and so on. May there was an update ?? Or i have too many towns now? :bandit: On World Theta it still works fine.
*edit
Farming villages in some towns, forces a disconnect. If i turn off farming in those towns, it runs perfect.

It would be great, if you could improve farming npc villages !

Greetings

Morco
06/24/2010 13:33 Utharnl#578
@Nicrone
Found a bug that could cause the bot to skip the building queue. Working on a fix and still testing a few things to get it working.

@patricia1
Got many request for that but both methods have their advantage. Think I will make option for it so you can choose which one you want to use.

@Morco
Did you get those disconnects since version 1.8.11?

~Uthar
06/24/2010 14:27 envi#579
Quote:
Originally Posted by Utharnl View Post
@Nicrone
Found a bug that could cause the bot to skip the building queue. Working on a fix and still testing a few things to get it working.

@patricia1
Got many request for that but both methods have their advantage. Think I will make option for it so you can choose which one you want to use.

@Morco
Did you get those disconnects since version 1.8.11?

~Uthar
Everything works perfect on new update

Quote:
Originally Posted by Nicrone View Post
The same problem returns in version 1.8.11, Damn.
- Buildings... still...
Still polish server. Hm. Weird one.

envi does not responce on the private massages :(
Building works :)

in Polish:

Sprawdz czy masz wystarczajaca ilosc ludzi do budowy danego budynku to po pierwsze, po drugie ustaw sobie budowanie co 1 min takze pomoze. Jesli nadal masz prblem z botem prawdopodobnie cos jest nie tak z twoim systemem OS.
06/24/2010 15:38 Morco#580
Hi Uthar,

Tested your last 3 versions today to figure out this problem. I thought i get this "bug" only in 2 towns. After my posting in most of my towns the bot disconnects. Evertime when he wants to send armies to villages. Now it works perfect. Can it be, that you use a timer for each attack, if this one is timed out, bot is reconnecting??? Delta is really laggy sometimes, up to 50 seconds.

*edit
I tested my Connection too, and there was no problem at all.

Greetings

Morco
06/24/2010 15:59 Utharnl#581
I'm using the default value for timeouts, I believe it is 100 seconds. So that is probably not the problem.
Do you have any errors in debug.txt? or only this one:
"Connection to server lost. Reconnect in 60 seconds"

~Uthar
06/24/2010 16:05 Morco#582
24.06.2010 12:09:07 Connection to server lost. Reconnect in 60 seconds
24.06.2010 12:09:07 Exception in attackFarmer(): Input string was not in a correct format.


24.06.2010 12:04:49 Exception in locateFarmers(): WebClient does not support concurrent I/O operations.
24.06.2010 12:04:50 Connection to server lost. Reconnect in 60 seconds

Great idea to look in debug.txt ;)
06/24/2010 16:10 Utharnl#583
Problem solved for
24.06.2010 12:09:07 Exception in attackFarmer(): Input string was not in a correct format.

Goto View->Army and make sure there are no empty fields. You can use 0 if you don't want to use the unit.

24.06.2010 12:04:49 Exception in locateFarmers(): WebClient does not support concurrent I/O operations.

Is probably a result of an error that ocured before this.

~Uthar
06/24/2010 16:23 Morco#584
Got it, now it works 100%!. That was my fault. Thank you for this good bot and support!
06/24/2010 16:28 Utharnl#585
Nice to hear :D
I thought I made a check for it in my code that convert all fields with "" to "0" but seems I forgot it ^^

~Uthar