Jump to content
Sign in to follow this  
Linux

Travian Bot Example

Most Important Feature  

135 members have voted

  1. 1. Select the most important features

    • Marketplace Manager
      28
    • Military Attack
      81
    • Military Defense
      51
    • Sms
      26
    • TroopTool Updater
      15
    • Multi - Proxy
      25
    • Charts, graphs and other
      15
    • Automate Alliance Tasks
      19


Recommended Posts

Hi all,

Great script Linux, i like it sooooooo much.

I have a problem: when i try to access in my account bot give me an error: "Password wrong or internet error".

I tried to correct pass and log but it doesn't work.

I'd like to contribute to your project like betatester or like translator in italian language.

Thnx in advance for your help.

Best regards

Share this post


Link to post
Share on other sites

Revision 36 (05/23/2008)

Added .LT .IT .HU .HR .GR .CZ .DK Language (Thank you a lot JSmith2!)

Splited .COM from .UK language

Fixed Bug when adding buildings with level lower then 2

Fixed Bug when adding rally point

Added Encryption for the password saved in the ini (thank you Gusis)

Other minor bugfixing


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

Hi!

For the .US players

Just open the language.txt file, and change the name of the seccion from

[COM] or [uK]

to

[uS]

This change will be implemented in the next release.


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

thank you nico23.

the source will never be released, but if you want the installer we can talk.

kind regards


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

thank you nico23.

the source will never be released, but if you want the installer we can talk.

kind regards

Could I join the beta test team? So i can point any flaws in the script. But i wont have a hard job because i didnt notice any in the demo

Share this post


Link to post
Share on other sites

For the players, what do you think of this as future feature?

Market Management Topics-

1 - Add a Context menu, in the village list, to send resources from the current village to the others.

2 - Send sheduled resources. Select the amount of the daily send of resources.

Feed the army in the battle, or give a tribute to a player.

3 - Balance the Resources

Place the % of total storage capacity like this:

Here you place the speacial order like:

15 crop (example)

Want:

wood - 50 % (This will ask for wood, if warehouse is lower < 50 %)

Clay - 60 % (same)

Iron - 70 % (same)

Have: (Producer)

Crop - 60 % (this will free crop, if storage if greater > 60%)

NORMAL 6-4-4-4 (SMALL vilage example)

Want:

Wood - 70 %

Clay - 80 %

Iron - 60 %

Crop - 50 %

Have: nothing

Special (5 fields Iron) (Adult Village example)

Want:

Nothing

Have:

Wood - 50 %

Clay - 40 %

Iron - 20 %

Crop - 50 %

How can we garante that no pattern is made, when the resources are sent?

random trigger points maybe.


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

BUG in the speed .nl

changed first a language file

but now it cant login.. Error getting server time!

after 3times this error the programs stops en closes.

So it wont yet work at a speed.travian.nl

.com works perfect

Edited by kima

Share this post


Link to post
Share on other sites

BUG in the speed .nl

changed first a language file

but now it cant login.. Error getting server time!

after 3times this error the programs stops en closes.

So it wont yet work at a speed.travian.nl

.com works perfect

-EDIT-

It works fine if you change the lang file. Just make a [NL] table and change this line

9='Server time:' in to 9='Servertijd:'

not in to server tijd! Tha's what i did and than it will fail :)

Edited by capsaa

Share this post


Link to post
Share on other sites

-EDIT-

It works fine if you change the lang file. Just make a [NL] table and change this line

9='Server time:' in to 9='Servertijd:'

not in to server tijd! Tha's what i did and than it will fail :)

But there are a few problems with a couple of words it wont recognize:

"Clay Pit" is in Dutch "Klei-afgraving" but it wont recognize it in the program in the tab Buildings

"Main Building" in "Dutch Hoofdgebouw" but it wont recognize

"City Wall" in Dutch "Stadsmuur" but it wont recognize

and a few others.. how can ik fix it..

Edited by capsaa

Share this post


Link to post
Share on other sites

kima,

you can't search based on the raw material output by the browser. Instead, look in to the source and check to see if there is any extra characters in it. Sometimes '-' could be replaced with &#something;. You will have to check. It can be done by checking the debug.txt file.

Share this post


Link to post
Share on other sites

Yes, and sometimes, the buildings have diferent names from the tooltip that I use to extract data from dorf2. so be very carefull with this:

If a building is missing check the log,

It should be something like this:

Building Not Found with CalcResourceNeeded! Πλατεία συνέλευσης

This is the true String that need to be in the language.txt. you should know the line. Is line greek to me!

This is the true string (Πλατεία συνέλευσης) that is readed from the game. the only way to fill all strings is to play with all buildings.


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

first post updated.

new Demo hosted.

Revision 39 (05/31/2008)

Added .RO Romania Language (thank you Low_fps)

Reworked the Tryqueue to random the next village to try to build. this to to avoid linear patterns.

Reworked Auto Build Resources. now no longer adds to the queue, instead will try to build. to fix that the bot will sometimes loop.

Tweaked the Rsleep a little. (faster blue bar)

Other minor bug fixes

Fixed a bug in the Dinamic Stock, that causes to have stock > capacity, and negative stock.

Revision 38 (05/27/2008)

Fixed ticket #13 (unable to login in rev 37, rebuild dinamic stock))

Added .RU Russian Language (thank you Low_fps)

Other Minor bugfixing

Revision 37 (05/27/2008)

Added Options Tab, with slider for check time.

Added tool tips

Added .TR (thank you Low_fps) and .NL (thank you m0dd3st)

Splited COM / UK / US Language

Added dinamic stock (that you Alby)

Log now writes to a file.

Other Bug fixing and Minor Gui Adjustments


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

It has a little problem what you maybe is good to fix.

Sometimes a server has a little problem. Or its off line because of maintenance. When this happens the bot cant login. Its logic but than the bot stops and closes after a wile. It is mayby better that it retry's after every 30min or something like that.

Because when i'm gone it wont start on it self.

And a option to start when windows starts. Then no login just start the account.

Edited by capsaa

Share this post


Link to post
Share on other sites

if goes offline, the bot will retry 20 times, then exit.

I could make the bot start an account, with a parameter.

You could start the bot with "c:\program files\travian\evolution\evolution.exe /s File.ini" to bypass the login intro, and load that ini file.

for the start auto, I can also implement that in the registry. I will register this feature as future feature. thank you for your contribution. good game


You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites

Revision: 40

Removed UPX compression, and no longer gets a false positive virus alert.

New feature: Destroy buildings.

New feature: Minimize to tray and Tray Menu

New Feature: Auto-Save every hour

Disable autobuild Resources when updated field is lvl 10 and error returned from build.

Added blue in Building Listview for free slots in drof2

Removed green if building level = 5 and max building level = 5, in buildingListview

Fixed Bug. Building error now updates the queue with new level.

Fixed a but with the time needed to have available resources.

demo uploaded with revision 40

comming soon:

Revison 41

Added unicode check at the start of the log

Fixed SI Language

Fixed Bug when trying to add resources from the Resource Tree List.

added switch auto pilot to the tray menu.

Other minor bugfixes

Edited by Linux

You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...