Grepolis bot (Now with attack option)

09/18/2010 15:17 Utharnl#811
That timer is the same as the ingame timer, that shows how long it takes before the building is ready.

When it reaches 00:00:00 your building is ready. If you keep the bot running it will try to build an other building every 20 minutes.
There is no need to exit it.

~Uthar
09/18/2010 18:34 patricia1#812
in army queue i said the bot to auto build 80 Light Ship, but don't work it never build them
need to be fixed
09/18/2010 21:09 Utharnl#813
Could you try it again patricia1? At the moment I have 6 towns and it works in all of them without any problems.
Not sure if I wrote this somewhere, but the army queue uses the same timer as the building queue. If you use the default settings this means that the bot will only check the army queue once every 20 minutes.
Also the bot checks first the building queue, then the army queue (land) and finally army queue (navy). This could mean that you don't have enough resources left when it checks the navy army queue.

Let me know if this solves your problem.

~Uthar
09/18/2010 21:50 patricia1#814
ok i will test again during the night and let u know tomorrow morning
09/19/2010 11:37 envi#815
Quote:
Originally Posted by patricia1 View Post
in army queue i said the bot to auto build 80 Light Ship, but don't work it never build them
need to be fixed
if somethign is not working in teh BOT so:

1. wrong config
2. your PC...
09/19/2010 13:29 Utharnl#816
whoops, sry guys made a mistake.
For some units the queue isn't working correct because I didn't enter the required resources correctly.
But is was working fine first, maybe they changed the required resources?

But doesn't matter now, will have to check it for all units and then I'll upload a new version.

@Envi
Thanks for the response, that's the reason most of the time ;)

~Uthar
09/19/2010 14:03 Utharnl#817
New version ready:

Version: 1.9.5 Date: 19-09-2010
-Added Hungarian translation (Thanks akwi42)
-Fixed required resources for navy units.

~Uthar
09/19/2010 17:54 envi#818
Quote:
Originally Posted by Utharnl View Post
New version ready:

Version: 1.9.5 Date: 19-09-2010
-Added Hungarian translation (Thanks akwi42)
-Fixed required resources for navy units.

~Uthar
Uthar can you try to add a drop down menu for building units ? For example put amounts in drop down menu: 5,10,15,20 so the bot will build units only when there will be enough raw materials to build for example 10 units on one time.


It will be very handy option.
09/19/2010 22:36 sonzomerta#819
This is occurring to me now on en9.

Was working, but now not, on both v1.9.4 and v1.9.5.

Anyone else getting this problem? My settings are correct, as I have had it working a few days ago with no changes to the settings.
09/19/2010 23:35 Utharnl#820
@sonzomerta
Could you post your debug.txt maybe I can find your problem with that. It's also possible you get those reconnects when the Grepolis server is too busy.

@envi
Could you give an example when this gives an advantage?
I think it would give problems when you population is almost zero and you only are allowed to train a few more. Also the current system is faster because it starts the training immediately when you have enough resources for one unit.

~Uthar
09/20/2010 04:04 morfheat#821
I have 15 citys and bot say me this error, Please Help

Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.

When attacks initiate, when does the attack timer next start? No, bot reset at seven city on start

Is it time from the previous initiation of attacks, or once the attack cycle has completed?
It is previous initiation of attacks

If it is timed from the previous initiation point, what will be the effect if the attack cycle (the time it takes to cycle through all cities) is longer than the attack timer?
the time is 1 minutes, I change it to 3 minutes

And Then Recconect 60 seconds

what can I do?
I can not atack to the farms
09/20/2010 07:07 Utharnl#822
Quote:
Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
This means that there is an invalid value in either the "Army" window or the "Army Queue". Probably this is an empty field, change this to "0".
It can be a lot of work to check it for all 15 cities so maybe it is better to download the again.

~Uthar
09/20/2010 14:19 morfheat#823
I have version 1.9.5 this is the new version? or are there any one?, I have a problem in the city 12 because bot donīt detect 3 of 8 farms and the bot donīt mark this farm in the section farm of the bot, but I review all the config on bot and search al values to find invalid value

bot work fine if unmark attack farms but if I mark attack farm bot donīt work,

this is the error, when reconect start at city 12


20/09/2010 14:36:10 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:16 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:16 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:17 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:23 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:23 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:25 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:36:30 Connection to server lost. Reconnect in 60 seconds
20/09/2010 14:36:31 Exception in attackFarmer(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:37:24 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:37:26 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:37:36 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:37:41 Connection to server lost. Reconnect in 60 seconds
20/09/2010 14:37:41 Exception in attackFarmer(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:38:26 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:38:47 Exception in updateFarmerGUI(): La cadena de entrada no tiene el formato correcto.
20/09/2010 14:38:52 Connection to server lost. Reconnect in 60 seconds
20/09/2010 14:38:52 Exception in attackFarmer(): La cadena de entrada no tiene el formato correcto.
09/20/2010 22:54 envi#824
Quote:
Originally Posted by Utharnl View Post
@sonzomerta
@envi
Could you give an example when this gives an advantage?
I think it would give problems when you population is almost zero and you only are allowed to train a few more. Also the current system is faster because it starts the training immediately when you have enough resources for one unit.

~Uthar
Advantage:

- if you have more town is easier to build units,
- you building line is only 7 so if you can buil 7*10 or more + god option you'll get the units faster ready to battle

Mayby it's building faster but for example only if you have enough raw materials, so most the time you get 1 unit.

Yes you're right about the population but when you have more towns this kind of option will help you build units especially fire ships and offensive units.
09/21/2010 16:36 FrEe2fLy#825
Quote:
Originally Posted by Utharnl View Post

@envi
Could you give an example when this gives an advantage?
I think it would give problems when you population is almost zero and you only are allowed to train a few more. Also the current system is faster because it starts the training immediately when you have enough resources for one unit.

~Uthar

I must agree with @envi, and I had already said that in one of my posts. The maximum units queue is 7 groups of units at a time. If the bot tries to make a new unit just as soon as it has resources, then you risk flooding the recruitment queue, having almost no units being recruited and having your village full of resources at the same time!

I cannot use this functionality of your bot, or else that's what happens to me!
I always recruit large groups of units at a time, or else I flood the recruitment queues and get my warehouses full at the same time.

If you put an option to set the minimum units to recruit at a time, the problem will be solved. Casual players can set the minimum units to 1 at a time, and highly competitive players such as myself can put it to 25-50 at a time.