[Release] Grepolis 2 bot

05/31/2011 14:30 AlphaZerο#361
Quote:
Originally Posted by Utharnl View Post
You can always copy the "Config" directory to the new version.
So, you only need to copy the config directory to the new version, and then they are the old configs?

Sorry for my bad english.
05/31/2011 14:48 grepolis077#362
very need
# Incoming attack warning (sound) + auto enlist militia before attack
05/31/2011 15:51 Jarisk#363
It will be great to see all notifications in a single list. Something like this:
[Only registered and activated users can see links. Click Here To Register...]

code to get current notifications:
Code:
post http://pl13.grepolis.com/game/notify?action=fetch&town_id=XXXXX&h=XXXXXX
post-data:
Code:
json	{"bar_mask":0,"no_sysmsg":true,"town_id":"XXXXX","nlreq_id":0}
response:
Code:
577
{"next_fetch_in":120,"notifications":[{"notify_id":22,"time":1306836307,"type":"building_finished","param_id":null,"param_str":null,"subject":"Rozbudowa zako\u0144czona: Koszary w mie\u015bcie Miasto gracza XXXX"},{"notify_id":24,"time":1306837432,"type":"building_finished","param_id":null,"param_str":null,"subject":"Rozbudowa zako\u0144czona: Senat w mie\u015bcie Miasto gracza XXXX"},{"notify_id":26,"time":1306838452,"type":"newreport","param_id":2088160,"param_str":null,"subject":"Miasto gracza XXXX podbi\u0142 wiosk\u0119 YYYY"}],"incomming_attack_count":0}8|10
_srvtime1306842213
05/31/2011 16:58 Utharnl#364
@lo62ve
NP :D

@AlphaZerο
Yes that is correct

@grepolis077
Still planning to do that

@Jarisk
Yes I know, I'm currently using that with bar_mask:4095, contains all the general info of your current town.
It didn't seem too useful for me because you see the same messages when you go to the browser tab. But maybe you are right, your screenshot does give a nice overview of what is going on.
Will add it to the feature request post, thanks.

~Uthar
05/31/2011 20:09 AlphaZerο#365
Quote:
Originally Posted by Utharnl View Post
@lo62ve
NP :D

@AlphaZerο
Yes that is correct

@grepolis077
Still planning to do that

@Jarisk
Yes I know, I'm currently using that with bar_mask:4095, contains all the general info of your current town.
It didn't seem too useful for me because you see the same messages when you go to the browser tab. But maybe you are right, your screenshot does give a nice overview of what is going on.
Will add it to the feature request post, thanks.

~Uthar
Good, very good.
05/31/2011 23:20 Utharnl#366
Version 1.1.7 is almost ready for release. But going to let it run for one night to be sure it's working :) At the moment it contains those fixes:
-fix for the problem with the building queue (non-target mode)
-added a zoom effect for the icons of the buildings
-fixed problem when the unit queue was full

~Uthar
06/01/2011 00:47 emina#367
first question:
another issue, what i recognized (maybe someone has asked it already and i did not read it):
i filled in the unit queue 30 lightships. the bot filled my queue with 7x1 lightship.
would it be possible to let the bot wait until a pre-defined limit is possible.

what i mean is: if i put 210 lightships in the target number, but i want the bot to give always maximum possible orders to the workqueue (21 lightships) or a pre-defined figure of units? same for soldiers.

second question:
how does the bot work farm, if i have 2 or 3 cities on an island and if i activate the farming option for all 3 cities? would the bot stop farming in th first city if its warehouse is full and would it continue with city 2?

third question:
on the culture tab in the bot in my opinion must be an option where festivals can be set as auto-fest if warehouse is full. so no wares would be lost and the bot could work round the clock.
06/01/2011 13:32 Benwatsit#368
Just like to say the new features you have added are supurb :)

May i add one thing, is it possible that in the building section next to the amount of resources you have in each city could you add the warehouse size :D

If this has already been ask for then my bad.
06/01/2011 14:39 Jarisk#369
if it is possible, bot should start triumph in town :-)

(check if response of /game/building_place?action=culture contains "BuildingPlace.start_celebration('triumph')" then request /game/building_place?action=start_celebration)
06/01/2011 14:53 grepolis077#370
beta.grepolis
after new update "critical error occurred"
06/01/2011 15:55 AlphaZerο#371
Quote:
Originally Posted by Utharnl View Post
Version 1.1.7 is almost ready for release. But going to let it run for one night to be sure it's working :) At the moment it contains those fixes:
-fix for the problem with the building queue (non-target mode)
-added a zoom effect for the icons of the buildings
-fixed problem when the unit queue was full

~Uthar
Go, go, release it ;)
06/01/2011 20:32 emina#372
i cannot login with no version of the bot anymore.
curious is: i receive critical error, but the integrated browser works.
06/01/2011 20:41 Utharnl#373
Yeah they changed something in the server response which is causing a parsing error. But the problem is that they haven't yet updated all the servers with this update.
At the moment trying a few things to get it working on both versions.

//edit
Version: 1.1.7 Date: 01-06-2011
Bug fixes:
-Fixed problem when unit queue was full
-Fixed building queue in non-target mode
-Improved building queue layout

~Uthar
06/01/2011 23:00 AlphaZerο#374
Quote:
Originally Posted by Utharnl View Post
Yeah they changed something in the server response which is causing a parsing error. But the problem is that they haven't yet updated all the servers with this update.
At the moment trying a few things to get it working on both versions.

//edit
Version: 1.1.7 Date: 01-06-2011
Bug fixes:
-Fixed problem when unit queue was full
-Fixed building queue in non-target mode
-Improved building queue layout

~Uthar
Thanks for Fixing.
06/02/2011 08:48 DeKloniPatr#375
Im testing the new version, but is probably doesnīt work.
I deleted the old version and installed the new.
I get a new Account on world Rho to test it, all fine.
I want to start the bot und write all information it needs in it.
I press login and it seems in the browser-tab that he is logged-in, but i canīt click start and also i want to try Auto-Start-option it doesnīt work.
Any Ideas?

If i have to give you some informations about rebug or some files in bot etc. pls give me an instruction;)

Greet
DKP