Register for your free account! | Forgot your password?

You last visited: Today at 03:58

  • 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   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Empire Craft Bot

Last updated 28-04-2010: v2.4

I stopped the development of this bot. If you want to continue this project you can find the source code on my blog.

The purpose of this bot is to train your heroes by attacking devil troops. It’s also possible to attack other towns to increase your resources. As a protection for your troops they will be send away when you are under attack. Since version 2.3 there is also a building queue.

Current functionality:
-Unlimited building queue.
-Train your hero’s by killing the nearest Devil Troops.
-Possible to train multiple heroes in the same town.
-Attack towns near you to increase your resources. (See farms.txt)
-Flee when you’re under attack. (Uses farms.txt to choose a target)
-Automatic reconnect when connection to server is lost.
-Support for the Logitech G15 Keyboard. (Bot works fine without this keyboard).

Requirements:
-

Quick start guide:
-Click View->Settings
-Update settings
-Click Actions->Login
-Wait till bot is ready
-Click Actions->Start

Detailed guide:
This is the main interface of the Empire Craft Bot.

Menu's:
-File: Exit
-Actions: Login, Start, Stop
-View: Settings, Hero ID's



In the settings menu you will find everything needed to configure your bot.
Please note that your password is saved in settings.txt.

Fields:
-User name
-Password
-Server: After you press the menu item Actions -> Login you can no longer change this.
-Farm mode: Your hero’s will attack all towns in farms.txt
-Training mode: All the hero’s that you enter in trainees will attack devil troops. The heroes that you are training will not be used to farm resources.
-Build Timer (Min.): The time in minutes between each check of the building queue.
-Debug mode: Will log messages to debug.txt that helps the developer identify problems.
-Log attacks: This will log all your attacks.



This is the Hero ID’s window.
Here you can see the ID’s you need to enter for the training mode.
There are two kind of id’s, a long one and a short one. If you just enter the one that is shown in this window it works.
Example short: [21780]
Example long: [362b1a3d-1b0b-495f-b507-ce60b7d937e0]

Enter all the id’s in the following format:
[id][id][id]
If you don’t use ‘[' and ']‘ it won’t work.
Example: “Trainees” [21780][21781][362b1a3d-1b0b-495f-b507-ce60b7d937e0]

How to use farms.txt:
Example:
Quote:
Aydind;466185;467188;461185;464188;463189;457185;4 63193;458189;461192;457189
Nicoba;502208;498217;495216;490212
Tamara;006225;503220;503224;501224;000228;499224;5 00229;498228;496228;500233;495229;498233
Renwol;495229;489224;493229;493232;486228;488232;4 81229;485233;482232;480232;484237
Hartla;013221
The farms.txt file is used to know which towns to attack during farm mode or when you're fleeing.
In my case I have 5 towns, called Aydind Nicoba Tamara Renwol and Hartla. Behind each town name you can type the coordinates you want to attack. Those coordinates should always be 6 digits long.
The result is:
My hero's in Aydind will attack: 466185, 467188, ....
My hero's in Nicoba will attack: 502208, 498217, ....
....

Requirements farms.txt:
Each town should be on a new line
All coordinates must be 6 digits long. Use zero's if it shorter. Example: 000228 or 123001

As a final note, if you want to go to the game on your browser first pause the bot!

Release notes:
Version: 2.4 Date: 28-04-2010
-Improved anti-detection

Version: 2.3 Date: 18-04-2010
-Added building queue.
-Fixed small GUI problem

Click spoiler for older release notes.

I stopped the development of this bot. If you want to continue this project you can find the source code on my blog.

Download mirror:
Attached Files
File Type: zip EmpireCraftBot_v2.3.zip (149.6 KB, 270 views)
File Type: zip EmpireCraftBot_v2.3_Source.zip (140.9 KB, 156 views)
File Type: zip EmpireCraftBot_v2.4.zip (149.9 KB, 663 views)
Utharnl is offline  
Thanks
16 Users
Old 12/20/2009, 14:44   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Added newest version, v1.63
This version make long hero id's better readable.

I see it's downloaded a few times now,
Someone with questions on how to use it or maybe some tips to improve it?
Utharnl is offline  
Old 12/22/2009, 00:12   #3
 
