[Release] ForgeBot - Forge of Empires

10/18/2012 16:44 Unghiutza#226
DoostFox if I understood your problem, I guess that I have the exact same problem. When the timer resets, the whole page goes into the corner and it does not collect everything.
10/18/2012 22:46 Utharnl#227
@Unghiutza
Are you sure you are zoomed in? If you are zoomed out you get exactly the problem you described.
I had plans to make a bot for this in C++ (using Qt). That way it works on windows, linux and OS X. Unfortunately the browser Qt offers doesn't have all the functionality I needed to make a bot for this flash game :(
I'm not sure yet if I'm going to make a bot for this in C# (.NET Framework).

~Uthar
10/18/2012 23:11 DoostFox#228
buttons zoom in / zoom out, I did not see
10/18/2012 23:18 Utharnl#229
See screenshot below:
[Only registered and activated users can see links. Click Here To Register...]

~Uthar
10/18/2012 23:28 DoostFox#230
Thank you very much, the bot works
10/19/2012 16:31 rocksteady186#231
The pixel detection works great. You just have to find the right setting for your resultion. I use 135 and that works for me...

But I really hope for an update so it supports resource buildings....
10/19/2012 21:32 runofma#232
Hallo, ich glaube ich habe die Lösung für Flash Update meldung gefunden. Und zwar nutzt Awesomium für Flash die veraltete NPSWF32.dll in c:\windows\system32 Ordner. Die NPSWF32.dll bekommt man mit neustem Flash-Update. Diese dll ist mehrfach im System vorhanden, und wird beim Flashupdate nicht überall ersetzt- also braucht es etwas handarbeit . Im Klartext: alte NPSWF32.dll durch neue ersetzen . Einfach mal das System nach der dll absuchen und abschätzen, welche vom Datum her die neuste ist. Bei mir war es die "NPSWF32_11_4_402_287.dll" , hab die umbenannt und alte gelöscht - dann lief der Bot auf anhieb :D

for english people: replace the old "NPSWF32.dll" in windows/system32 with new version. Scan your system for "NPSWF32.dll" and look for new dll (u have more versions inside). Good luck.
Hier weitere Infos:
[Only registered and activated users can see links. Click Here To Register...]
10/20/2012 01:49 dzery#233
Hey, my timer works only when bot is minimalized. I need to minimalize then maximalize for getting this timer working.

@EDIT
Nah, wrong. It works only when its minimized, i mean that in example if timer shows 4:22, it would freeze forever if bot is maximized. If i minimize it for in example 22 seconds and then maximize, timer will show 4:00. Sry for my bad english, but its kinda late and my brain isnt working properly.
10/20/2012 16:37 xeroz4u#234
How to play multi accounts in ForgeBot ???

Thx for answer.
10/20/2012 18:43 FredFeuersta#235
Nice work, works for me without problems. :)
10/23/2012 00:43 saykor#236
Hi, I have a problem. Today the bot stop to work. I just close and start it again and see a error message:

Unhandled exception has occured in your application....
Index was out of range. Must be non-negative and less than the size of the collection

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
at ForgeBot.BotServer.assignFtpData()
at ForgeBot.BotServer.syncWithServer()
at ForgeBot.MainForm.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ForgeBot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Games/ForgeOfEmpires/ForgeBot_v0.3/ForgeBot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Awesomium.Core
Assembly Version: 1.6.6.0
Win32 Version: 1.6.6.0
CodeBase: file:///E:/Games/ForgeOfEmpires/ForgeBot_v0.3/Awesomium.Core.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
10/23/2012 02:33 azoiabiscaia#237
Hello
the bot has worked well, but today showed me the same error that the sayor have. Can someone help solve the problem?

Quote:
Originally Posted by saykor View Post
Hi, I have a problem. Today the bot stop to work. I just close and start it again and see a error message:

Unhandled exception has occured in your application....
Index was out of range. Must be non-negative and less than the size of the collection

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
at ForgeBot.BotServer.assignFtpData()
at ForgeBot.BotServer.syncWithServer()
at ForgeBot.MainForm.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ForgeBot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Games/ForgeOfEmpires/ForgeBot_v0.3/ForgeBot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Awesomium.Core
Assembly Version: 1.6.6.0
Win32 Version: 1.6.6.0
CodeBase: file:///E:/Games/ForgeOfEmpires/ForgeBot_v0.3/Awesomium.Core.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
10/23/2012 03:31 minamoo#238
The webssite it uses for settings: forgebot.host22.com/botsettings.php has suspended the account for overusage of the CPU. So you can either recompile the app and use local settings or wait for the writer to sort the issues out with his host.

Code:
CPU Limit Reached

You are seeing this page because website has reached CPU usage limit of the server, and it was temporarily disabled.
10/23/2012 03:32 gracilianofn#239
The same for me!!! Still worked all day... but when I restart my pc show thats message!!
10/23/2012 03:45 minamoo#240
Ok I took out the FTP loading part from the authors code and it seems to have sorted out the issue. Not sure what he is loading there offhand but I see there is visitor stats loading, there could be more. The recompiled bot is now running.

Either way, not going to troll on the thread and I'm sure that the author will sort out his hosting soon anyway and all will be well.