[Release] Grepolis 2 bot

11/20/2012 19:50 jmspaggi#1681
Hi Uthar,
How can we get the ApiKey?

Is it one of those one?

JDownloader - Pyload - Android - Fritz!Load - Mipony - jCatGUI - GUI - CLI - API
Windows Phone - Windows 8 - iPad - iPhone

Or should we provide the URL, etc.?

Thanks.
11/20/2012 19:52 Utharnl#1682
I have updated the guide with better images:
[Only registered and activated users can see links. Click Here To Register...]

You can use "API" to generate your ApiKey.

~Uthar
11/20/2012 19:59 jmspaggi#1683
Super, thanks. I got the key and entered it. Will be nice to have a button to test it.

JM
11/20/2012 20:12 Utharnl#1684
Good idea, will add that in the next version.

~Uthar
11/22/2012 13:42 jmspaggi#1685
Hi Uthar,

I have 556 points on my 9kw account, my key is configured correcly, but this morning when I woke up there was the captcha waiting for me :(

So the "test" button will be very welcome since it seems to not be working for me.

Thanks.
11/22/2012 16:38 Utharnl#1686
Could you post the debug.txt and log.txt file.

~Uthar
11/22/2012 16:43 jmspaggi#1687
There is nothing in the debug.txt with today's or yesterday's date.

Here is what I have on the logs.txt related to the captcha:
2012-11-22 00:05:14 2012-11-22 00:05:14
2012-11-22 00:07:31 2012-11-22 00:07:31 00 - MyCity: Farmers are disabled for this town by scheduler.
2012-11-22 00:07:51 2012-11-22 00:07:51 01 - MyCity: Farmers are disabled for this town by scheduler.
2012-11-22 00:08:11 2012-11-22 00:08:11 02 - MyCity: Farmers are disabled for this town by scheduler.
2012-11-22 00:08:31 2012-11-22 00:08:31 cite de MyCity: Farmers are disabled for this town by scheduler.
2012-11-22 00:08:31 2012-11-22 00:08:31 Trading complete.
2012-11-22 00:08:31 2012-11-22 00:08:31
2012-11-22 00:10:48 2012-11-22 00:10:48 00 - MyCity: Farmers are disabled for this town by scheduler.
2012-11-22 00:10:57 2012-11-22 00:10:57 Captcha notification detected
2012-11-22 06:50:28 2012-11-22 06:50:28 Towns sorted alphabetically.
2012-11-22 06:50:55 2012-11-22 06:50:55 00 - MyCity: Farmer settings not yet loaded.
2012-11-22 06:51:15 2012-11-22 06:51:15 01 - MyCity: Farmer settings not yet loaded.
2012-11-22 06:51:37 2012-11-22 06:51:37 02 - MyCity: Farmer settings not yet loaded.
2012-11-22 06:52:08 2012-11-22 06:52:08 03 - MyCity: Farmer settings not yet loaded.
2012-11-22 06:52:08 2012-11-22 06:52:08
2012-11-22 06:54:23 2012-11-22 06:54:23 00 - MyCity: Farmers are disabled for this town by scheduler.

As you can see, captcha poped at almost midnight local time and the bot resumed only at 6h50 when I entered it :(

Thanks for looking at that.

JM
11/22/2012 22:10 Utharnl#1688
It detected the notification successfully because you got "Captcha notification detected". After that however you should get the message "Waiting for captcha". For example like this:

Quote:
19-11-2012 23:04:02 19-11-2012 23:04:02 Captcha notification detected
19-11-2012 23:04:17 19-11-2012 23:04:17 Waiting for captcha
19-11-2012 23:04:32 19-11-2012 23:04:32 Waiting for captcha
19-11-2012 23:04:47 19-11-2012 23:04:47 Waiting for captcha
......
19-11-2012 23:08:47 19-11-2012 23:08:47 Waiting for captcha
19-11-2012 23:09:02 19-11-2012 23:09:02 Waiting for captcha
19-11-2012 23:09:18 19-11-2012 23:09:18 Captcha detected
19-11-2012 23:09:20 19-11-2012 23:09:20 Current captcha balance: 466
19-11-2012 23:09:21 19-11-2012 23:09:21 Captcha submitted to server with id: 632358
19-11-2012 23:09:26 19-11-2012 23:09:26 Captcha answer not ready.
19-11-2012 23:09:32 19-11-2012 23:09:32 Captcha answer received: 65
19-11-2012 23:09:37 19-11-2012 23:09:37 Captcha answer was correct.
The only reason that I can think of is that your donator status is inactive. Is that correct?

~Uthar
11/22/2012 22:12 jmspaggi#1689
No, I'm active. I mean, it's saying "Active" in green on the first tab.

Can it be because my 9kw is not working? Do I have a way to test it?
11/22/2012 22:19 Utharnl#1690
9kw isn't used before the message:
Quote:
19-11-2012 23:09:20 19-11-2012 23:09:20 Current captcha balance: 466
So it should work fine until there. Also you will get an error message in debug.txt when your api key is incorrect.

~Uthar

//edit
Are you sure you are using 2.3.0.4 and not 2.3.0.3?
11/22/2012 22:35 jmspaggi#1691
In the application title I have "Grepolis Bot 2 2.3.0.4" and on the first tab the "Last version" appears in green and is the same.

I have disable the sound for the Captcha.

Also, how can the bot know my captcha balance without using my API key?

Onthe debug, I have a forced reconnect 15 minutes before the captcha. That's all :(
11/22/2012 22:44 Utharnl#1692
Hmm that is the correct version, it should work fine then :/

The bot doesn't know your captcha balance without an API key. That's why you will get an error message in debug.txt if your API key is wrong.

I just can't figure out why you are not getting a "Waiting for captcha" message. Do you remember if the bot was paused when you saw the captcha message in the morning?

~Uthar
11/22/2012 22:56 jmspaggi#1693
I'm never pausing the bot ;)

But the scheduler on the farmers was red, so pauded. But it's starting back at 4AM. So it should have went back to on.

I will most probably faced that again tonight. So I will take a look at the logs tomorrow morning...

JM
11/22/2012 23:07 Utharnl#1694
No I mean when a captcha is detected the bot paused itself. I was wondering if that happened or that the timer was still running when you saw the captcha message.

And two questions regarding the scheduler. Have you also the setting "Turn off bot by scheduler" enabled? And was the scheduler red when the bot detected the captcha notification at "2012-11-22 00:10:57 2012-11-22 00:10:57"?

~Uthar
11/22/2012 23:45 jmspaggi#1695
"Turn off bot by scheduler" is not checked.
The scheduler for the farmers was red at 2012-11-22 00:10:57
There is no lines on the logs between 00h10 and 6h50. So I guess it was waiting...

I will re-install the version for tonight an re-retry....