elite*gold: 150
The Black Market: 102/1/0
Join Date: Jul 2008
Posts: 3,417
Received Thanks: 4,064
did it work?
jere88 is offline  
Old 12/22/2009, 00:20   #4
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Quote:
Originally Posted by jere88 View Post
did it work?
Yeah it works fine, i'm using it on w15.
If you have any problems with the settings post a message here and will help you with it.
Utharnl is offline  
Old 12/22/2009, 00:29   #5
 
elite*gold: 150
The Black Market: 102/1/0
Join Date: Jul 2008
Posts: 3,417
Received Thanks: 4,064
okay, I will test it and report you if something happened
jere88 is offline  
Old 12/26/2009, 17:04   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 3
Received Thanks: 0
hello
in my windows write.

empirecraftbot.exe - Application Error
The application failed to initialize properly (0xc00000135). Click on OK to terminate the appllication.

what need to do for open?

T.
TomasSt is offline  
Old 12/26/2009, 18:53   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Quote:
Originally Posted by TomasSt View Post
hello
in my windows write.

empirecraftbot.exe - Application Error
The application failed to initialize properly (0xc00000135). Click on OK to terminate the appllication.

what need to do for open?

T.
The reason you get that error is because you are missing the latest .Net Framework update (Probably 3.5) from microsoft.
You can download that update and then the bot should work.
Here is the link:
Utharnl is offline  
Old 12/27/2009, 16:27   #8
 
elite*gold: 0
Join Date: Dec 2009
Posts: 3
Received Thanks: 0
Hello

This Bot work on W17?
TomasSt is offline  
Old 12/27/2009, 17:19   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
It works on all servers
To change the server open settings.txt and change w15.hithere.com in w17.hithere.com

Note: When you change settings.txt make sure the bot isn't running

~Uthar
Utharnl is offline  
Old 12/27/2009, 21:31   #10
 
elite*gold: 0
Join Date: Dec 2009
Posts: 3
Received Thanks: 0
Thank you Utharnl

i'm don't know how to attack.
if i'm wont to attack X:57 Y:313
what need to write in the farms.txt file?
TomasSt is offline  
Old 12/28/2009, 01:50   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Each town you have has his own row in farms.txt starting with his name.
Let's say the name of your town is "Amsterdam".
Your farms.txt should look like this then:
Quote:
Amsterdam;057313
Dont forget to add the '0', The coordinates you enter in farms.txt should always be 6 numbers long
Utharnl is offline  
Old 12/28/2009, 07:54   #12
 
Darknafein's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 35
Received Thanks: 1
can you put a basic autobuild feature?
do we have to close the browser when botting and it is correct for farms.txt cause its not working?

Quote:
New city;123456;123456;123456;123456;123456;123456;123 456;123456;123456;123456;123456;123456
New city;131183
Avalonn;135186
Boxs;132389
fifo;133394
BRO;127389
Darknafein is offline  
Old 12/28/2009, 10:56   #13
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
@Darknafein
Autobuild
I have also been thinking about a basic autobuild feature, but it gives a lot of problems.
Maybe I will add some feature that will only let you upgrade buildings you already have.
But could take sometime to make because of the holidays and my internship starting after that.

farms.txt
The farms.txt works with your town names to find the correct targets to attack.
Because of that each town has to be an unique name.
Atm you have two towns called "New city", that's not going to work. They will both use the first "New city" that they find in the text file.

An other problem is your 7th coordinate of "New city". Change 123 456 to 123456.
But it isn't really necessarily to enter the same coordinate more then once. Because the bot will repeat the coordinates when it's finished. So if you only enter coordinate 123456 the bot will continuously attack that target.

Besides that your farms.txt has no problems and should work fine.
Also don't forget to turn on "Farm mode" in the settings window.

Running bot
When you run the bot you should close your browser (Only the Empire Craft site ofcourse)
If the bot is running and you want to go to the empire craft site you can click the "start/stop" button and open the site. When you're done close the site and click "start/stop" again.

~uthar
Utharnl is offline  
Thanks
1 User
Old 12/28/2009, 12:18   #14
 
Darknafein's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 35
Received Thanks: 1
thx for the information and my coordinates was only an example.
Darknafein is offline  
Old 12/28/2009, 12:32   #15
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
No problem.
Already though they were example coordinates but could use them well to explain a few things
Utharnl is offline  
Thanks
1 User
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 +2. The time now is 03:58.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.