[Release] KryoBot FOE - Forge Of Empires Bot

09/02/2013 14:27 Cheesenonion#31
Quote:
Originally Posted by RGrand View Post
Thanks for reporting. This should not happen.
The bot closes all windows every loop

does this popup show up while the mouse is moving?

~RGrand
I don't know if it happens while the mouse is moving or at the top left corner but after I take a look to see if it's still running I see the bot is in another city not clicking anything while my city is full of resources/gold which aren't collected yet.
09/02/2013 14:38 RGrand#32
I'll check it. The next update should solve it

~RGrand
09/03/2013 21:08 RGrand#33
Update 0.0.5 alpha

Changelog:
•code improved
•fix: city changing (tested but not under all possible circumstances)

Download in first post
~RGrand
09/04/2013 01:41 Diggs4343#34
Hi RG,
Having a little trouble getting the bot to run. Every time i click the KryoBot_FOE.exe it pops up for a second then closes its self and the test button in fiddler2 says the test url doesn't match. Is this right or am I missing something?
Running win8 x64
09/04/2013 14:55 RGrand#35
Create a text file and name it "startKryo.bat"
Open it with a texteditor
Add this code into it:

Code:
@echo off
KryoBot_FOE.exe
pause
Save it and run it
Now you should be able see the error message

The Fiddler test button should accept something like this:
Code:
URL Pattern:  regex:http://cdn.*.forgeofempires.com/assets/startup/startup.swf
Test URL: http://cdn.en.forgeofempires.com/assets/startup/startup.swf123456
~RGrand
09/05/2013 10:54 Cheesenonion#36
Quote:
Originally Posted by RGrand View Post
Update 0.0.5 alpha

Changelog:
•code improved
•fix: city changing (tested but not under all possible circumstances)

Download in first post
~RGrand
Bug fixed as far as I can tell..
Great work!
09/13/2013 03:40 doc_dj88#37
it doesn't work for me.

I've installed autoit/fiddler2/ c++ runtime(x64/x86)

My acoount is Administrator

but... when i try running bot, error comes up then terminated
C:\Users\Administrator\Downloads\KryoBotFOE_0.0.5\ KryoBotFOE_0.0.5>KryoBot_FOE.e
xe
Exception in thread "main" com.jacob.com.ComFailException: Can't map name to dis
pid: IniRead
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)

C:\Users\Administrator\Downloads\KryoBotFOE_0.0.5\ KryoBotFOE_0.0.5>


[Only registered and activated users can see links. Click Here To Register...]
09/14/2013 17:17 dantitan#38
did everything
when I start the bot it shows up for 3 seconds then disapear..
what seems to be the problem?

thanks!
09/14/2013 18:15 RGrand#39
@doc_dj88:

Make sure that there is a bot.ini in your folder.
In addition, your path looks strange. Since there is a crossed out W instead of a \
What language do you use on your computer and what system is running on your computer?

@dantitan:

post the error message. Instructions how to are available some posts before.

~RGrand
09/18/2013 11:22 Cheesenonion#40
I'm getting a sort like problem as doc_dj88.
When I try to open the program the cmd closes right after.
When I open cmd and open the .exe there I get the following message:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\....\Downloads\KryoBotFOE_0.0.5\KryoBot_F OE.exe
Exception in thread "main" com.jacob.com.ComFailException: Can't get object clsi
d from progid
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
at java.lang.Void.<unknown>(Unknown Source)
09/18/2013 23:06 RGrand#41
I have found the error. It has something to do with the registration of jacob.dll.
The next version of my bot will fix it and possibly make the whole library thingy itself.

Troubleshooting the jacob error:
(easiest solution: wait for next update)



Resoltion for problem 1 (CLSID is simply not registered):
Open up command line and execute this command:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /verbose /nologo /codebase C:\PATH\jacob-1.17-M2-x86.dll
important: change paths to your paths and use the right .dll version





Resoltion for problem 2 (CLSID wrong bit version)
1.Open ip command line and execute this commands:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /unregister C:\PATH\jacob-1.17-M2-x86.dll
register the "right" one:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /verbose /nologo /codebase C:\PATH\jacob-1.17-M2-x86.dll
important: change paths to your paths and use the right .dll version

~RGrand
09/20/2013 04:15 Captnitro#42
I love the bot...however i get sent to another persons city when the pop up window comes up. Other then that the game is more enjoyable now!
09/20/2013 09:56 Cheesenonion#43
Quote:
Originally Posted by RGrand View Post
I have found the error. It has something to do with the registration of jacob.dll.
The next version of my bot will fix it and possibly make the whole library thingy itself.

Troubleshooting the jacob error:
(easiest solution: wait for next update)



Resoltion for problem 1 (CLSID is simply not registered):
Open up command line and execute this command:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /verbose /nologo /codebase C:\PATH\jacob-1.17-M2-x86.dll
important: change paths to your paths and use the right .dll version





Resoltion for problem 2 (CLSID wrong bit version)
1.Open ip command line and execute this commands:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /unregister C:\PATH\jacob-1.17-M2-x86.dll
register the "right" one:
Code:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /verbose /nologo /codebase C:\PATH\jacob-1.17-M2-x86.dll
important: change paths to your paths and use the right .dll version

~RGrand
This had no effect on my bot, however re-register the register_32bit.bat file did the trick =D
09/20/2013 19:11 RGrand#44
I'm sorry. I didn't thought that the bot makes so many problems.
Even if it is a side-product, it should not run so poorly.
I'll put more effort into my work.

I might switch to C#

~RGrand
09/21/2013 16:50 Floxytek#45
hmm, my city look's like #8 your post, got P but when im start bot i see big start screen forge of empires bot, then it disappears and nothing happens.

i did everything correct from tutorial :/

_______________________________-
after install all libaries it works but.. i have 10 ceramics, all is ready to collect 5 minutes, bot collect 9/10 ceramics, then try to set 5 min production. and bot clicking only one building, also allready set..

sorry my eng, i hope u know what i mean