Register for your free account! | Forgot your password?

You last visited: Today at 07:39

  • 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 04/28/2010, 21:14   #106
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
It's not that far yet, needed to fix a few bugs in an other bot. But started with it last Monday.
It looks like I can use some things from the other version but will write most of it from scratch because there are some things that could use improvement.


//edit
Also uploaded a new version of this bot. This version is harder to detect by the Empire Craft servers (Should they ever start scanning for it).

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

~Uthar
Utharnl is offline  
Old 04/29/2010, 04:33   #107
 
elite*gold: 0
Join Date: Mar 2010
Posts: 3
Received Thanks: 0
Hi
I did some debugging for this error (same Unhandled Exception) which i am receiving. These are the details:

Method getBuildingsResponse() in Form1.cs has some issues as this gives an exception. when i debugged it i found that it is failing at m_Towns[m_TownCycle]).Buildings[0];
This gives an error as l_index is -1 and because of this m_Towns was never set as it never into the loop.
Then i checked why it is not going into the loop. I found the p_Response does not have {<area title=\"} and so the value of l_index is always -1.
Let me know if you want the p_Response, i can send it to you or if you can explain what will be the possible replacement for {<area title=\"} .
Let me know if i can help in any way to help you resolve this issue.
Thanks to you again for this wonderful code.
SKSG
sksg is offline  
Old 04/29/2010, 20:22   #108
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Hey sksg thanks for the debugging.
The new Empire Craft servers are running an other version of the game then the older servers. This bot only works for the older version. s1-s19 and w1-w23.

I'm currently working on a new bot that works only for the newer servers. Some of the code I can use again but other things have changed too much that I have to rewrite it. (Like the example you posted above).

Haven't done anything yet about the building queue for the new version. So, I have no idea yet for what I have to look in the http response. When the new bot is ready I will start a new topic but will also make a notice for it in this topic.

~Uthar
Utharnl is offline  
Old 05/01/2010, 22:18   #109
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1
Received Thanks: 0
1st I'd like to say, awesome bot, I thought I had posted before thanking you, but appears I haven't

Long time user of v1.63 and love the new upgrades. Just switched to 2.4.

Thanks again for the work! When I get some time I hope to view the code and figgure this thing out

Is this as far as you plan on upgrading the ECv1 bot?
stobenhaf is offline  
Old 05/02/2010, 20:23   #110
 
elite*gold: 0
Join Date: Apr 2010
Posts: 4
Received Thanks: 0
as far as them scanning for bots i have a feeling its comming bcz a web site hacked in to ec and did a mass mail about a bot so just keep and eye out !
ray83 is offline  
Old 05/02/2010, 23:43   #111
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
@stobenhaf
Np Good to hear you like it!
And yes, this bot has now all the features I wanted to add. Only doing some bug fixes when they are needed.
I will now focus on the bot for ECv2

@ray83
Thanks for the tip. Since version 2.4 the bot is a lot harder to detect. So even if they start scanning you should be safe if you aren't running the bot 24/7.

~Uthar
Utharnl is offline  
Old 05/19/2010, 05:38   #112
 
elite*gold: 0
Join Date: Apr 2010
Posts: 16
Received Thanks: 0
hows it comming along for v2 Utharnl and again as always great work on all of your previous bots
red_death86 is offline  
Old 05/19/2010, 14:26   #113
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
The login process and collecting towns is working. And I'm working on a new heroes overview. Also I started on a new interface.
But haven't had any time the last weeks to work on it. Currently busy finishing my intership, probably haven't time for it until the end of June.

~Uthar
Utharnl is offline  
Old 05/25/2010, 16:34   #114
 
elite*gold: 0
Join Date: Mar 2009
Posts: 1
Received Thanks: 0
how can i upgrade buildings? im so confused. do i need to open the site?
jacko444 is offline  
Old 05/25/2010, 18:16   #115
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
No, there is no need for that.
First you have to login with the bot and after that you only need to click the "add" button.

~Uthar
Utharnl is offline  
Old 05/30/2010, 17:06   #116
 
elite*gold: 0
Join Date: Jul 2008
Posts: 4
Received Thanks: 0
Hey, i just wanna ask when ur going to make the bot for w24+? =P cuz yesterday when i trying the bot i got that error that pop up when the bot starts and stop on the scanning buildings saying "unhandled exception has occurred" ^^ many thanks for building this bot and i wait patiently for the second release.

thanks, Sonecas
sonecas is offline  
Old 06/06/2010, 09:22   #117
 
elite*gold: 0
Join Date: Jun 2010
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by Utharnl View Post
Last updated 28-04-2010: v2.3

Please note that this bot is for version 1 of Empire Craft. This means that the following servers are supported:
  • s1-s19
  • w1-w23
Empire Craft II started with s20+ and w24+. Will make a link here when I have a bot for that version.


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:

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.

Download mirror:
How can i invade?
LibertyHS2927 is offline  
Old 06/06/2010, 12:34   #118
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Hey LibertyHS2927, Did you read the text you quoted above?
But here's the answer Make sure "Farm mode" is turned on and that the towns you want to attack are in the text file farms.txt

See the example for farms.txt to make sure you use it correctly.

//edit
The first version of the bot for Empire Craft II should be ready around 20th June.

~Uthar
Utharnl is offline  
Thanks
1 User
Old 06/07/2010, 00:23   #119
 
elite*gold: 0
Join Date: Jun 2010
Posts: 2
Received Thanks: 0
noo, i know how to attack, the thing i wanna know is if you can invade, like take another players city by just leaving it on... does that make sense? other than that your bot is amazing, thanks!

SF
LibertyHS2927 is offline  
Old 06/07/2010, 00:29   #120
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Ow sry, understood you wrong.
But no, it's not possible to let the bot do that.

It's a nice idea though, maybe i'll add it in the Empire Craft II bot.

~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 07:39.


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.