[Release] Grepolis 2 bot

02/26/2013 23:14 Utharnl#1846
@DarkWolfNight
-See [Only registered and activated users can see links. Click Here To Register...]
-Can you look in your debug.txt/log.txt files if you have any errors around that time?
-Only happens by the word based captchas I suppose? Or also by the math captchas?
-Not sure what you mean by this? Can you give some more details.

Thanks for the feedback.

~Uthar
02/27/2013 01:47 DarkWolfNight#1847
First of all thank you for the great job.

Then you put all the info I have:

-I already read all your blogs
-On file "debug.txt/log.txt" there is no errors on the timer when it happens.
-Now happen in both cases, also currently I appeared more letters version
-Watching the "debug.txt/log.txt" I realized that both were empty and there were mistakes in loading XML files initializing program but I haven't figured out the cause of the problem, solved by deleting the files and copying the original ones.

Good job
02/28/2013 20:09 Utharnl#1848
Ok if you have problems with both the math captcha and the text captcha you can fix at least the math captcha :) The math captcha is still working fine.

If the bot is not able to find the math captcha you need to update your version of IE to at least IE8 for XP and at least IE9 for Vista/Win7. After that run the Enable_IE9.reg file. If you start the bot again after this it will be able to detect the math captcha.

The text based captcha will be solved in the future but I can't give you an exact date at the moment.

~Uthar
03/01/2013 00:18 jmspaggi#1849
Hi Uthar,

The bot is not more building the attack boats for me. Where should I start to look? I can't see anything wrong in the logs nor in the notifications. Any clue?

Nothing in debug.txt for 8 days.

Everything else seems to be working fine...

Thanks.

Hum, I just figured something.

On the "Queue" tab, all my troops status is showing 0, even if there is troops in the city. And troops from this city, not troops from another one.

All my cities are showing 0 for all kind of troops...
03/01/2013 17:54 malumba1#1850
read on his block..
03/01/2013 18:11 corectsunt#1851
Utharnl pls create Ikariam Bot. Donate 10€ PSC!

pls contact me Private.
03/01/2013 21:28 jmspaggi#1852
FYI,

Captcha is no more working for me neither.

Printer "waiting for captcha" about 20 times, then "Captcha detected ID8" and "Can'tfind captcha, retry" for 1 hour now.

JM
03/03/2013 12:18 Utharnl#1853
@corectsunt
No sorry not going to do that.

@jmspaggi
The queue is broken since the 2.35. I'm currently testing a fix for this, if everything works fine I'll release it today.
The math captchas are working fine but the text based captchas are not.

~Uthar
03/03/2013 13:35 jmspaggi#1854
Hi Uthar,

Sorry, I read the entire thread after I post ;)

If you are able to detect that the captcha is there, I might be able to capture it and put it on a file... But we need the browse window to be in the front because it will be a screen capture. that's most probably what this captach API is doing. It's not sending the image. It's sending the encoded text, and there is a client API which changes is form to display it...

The screen capture might be a good temporary solution?
03/04/2013 00:01 Utharnl#1855
A simple screencapture is not going to work because I want to have the bot working in the background.
It should however be possible to create an image of a specific html component, even while the browser is not visible. But I'm first going to try some other methods.

New version is ready:
Version: 2.35.0.1 Date: 03-03-2013
-Fixed unit queue
-Changed version numbering to match actual Grepolis version.

~Uthar
03/04/2013 04:31 jmspaggi#1856
Thanks for this updated version, already trying it.
The version number to check if it's the last one, on the first tab, the last digit is displayed in black instead of bleu. I don't know if it's important, but I'm just reporting.

Everything else seems to be ok.
03/04/2013 21:46 0ptimist#1857
Quote:
Originally Posted by Utharnl View Post
A simple screencapture is not going to work because I want to have the bot working in the background.
It should however be possible to create an image of a specific html component, even while the browser is not visible. But I'm first going to try some other methods.
Hi Uthar,

extracting the new word captcha (recaptcha) image should not be too hard. If youre able to read all traffic between the browser and the grepolis server, watch out for a request with the Request Line looking like this:
Quote:
Originally Posted by TheBrowser
GET /recaptcha/api/image?c=03AHJ_Vuud8Xi_EcDXldd96g9s-l3kMylXHZMQV1IbJLQTfhdO2h4HhkhzfIu-ATNLxXPkyfF4ybE_jLm3RvHU8BzYHUcIkA8S3HrDDHgxAsvQnx 4CqM2-OxFlg2h1L9AYTH6IoFQzSOa4SbssViYn_8Q9RLKHynpCGPIY6E uLTwF4neHDTzgEE2w HTTP/1.1
the response will then contain the image/jpeg.

EDIT:
One thing I forgot to mention: this particular request is not going to the grepolis server but directly to google:
Quote:
Originally Posted by TheBrowser
Host: [Only registered and activated users can see links. Click Here To Register...]
03/04/2013 22:16 Utharnl#1858
That will make it indeed very easy. I'll do some test to see how it's working exactly.
Last time I checked the captcha seemed to change when calling the same url a second time. But that may have been caused by the time between the requests.

I'll probably start working on it at the end of the week.

~Uthar
03/04/2013 23:32 0ptimist#1859
Quote:
Originally Posted by Utharnl View Post
That will make it indeed very easy. I'll do some test to see how it's working exactly.
Last time I checked the captcha seemed to change when calling the same url a second time. But that may have been caused by the time between the requests.

I'll probably start working on it at the end of the week.

~Uthar
I doubt the captcha challenge will change when requesting the image URL a second time. The reason: If one wants to change the captcha challenge there is a command for that which looks like this:

Quote:
Originally Posted by TheBrowser
GET /recaptcha/api/reload?c=03AHJ_VutKGN7-5voz0dBEjMcze4Z4BOaKm80AgNka77DwQ0RirRtTgNgm_WhEhG-GyVLJK-jNtL6LFMQF7XkIYv6wlT_kIn53uWYI1U1Uavw3M-yoKNhV8b-ymjMtSxdkDTv1_9tWsKSyiqoY3P_ngcykPwsJr76uEI9oYfO7k tT1_hOGZ2kEvpo&k=6Lf9ftkSAAAAAEg-hgXKIgEGcEeiqKMO8uSvavPR&reason=r&type=image&lang= es-ES HTTP/1.1
Host: [Only registered and activated users can see links. Click Here To Register...]
(This is what the browser sends when you click the reload button in the captcha window.
The response of this request will return a script which calls a function on the pages 'Recaptcha' Object which will create a new img html tag in the document. The creation of the image tag in turn will trigger the request I described in the earlier post.)
03/10/2013 02:33 sompanviem#1860
hi, I have a problem - when you want to turn on the Grepolis Bot so simply does not load anything. I enter there name and password, the server just about everything. All right I enter I press OK then Login. I wait about 3 minutes and nothing below me or does not write anything to anything happening with it. Please help me :-(


(Sorry for my english-this is Google Translate,I am from Slovakia)