[Release] Grepolis 2 bot

08/16/2014 13:31 plesik4s#2266
@Utharnl
Thanks for your reply. Your tutorials are very useful! Thanks for making them. But I see difference between what you use in ur bots and what you made in tut. Or there is no difference?
browser tab is very cool feature. Its hard to do that?
08/16/2014 15:46 Utharnl#2267
In part 2 of the tutorial I discuss a basic and advanced method. The advanced method is what I'm currently using in this bot.
It is not that hard to implement the browser tab, but it depends on the website. When http only cookies are used it is a bit more tricky.

~Uthar
08/16/2014 22:19 rene26#2268
Windows give me a new error message:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ComponentModel.Win32Exception: Für diesen Befehl ist nicht genügend Speicher verfügbar
bei System.Drawing.BufferedGraphicsContext.CreateCompa tibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)
bei System.Drawing.BufferedGraphicsContext.CreateBuffe r(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height)
bei System.Drawing.BufferedGraphicsContext.AllocBuffer (Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
bei System.Drawing.BufferedGraphicsContext.AllocBuffer InTempManager(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
bei System.Drawing.BufferedGraphicsContext.Allocate(In tPtr targetDC, Rectangle targetRectangle)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
bei System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
bei System.Windows.Forms.SplitContainer.WndProc(Messag e& msg)
bei System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
GrepolisBot2
Assembly-Version: 2.67.0.2.
Win32-Version: 2.67.0.2.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepolisBot2.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
GrepUnits
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepUnits.DLL.
----------------------------------------
GrepBuildings
Assembly-Version: 2.54.0.2.
Win32-Version: 2.54.0.2.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepBuildings.DLL.
----------------------------------------
GrepCulture
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepCulture.DLL.
----------------------------------------
GrepFarmers
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepFarmers.DLL.
----------------------------------------
GrepSchedulerSmall
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/GrepSchedulerSmall.DLL.
----------------------------------------
Microsoft.mshtml
Assembly-Version: 7.0.3300.0.
Win32-Version: 7.0.3300.0.
CodeBase: file:///C:/Users/Rene26/Desktop/ghjghjghj/Microsoft.mshtml.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
08/17/2014 00:00 Utharnl#2269
The user Drag was having the same error:
[Only registered and activated users can see links. Click Here To Register...]

You can follow our conversation at the link above. In the end BitDefender Antivirus was causing the problems.

~Uthar
08/17/2014 09:51 rene26#2270
Yes it works. Thank you.
I set a rule in bitdefender to accept grepolis. Now all works!

Thanks uthar for your help.
08/20/2014 09:36 rene26#2271
The captcha solver doesnt work.
every night at 3 o clock the bot get in pause mode.

what do i wrong? captcha solver and self solve is activated. credits are 1.
08/20/2014 14:51 Utharnl#2272
At 3 AM it can take a while to solve a captcha because there are not many users at 9kw, however it should still solve the captcha.

Regarding the settings, you can disable "self solve". That is an experimental setting that lets you solve your own captchas at 9kw.
To solve a captcha you do however need at least 10 credits. So you first need some more credits before the bot can solve your captcha. You can earn credits at 9kw by solving credits of other users, for each captcha you solve you get 5-8 credits.

~Uthar
08/20/2014 19:05 rene26#2273
Oh ok. Ive only 1 credit.
Ill earn some credit and test it again.



edit//

Bot already stopped at 4 o clock.
Credit is 29. activ dropbox is captcha solver. self solve is deactivated.

In the Browser tab the windows is pop up with the captcha dialog. But it dont self solv this.
08/21/2014 17:22 Czony#2274
[Only registered and activated users can see links. Click Here To Register...]
WTF ? ;/
08/21/2014 17:27 Utharnl#2275
@rene26
Anything useful in the log.txt and debug.txt files?

@Czony
Does that happen as soon as you start the bot?

~Uthar
08/21/2014 17:59 Czony#2276
@Utharnl
Yes! ;/
08/21/2014 18:05 Utharnl#2277
@Czony
Can you make a screenshot of the bot folder? Then I can check if you have all the dll files.
Also make sure you have .NET Framework 3.5 installed and check windows update if there are any updates for the .NET Framework.
08/21/2014 18:12 Czony#2278
[Only registered and activated users can see links. Click Here To Register...]


Updates all done; /
needs the service pack 3? (I once had and it worked)
08/21/2014 18:19 Utharnl#2279
You have all the required files. Did you already check the .NET Framework?

Also some security programs could interfere with the bot, are you using those?
08/21/2014 18:27 Czony#2280
NET Framework is good:>

no program blocks (I think): D