Grepolis bot (Now with attack option)

03/17/2010 08:14 predi2k#151
have you any idea for more than one city?
it is planed that the bot can farm citys (i say them which) if their conditions are right?

sry for the bad english great bot programmer :handsdown:
03/17/2010 08:52 Utharnl#152
I received Unghiutza's account because he stopped playing. He has two cities, so I can start working on it :). It's Probably ready this weekend.

~Uthar
03/17/2010 10:40 predi2k#153
i've installed visual studio but i cant find the code who interact with the game server :confused: - i've only scripted with I Macros before.
Thatswhy thx for the great Bot and i wish that they can farming in the future :D
03/17/2010 17:03 Utharnl#154
@predi2k
You can find that in Form1.cs
Search for the comment //-->Http requests and handlers
The methods below that comment are named like this:

xxxx() This method is for sending the request.
xxxxResponse() This method does something with the response from the server

~Uthar
03/17/2010 22:13 AdamL1996#155
Quote:
Originally Posted by srialmaster View Post
Settings.txt:

srialmaster;
********;
en.grepolis.com;
en2.grepolis.com;
True;
debug.txt;
settings.txt;

This is my settings. I wonder if anyone is able to get this to work on the English Beta server.

-Nate
Download the other file!
03/17/2010 22:58 Utharnl#156
That quote is almost 2 months old.
The bot is running fine by him :)

~Uthar
03/18/2010 08:23 predi2k#157
Utharnl - a Question, is this bot attacking Farmer citys only when i'm under attack of an other player or ever when a Farmer City has the right conditions???
03/18/2010 09:09 Utharnl#158
The bot will attack farmers whenever it has the right conditions. (mood and strength)

~Uthar
03/18/2010 09:26 tureck11#159
great job - thx
03/18/2010 10:07 predi2k#160
sry but one more question, if someone attack me, and no Farmer has the right conditions, send the bot my troops out that they can't crashed??

so enough question - i'm very curious about your work for more than one citys

good luck for the weekend
03/18/2010 10:35 Utharnl#161
At the moment I don't scan for incoming attacks. So if your troops aren't attacking farmers they will just stay in your town when you're under attack.

Started to implement multiple towns yesterday. I have now a working town list. But still have to do most of the work. Like keeping all towns up to date and switching towns.

~Uthar
03/18/2010 12:02 Unghiutza#162
Utharnl anything new on my account :D? Meaning if anything new happened with the Nazgul guys, Telmar, cila10 and nightshroud
03/18/2010 18:50 Utharnl#163
Sir Tilcat from Nazgul tried to attack you but he was not very successful^^
The others haven't done anything yet.

Siliarus asked why you were kicked, told him you were planning to stop with the game.

If you want you can just login to your account, password is still the same.
And I'm not very much online, just a few minutes to test things :)

~Uthar
03/18/2010 19:59 soSo88#164
You are very gifted & generous! I thank you for your time!
03/18/2010 20:47 peccavi#165
Big Up Great Work Utharnl