[Release] Grepolis 2 bot

05/14/2011 15:33 Utharnl#241
Yes it can manage as much cities as you want. Each city will get their own settings on each tab.

~Uthar
05/14/2011 17:08 lo62ve#242
@Uthar
[Only registered and activated users can see links. Click Here To Register...]
I upgrade .net version. but it can't solve my problem.
[Only registered and activated users can see links. Click Here To Register...]

how can I solve this. ;(
And multiple city need multiple bot program run?
05/14/2011 22:50 Utharnl#243
Sorry lo62ve I have no idea what can cause this :/
But did you test it this time on an other pc? Because in your first post you were using IE 8 and now you are using IE 7?

Don't have a solution for you at the moment, everything just works fine when I test it under Windows XP.
When I find something that could solve this I'll let you know.

//edit
Quote:
And multiple city need multiple bot program run?
No, you need just one bot :)
Only when you want to use multiple accounts you need more bots.

~Uthar
05/16/2011 14:32 Utharnl#244
Could someone who has problems with the interface of the units tab test this version?
Made some changes in the dll files:
GrepBuildings.dll
GrepFarmers.dll
GrepUnits.dll

//edit
Removed attachment, see first post for newest version

~Uthar
05/16/2011 15:24 jmspaggi#245
Another idea:
- ability to see the caserne and port queue un the troops tab ;)
05/16/2011 16:23 ep user#246
I am still having an issue with the bot deciding that I have reached the looting limit
but I am still able to loot manually?

debug-@16:20 Exception in attackFarmersResponse(): Your demand isn't ready yet.
05/16/2011 18:17 Utharnl#247
@jmspaggi
Will add it to the feature request post.

@ep user
That error is not caused by the recourse limit but by the farmers timer.
The resource limit has this error:
Quote:
Exception in attackFarmersResponse(): The maximum daily amount of resources for this village has been reached.
Your error is caused by server lag, I already added a 10 seconds delay to handle the lag but will make it 20 seconds in the next release.
I suppose you're using version 1.1.5?

~Uthar
05/16/2011 18:22 lo62ve#248
@Uthar

I tested GrepolisBot2_v1.1.5_guifix1 but I'm sorry it's not solved.

Just same from before ver.

Thanx for your effort to solve my problem.

I think Korean winxp is suck. your bot hasn't any problem.
05/16/2011 18:27 Utharnl#249
Ah too bad :(
Found a few differences between the Building and Unit tab, but that isn't causing the gui problems then.
If I think of something new I'll let you know.

~Uthar
05/16/2011 18:29 jmspaggi#250
BTW, the new font size is working verywell for me. I can now see "100" in the unit tab.
05/16/2011 19:58 Fire2nd#251
@Utharnl

How you get mood % ?

I tried to make php script for farming,but i not see % mood :\
05/16/2011 20:16 Utharnl#252
@jmspaggi
Nice, an other problem solved :) But still seems pc related. My GUI can now even show 1000 fine.

@Fire2nd
Look for this part in the html source:
Quote:
function map_init(){
WMap.initialize(
It's from the http request:
Quote:
.../game/data?action=get&town_id=...
With POST content:
Quote:
json {"type":"map"}
Every farmer there is save like this:
Quote:
{"id":5320,"name":"Strihythoskos","dir":"n","expan sion_stage":4,"x":580,"y":565,"ox":629,"oy":170,"o ffer":"iron","demand":"stone","mood":7,"relation_s tatus":1,"ratio":1.25,"loot":1303195481,"lootable_ human":"tomorrow at 8:44 AM ","looted":1303159481}
Good luck with the script.

~Uthar
05/16/2011 20:35 Fire2nd#253
Quote:
Originally Posted by Utharnl View Post
@jmspaggi
Nice, an other problem solved :) But still seems pc related. My GUI can now even show 1000 fine.

@Fire2nd
Look for this part in the html source:

It's from the http request:

With POST content:


Every farmer there is save like this:


Good luck with the script.

~Uthar
Thank you,i now try :D

PS: at me your bot 2.0 1.1.5 not work,not farm and not make structures
05/16/2011 20:42 Utharnl#254
Make sure you pressed the save button for each town, everything still works fine here.

~Uthar
05/16/2011 20:48 Fire2nd#255
Quote:
Originally Posted by Utharnl View Post
Make sure you pressed the save button for each town, everything still works fine here.

~Uthar
Yes,i have pressed save,also + times but not work..and i not know why.

PS: but game/data?action=get&town_id=xxxxx&h= what is &h=?