Register for your free account! | Forgot your password?

You last visited: Today at 00:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Empire Craft Bot

Discussion on Empire Craft Bot within the Browsergames forum part of the Other Online Games category.

Reply
 
Old 02/17/2010, 05:32   #31
 
elite*gold: 0
Join Date: Feb 2010
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by Volaxad View Post
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 View Post
Known Issues:
-The interface will freeze every 10 seconds when bot is updating data.
It still works fine, just give it a moment!
Zraelin is offline  
Old 02/17/2010, 05:36   #32
 
elite*gold: 0
Join Date: Feb 2010
Posts: 8
Received Thanks: 0
Utharnl,

Looking forward to seeing what you add in! And that makes sense, don't know why I was thinking would have to wait for whole city to finish.

/salute
~Zraelin
Zraelin is offline  
Old 02/21/2010, 22:35   #33
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
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.

Will keep you updated

~Uthar
Utharnl is offline  
Old 02/26/2010, 08:30   #34
 
elite*gold: 0
Join Date: Feb 2010
Posts: 1
Received Thanks: 0
does this work on s19? it gives me Exception in logIn(): Unable to connect to the remote server
PracticeMakesPerfect is offline  
Old 02/26/2010, 16:49   #35
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
@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

~Uthar
Utharnl is offline  
Old 03/01/2010, 04:06   #36
 
elite*gold: 0
Join Date: Feb 2010
Posts: 8
Received Thanks: 0
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 is offline  
Old 03/01/2010, 09:20   #37
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
@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?

I will look for a solution this evening.

~Uthar
Utharnl is offline  
Old 03/01/2010, 16:48   #38
 
elite*gold: 0
Join Date: Feb 2010
Posts: 3
Received Thanks: 0
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.
airplane468 is offline  
Old 03/01/2010, 22:55   #39
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
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

~Uthar
Utharnl is offline  
Old 03/02/2010, 14:56   #40
 
elite*gold: 0
Join Date: Feb 2010
Posts: 8
Received Thanks: 0
I will test it out when I get home! Thanks once again for your work, and sorry I didn't log in earlier to see the request for debug info
Zraelin is offline  
Old 03/02/2010, 18:49   #41
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
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.

~Uthar
Utharnl is offline  
Old 03/04/2010, 18:33   #42
 
elite*gold: 0
Join Date: Feb 2010
Posts: 3
Received Thanks: 0
Thanks for the version 2.1.

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.

Looking forward the new features. Many thanks!
airplane468 is offline  
Old 03/04/2010, 18:40   #43
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
@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

~Uthar
Utharnl is offline  
Old 03/07/2010, 13:17   #44
 
elite*gold: 0
Join Date: Apr 2005
Posts: 9
Received Thanks: 0
have a problem

************** 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?
Kito is offline  
Old 03/07/2010, 22:49   #45
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Using Win7 64bit myself and that works fine. Only framework you need is .Net Framework 3.5.

Do you remember when you got that error?
As soon as you started the bot or after it was running for some time?

//edit
One more thing, did you maybe have the game open in your browser when you got this error?

~Uthar
Utharnl is offline  
Reply

Tags
empire craft bot, empirecraft


Similar Threads Similar Threads
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 Bot
10/10/2010 - Browsergames - 4 Replies
Empire Craft Bot v0.2.4 :handsdown: In settings check everything then login. News somee params rewrited | bugs fixed | Mailreader added
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:



All times are GMT +1. The time now is 00:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.