I have a problem: after pressing "Start" the bot freezes(not right away, but after a couple of minutes or so). It works in the background (he is giving me lots of roses) but the whole GUI becomes blank, and the only way to stop it is to kill the process. I'm running Windows 7.
From first post:
Quote:
Originally Posted by Utharnl
Known Issues:
-The interface will freeze every 10 seconds when bot is updating data.
It's going to take a bit longer to make 2.0
The login process is working again and the hero/town data.
Working now on scanning for incoming attacks and sending hero's away.
@PracticeMakesPerfect You get that error when there's a maintenance or if the server doesn't exist.
Could you check your settings file? Maybe there's a typo that causes you to connect to the wrong server.
//edit
Finally done with version 2.0
The functionality is the same as the previous version (1.63).
I rewrote almost the whole bot to make it faster and easier to add new functionality.
Also I fixed the interface freezes.
I have tested it now for two days and everything seems to work fine. But could use some feedback if it's working for you or not.
Now that this is done I will start working on some new functionality
2.0 is consistently locking up for me on "Scanning for incoming attacks." The first time it ran through all cities successfully once, and then froze up, then future attempts froze on the first scan.
@Zraelin
Too bad, looks like I still missed something then.
Could you give me some more information?
-Which options have you turned on?
-Which text is shown in the statusbar?
-Is there new information in debug.txt?
Thanks for the 2.0. The interface is not freezing any more.
I have the same problem as Zraelin. The 2.0 sotps at "Scanning for incoming attackes" (which is the message shown on the status bar). I have only enabled the "training mode" and "debug mode". However nothing is logged in the debug.txt
In addition, I use some extended ascii characters (ascii code greater that 127) as my cite names. The characters are not shown up correctly. I don't know whether this is the root cause.
Thanks for the feedback airplane468
I found a problem related to your issue, the bot could hang when there were no rested hero's in town.
Uploaded 2.1 and it works fine now when there are no rested hero's in your town.
There could be more cases like this that the bot would hang but hope I fixed them all now
No problem Zraelin It's fine already that you reported it, could have taken some time otherwise before I had found it.
@airplane468 Forget one thing to say. The ascii characters aren't any problem, the bot only uses the townid which are only numbers. The town name is only used to show something on the GUI.
I have tried it yesterday for over 5 hours. It was running good without any problem except getting 2 connection timeout. Probably the server was too busy. However even I chose 'continue', the program didn't look like "continue". It will be perfect if in case of connection timeout, the program can automatically re-connect and resume the execution.
I will use it for the coming Friday event to kill devils. Unfortunately the devils close to my cities were all killed yesterday. The remaining devils are 1+ hours away.
@airplane468
The reconnection was already working in the 1.6 version but not yet with 2.1 it seems.
It's a bit hard to test, only when the server is busy/offline (maintenance). Or maybe I could just turn off internet when the bot is running..
Will look into it this weekend
************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at EmpireCraftBot.Form1.scanConstructionsResponse(Str ing p_Response)
at EmpireCraftBot.Form1.client_DownloadStringComplete d(Object sender, DownloadStringCompletedEventArgs e)
at System.Net.WebClient.OnDownloadStringCompleted(Dow nloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationComple ted(Object arg)
my os is windows 7 64 bit , maybe a framework problem?
Empire Craft II Bot 12/13/2010 - Browsergames - 10 Replies This is a short guide to get the bot working. First be sure you have the latest version. See the release notes for all the changes. If you are interested in the source code you can download that here.
Please note that this bot is for version 2 of Empire Craft. This means that the following servers are supported:
s20+ (Not s22)
w24+
At the moment the only purpose of this bot is to make an unlimited building queue. If you have any tips, bugs or questions you can use the comments.
Empire Craft 07/22/2010 - General Coding - 0 Replies hey guys noticed theres a bot out for empire craft just wondering if any 1 had tested it also can any 1 do anything with this it is a script for the luck machine in empire craft if some 1 could take a look and let me know what i need to do to use it would me aprreciated thanks guys heres the link for the script
http://userscripts.org/scripts/review/65003
empire craft 04/07/2010 - Browsergames - 15 Replies New BOT incoming...!!
im making a new BOT
Empire Craft (G15 App) 12/18/2009 - Browsergames - 3 Replies I replaced this program with an other one and will no longer update it.
The new program is a bot + support for G15.
Here is a link to the new topic: Empire Craft Bot
Hey all, wrote a small app for the Logitech G15 Keyboard.
This keyboard has a nice lcd display and can be used to show lot's of usefull information.
http://lookpic.com/i/555/1tV2hAnR.png
A few note's about the GUI: