Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 13:43

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

Advertisement



Grepolis bot (Now with attack option)

Discussion on Grepolis bot (Now with attack option) 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
Grepolis bot (Now with attack option)

Hey all here's a bot for the browser game Grepolis. (From the makers of tribal wars)





About the bot
This is a freeware bot for the browsergame Grepolis. It helps you build your towns by creating an unlimited building queue. To help you gain more resources it is possible to attack the farmers on your island.
Although I do my best making this bot undetectable there could always be some problems. Use it at your own risk. But there shouldn't be much problems if you don't run it 24/7.

Summary
-Unlimited building queue
-Unlimited army queue
-Three modus for attacking farmers
-Works for all languages.
-Automatic reconnect on disconnect.
-Email notifications: Under attack.

Requirements
-

Quick start guide
Exit the Grepolis site if you have it open.
Start the bot. Make sure all files are in the same directory or sub directory as the bot. See picture below.
Click View->Settings to configure your bot. (At least your Name, Password and Server info.)
Click Actions->Login. Wait till the statusbar shows "|| Ready".
Click View->Army. Enter the number of units you want to use in battle.
(Repeat previous step for all your towns).
Click Actions->Start
Click on the "Build" buttons to add a building to the queue.
Go to View->"Army queue" to set the barrack queue and harbour queue.



Description of the GUI



Actions->Login Login to the game server
Actions->Start Start the bot
Actions->Stop Stop the bot
View->Army Set your units you want to use for battle
View->Farmers Set the farmers you want to attack
View->Settings Configure the bot
Help->About General information about the bot
Help->Check for updates Shows latest available version
Help->Test E-Mail Test your current E-Mail settings

Prev/Next Switch between towns
Build Add building to queue
Save Save the current queue, army and farmers settings
Load Load the queue, army and farmers information
Clear Clear the queue of your current town
Clear all Clear the queue from all your towns


Note: The first text box under each unit is used for attacks. The second text box is used for support.
Note2: Depending on your settings you can use exact numbers here and percentages.

Max Use all the units that are currently in your town


Note: Enter the number of units you want to train. The bot will automatic decrease the number if it can build a few units.
Note2: The army queue uses the same timer as the building queue.
Note3: Depending on your settings you can use the entered value as your final amount, meaning the bot stops if this number equals the amount ingame. Or as a counter which will decrease towards zero each time you train an unit.


Note: Shows current mood/strength of each farmer and shows if you have any units going to that farmer.

Checkboxes Select the checkboxes of the farmers you want to attack



User name Your Grepolis account name
Password Your account's password
Main server The login server
Server The game server you play on. Same as the main server but with a number
Minimize to tray Show the bot in the taskbar when you minimize

Timer build (Minutes) Select the delay between checking the building queue
Army Queue Choose between “Count down” or “Total”. “Total”, meaning the bot stops if this number equals the amount ingame. Or “Count down”, a counter which will decrease towards zero each time you train an unit.

Email The email address that receives the notification mails
Notify By Mail Whether or not you which to receive email notifications
User Name The email address that sends the email. (gmail recommended)
Password The password for the above mail address to send mails.
Server The email server, default gmail.
Port Port of the mail server. 587 is the default port for secure connections.

Attack farmers Activate the attack modes
Reverse Attack Order This will attack the farmers on the other side of the island first
Auto support Automatic support farmers when there mood/strength is too low
Timer attack (Minutes) Select the delay between attacks
Attack mode Select which attack mode you want to use
Attack Numbers Choose between “exact” and “percentage”. When using “percentage” the values should of course be between 0 and 100
Min. mood The minimum amount of mood a farmer should have before you attack it
Min. Strength The minimum amount of strength a farmer should have before you attack it
Min. mood (support) The minimum amount of mood a farmer should have before you support it
Max. Strength (support) The maximum amount of strength you want a farmer to have before stopping the support

Reconnect timer (Min.) The time in minutes to wait before reconnecting to the server
Debug mode Logs information about the bot in debug.txt

Release notes:
Version: 1.9.7.3 Date: 15-09-2011
-Updated for the new login system.

Version: 1.9.7.2 Date: 31-08-2011
-Fixed crash when skipping towns.

Version: 1.9.7.1 Date: 28-08-2011
-Added option to skip towns.

Version: 1.9.7 Date: 11-12-2010
-Added email notify
-Added variable reconnect timer.
-Added new mode for the army queue.
-Added new mode for attacking.
-Building/army queue is now loaded automatic.
-Building/army queue is now saved automatic.
-Fixed bug when attacking with special units.
-Fixed mistake in translation file.
-Fixed bug in updating building levels.

Version: 1.9.6 Date: 16-10-2010
-Added Norwegian translation (Thanks Paul)
-Fixed reconnect issue for some towns.
-Fixed “Check for updates”, works now for the new site.

Version: 1.9.5 Date: 19-09-2010
-Added Hungarian translation (Thanks akwi42)
-Fixed required resources for navy units.

Version: 1.9.4 Date: 11-09-2010
-Added max str. setting for support.
-Added dropdown menu for town selection.
-Added countdown timer for resources (Thanks Serfer).
-Added Spanish translation (Thanks KaZaC).
-Added confirmation dialogue when pressing save.
-Fixed army queue bug that caused it to reset.

Click spoiler for older release notes


This bot no longer works on the Grepolis servers.
Use the following link to find a working bot for Grepolis 2.0 !


