Hey Decrypt thanks for your interest.
Quote:
|
1. what programs u use to make this bot?
|
I use two different programs for my bots.
For writing the code (I'm using C#) I use Microsoft Visual Studio 2008.
The other program I use is for monitoring the http requests.
Most of the time I use a firefox addon for this called "Live HTTP Header" but I have also a standalone program called "WireShark" that does the same thing.
Below is an example with "Live HTTP headers" when I switch towns in ikariam
Quote:

POST /index.php HTTP/1.1
Host: s10.ikariam.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.11; .NET CLR 2.0.50727) Gecko/20071127 Firefox/2.0.0.11
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: 
Cookie: PHPSESSID=3af1ed5804f643e8a470bdabe72e6a29; ikariam=79153_%241%24nRzcNivx%24ALPlxjEcl36e5BOKYJ 4G60; ikariam_sorting=a%3A2%3A%7Bs%3A6%3A%22sortBy%22%3B s%3A4%3A%22name%22%3Bs%3A5%3A%22order%22%3Bs%3A3%3 A%22asc%22%3B%7D
Content-Type: application/x-www-form-urlencoded
Content-Length: 114
action=header&function=changeCurrentCity&actionReq uest=192b84d9d7a9a8498296d031a5067ef8&oldView=city &cityId=121324
HTTP/1.x 200 OK
Date: Mon, 21 Dec 2009 10:01:01 GMT
Server: Apache
P3P: CP="NOI DEVa TAIa OUR BUS UNI"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 9015
Connection: close
Content-Type: text/html; charset=UTF-8
|
You don't need all the information but there are a few important lines:
-if it's a POST or GET request (first line)
-Cookie information
-Content-lenght + content (Only when you have a POST request)
After I have this information I start writing this in C# so that my bot sends the same information as in the quote above.