~Uthar
Utharnl is offline  
Thanks
208 Users
Old 01/26/2010, 17:14   #2
 
elite*gold: 0
Join Date: Jan 2010
Posts: 8
Received Thanks: 0
I´ll test ;-)

Works fine.
Future: Maybe we can see the state of each building, becaus atm i have to write down what i wat to build for the next hours
HugoE is offline  
Old 01/26/2010, 21:23   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Good to hear it works well
Will add that in the next version.
I was thinking to display it like this: Senaat(4+1)
4 is the current lvl and the +1 is from the times the building is in the ingame building queue.
Utharnl is offline  
Old 01/26/2010, 23:42   #4
 
elite*gold: 0
Join Date: Jan 2010
Posts: 8
Received Thanks: 0
Sounds good.
Also i think the update time 30sec is to low better i think is to set between 2 an 10 min at the settingspage.

I try to understand the source, it´s not like delphi so i have to try
HugoE is offline  
Old 01/28/2010, 16:18   #5
 
erikpowa's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 12
Received Thanks: 1
it's not work for me (icantlogin) ;( . But its great job!
erikpowa is offline  
Old 01/28/2010, 16:33   #6
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Quote:
Originally Posted by erikpowa View Post
it's not work for me (icantlogin) ;( . But its great job!
lol look this:
It should work fine on the english server.
Could you check your username/password and server settings?
There's probably something wrong there.

Also, there's a new version coming soon.
Variable timer is already done and building levels probably later this day.

~Uthar
Utharnl is offline  
Old 01/29/2010, 15:37   #7
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 1
Mine doesn't work. I am using Windows7-64bit. Do you need to run it as administrator or in any compatibility mode?

-Nate

Windows 7 - x64
IE 8
FF
Google Chrome
Intel Q9550
8GB DDR2 1066
ASUS Rampage Formula
srialmaster is offline  
Old 01/29/2010, 17:19   #8
 
elite*gold: 0
Join Date: Jan 2010
Posts: 8
Received Thanks: 0
@srialmaster

no it works on win7 64bit, I play at a german server and it works fine.
You have to edit the Config-File for your server.
HugoE is offline  
Old 01/30/2010, 00:22   #9
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 1
Settings.txt:

srialmaster;
********;
en.grepolis.com;
en2.grepolis.com;
True;
debug.txt;
settings.txt;

This is my settings. I wonder if anyone is able to get this to work on the English Beta server.

-Nate
srialmaster is offline  
Old 01/30/2010, 00:53   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
hmm two reports now about problems with the English servers.
Will test that tomorrow.
Someone here that uses it on a English server without any problems?

Status next version:
Variable timer: done
Support for Greek servers: done
Building levels: work in progress
Utharnl is offline  
Old 01/30/2010, 01:07   #11
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 1
What program are you using to code this?
srialmaster is offline  
Old 01/30/2010, 01:11   #12
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
Quote:
Originally Posted by srialmaster View Post
What program are you using to code this?
I'm using Microsoft Visual Studio 2008 for that.

//edit
Found the login problem. For some reason the bot always wants to connect to server 1.
Will look into it.

//edit2
The server en1.grepolis.com is listed as world 2
The server en2.grepolis.com is listed as world 3
The server nl1.grepolis.com is listed as world 1
The server de1.grepolis.com is listed as world 1
The server gr1.grepolis.com is listed as world 1

My bot thinks en1 is world1 and en2 is world2.
Will change this in the next version for the English servers so that you can login.
Utharnl is offline  
Thanks
1 User
Old 01/30/2010, 06:35   #13
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 1
Hahaha....

Changed the en2 to en3 since you mentioned the worlds...... and it worked. If you want to use the english servers you have to do this:

If you are playing Alpha:
en2.grepolis.com

If you are playing Beta:
en3.grepolis.com

This is just a fix for now until Utharnl fixes it.

-Nate
srialmaster is offline  
Old 01/30/2010, 07:20   #14
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 1
Got an error when it starts to try and build:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

The Remote server returned an error: (403) Forbidden.


********** *************** ****************
*Details ^ * * Continue * * Quit *
********** *************** ****************

Details Below:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback( IAsyncResult result)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
GrepolisBot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Nate/Documents/Downloads/GrepolisBot%20v1.0/GrepolisBot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
srialmaster is offline  
Old 01/30/2010, 12:04   #15
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,656
Received Thanks: 703
That error: The Remote server returned an error: (403) Forbidden.
Is probably because you're using the en3 address now.
A fix is coming soon, if you wait a day I think that problem will be fixed.

~Uthar
Utharnl is offline  
Reply


Similar Threads Similar Threads
Grepolis Bot (GrepolisNet)
09/03/2019 - Browsergames - 172 Replies
http://grepolis.eden-daoc.net/1c.png << Download the GrepolisNET here >> GrepolisNET is a new kind of browser, based on Firefox, designed for your favorite game Grepolis, which includes lots of usefull tools Probably the first bot allowing the user to browse and play while it is running !
Grepolis Bot?
02/20/2011 - Browsergames - 4 Replies
Huhu, wollte mal fragen ob es einen grepolis Bot gibt ? wenn ja vllt könnte einer den link posten dank euch
Grepolis Help
04/05/2010 - Main - 1 Replies
Hey ich will den Bot benützen !!! aber wie geht der eig. der hier >>>http://www.elitepvpers.com/forum/browse rgames/438818-grepolis-bot-now-attack-option.html



All times are GMT +2. The time now is 13:43.


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.