Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 11:37

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

Advertisement



[Beta] DSX1337 - Tribal Wars Bot

Discussion on [Beta] DSX1337 - Tribal Wars Bot within the Browsergames forum part of the Other Online Games category.

Reply
 
Old 04/07/2016, 02:52   #31
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4
Received Thanks: 0
it was working great until v 1.2

help please

ruahefoci is offline  
Old 04/07/2016, 10:01   #32
 
elite*gold: 0
Join Date: Apr 2009
Posts: 28
Received Thanks: 8
Do you plan on adding editable templates for buildings?
Xtreeme is offline  
Old 04/07/2016, 14:29   #33
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Quote:
Originally Posted by ruahefoci View Post
it was working great until v 1.2

help please

Open "dsx.properties" with an editor / notepad and check your "farmInterval" setting. Looks like some illegal value / characters.
Only positive integers are allowed (which are numbers without decimal places). For example: 20
Save the file, then restart dsx. Everything should work as it used to be.


Quote:
Originally Posted by Xtreeme View Post
Do you plan on adding editable templates for buildings?
I am still trying to find out the best solution. Either optimize the algorithm or fall back to a completely user defined list.
In either case there will be something to edit, yet with the algorithm the bot will decide what is best to build and only have some limits set by the user*, while the list will be fully user controlled.
(*Like: These levels should be the final outcome, go ahead and do it.)

There are pros and cons for both methods.
For example, the algorithm will sometimes choose weird looking upgrades, but should deliver a pretty balanced village in terms of production, main, wall, barracks etc.
If the user can define his own list, telling the bot exactly what to upgrade, in which order and to which level, it can possibly fit better to his playstyle and/or needs. But it will require a lot of lines written by hand (probably over 200) and forgetting to set storage or any requirements can make the bot stuck.
People are lazy. So either they will tell the bot to upgrade 5 levels at a time, which would not really be balanced, or just leave it on the pre-defined list anyways.

There should be a max-level-template in the next update, as well as a config GUI (like a proper graphical window) and the option to disable building or farming.
D3luxe. is offline  
Old 04/07/2016, 23:10   #34
 
elite*gold: 0
Join Date: Sep 2011
Posts: 21
Received Thanks: 2
wow, ill try it
hope it works <3

thanks, good job anyway works or not(i think it will xD)
sergio6767 is offline  
Thanks
1 User
Old 04/08/2016, 01:48   #35
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4
Received Thanks: 0
Derp

sorry for the dumb question

It'is working great now, thanks
ruahefoci is offline  
Old 04/08/2016, 16:29   #36
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Quote:
Originally Posted by sergio6677 View Post
im too noob, i dont know how to make it work u.u


C:\Users\Usu\Desktop\Nueva carpeta (2)>java -Xms256M -Xmx256M -jar dsx1337-1.2.jar
09:38:26 INFO Update - DSX1337 version 1.2
09:38:27 INFO Update - Running latest version.
09:38:27 INFO Settings - Loaded settings.
09:38:28 INFO Database - Last world data update: 01/01/2000 00:00:00
09:38:28 INFO Database - Parsing world data...
09:38:28 INFO VillageData - Parsing villages...
09:38:28 INFO PlayerData - Parsing player data...
09:38:29 ERROR Database - Could not execute query:
09:38:29 ERROR App - fatal error:
org.h2.jdbc.JdbcSQLException: No hay datos disponibles.
No data is available [2000-191]
at org.h2.message.DbException.getJdbcSQLException(DbE xception.java:345)
at org.h2.message.DbException.get(DbException.java:17 9)
at org.h2.message.DbException.get(DbException.java:15 5)
at org.h2.message.DbException.get(DbException.java:14 4)
at org.h2.jdbc.JdbcResultSet.checkOnValidRow(JdbcResu ltSet.java:3195)
at org.h2.jdbc.JdbcResultSet.get(JdbcResultSet.java:3 201)
at org.h2.jdbc.JdbcResultSet.get(JdbcResultSet.java:3 218)
at org.h2.jdbc.JdbcResultSet.getInt(JdbcResultSet.jav a:339)
at me.d3luxe.farmbot.game.PlayerData.getPlayerWhere(P layerData.java:59)
at me.d3luxe.farmbot.game.PlayerData.getPlayerId(Play erData.java:36)
at me.d3luxe.farmbot.User.parseVillages(User.java:36)
at me.d3luxe.farmbot.game.Database.update(Database.ja va:102)
at me.d3luxe.farmbot.game.Database.setUp(Database.jav a:80)
at me.d3luxe.farmbot.App.main(App.java:123)
09:38:29 INFO App - Press {Enter} to exit...
¿Desea terminar el trabajo por lotes (S/N)?
Check host and world code settings. Refer to "Quickstart" in the first post of this thread for an explanation.
To change these settings, either open "dsx.properties" with an editor/notepad or delete the file and restart dsx.


You can also tell me which world + language you are playing on so I can tell you the correct settings.
D3luxe. is offline  
Old 04/09/2016, 21:48   #37
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Quote:
Originally Posted by sergio6677 View Post
...

i dont know where is the error :/
I forgot to mention, you have to delete "dsx.properties" and restart the bot.
The error happened because you just started playing on that world. World data needs some time to update.
However, without deleting the file, DSX will still access the "outdated" data.
---------------------------------------------------------


Update: version 1.3


Changelog:
- add: Config window (proper GUI) + default settings.
- add: settings: delay presets, enable/disable routines, build interval.
- fix: login retries (3x).


So I finally added some kind of config window / GUI. This will be the last time you have to re-enter all information after an update. DSX is now saving a copy of most settings in your user/home directory.
Btw: A click on the save button will save all settings, not only the active tab. If you don't know what a setting is doing, just mouse over the label/field.

There are some new settings as well: Delay presets. You can choose between fast, middle and slow, influencing the delay times between each action.
Middle is the default preset and should fit most users. If you have a larger account (10+ villages), you can use the fast preset.
Remember, the faster a bot is acting, the more suspicious it will look.

You can now enable/disable each routine. Also, build interval (time after build routine will restart) is customizable. You should set the intervals between 10 and 30, possibly higher. Not recommended to go below 10 minutes.
D3luxe. is offline  
Thanks
1 User
Old 04/10/2016, 00:02   #38
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Quote:
Originally Posted by sergio6677 View Post
wow, nice update.

When i try to farm with 1 light it says cancel cuz deffensive power basic (dont know in english how it is xD)
23:56:04 INFO Attack - Target: Pueblo de bßrbaros (461|553)
23:56:11 INFO Attack - Cancel:
23:56:11 INFO Attack - Incluso los pueblos abandonados tienen un cierto valor de defensa bßsica - le sugerimos el envÝo de algunas tropas mßs para evitar pÚrdidas innecesarias.
23:56:14 INFO Attack - Target: Pueblo de bonificaci¾n (452|5


how can i make it to farm with only 1 light? :/
These are limitations set by tribal wars.
Try attacking with only 1 light manually^^ It just doesn't work.


So either increase light count, or add real troops to the bot. It does generate a lot of resources, even though it might get some empty villages and some with more resources the units can carry. Overall you just have a huge number of attacks sent by the bot.
D3luxe. is offline  
Old 04/10/2016, 13:08   #39
 
elite*gold: 0
Join Date: Oct 2008
Posts: 7
Received Thanks: 0
very cool update,deluxe =) fehlt noch eine einzige sache für mich,ansonsten ist der bot grandios! eine art sammelordner für dörfer dessen koords man eingibt und die dann nicht mehr angegriffen werden. habe in der nähe ein bb,dass schnell truppen baut und immer wieder alle kavs farmt. gruß
rudigangsta is offline  
Old 04/11/2016, 21:35   #40
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Quote:
Originally Posted by sergio6677 View Post
it is possible to send more than 1 attack per village? Cuz only sending 1 per village, and i have troops that want to send every 10 min +or- :/
Are you playing on a speed world? That's the only case I can think of where this would make sense.


It's supposed to only send one attack at a time. Or, more specific: At least 1 hour before attacking the same village.
The babarian villages need some time to regenerate resources. Attacking the same villages every 10 minutes would be a waste.
If you either have lots of units standing around or barb villages full of resources, you can increase the troop count sent with each attack.


---------------------------------------------------------------------




University just started again, so I don't have as much time for the bot. Current to do list:
- farm target ignore list
- build max level list
D3luxe. is offline  
Old 04/11/2016, 23:15   #41
 
elite*gold: 0
Join Date: Sep 2011
Posts: 21
Received Thanks: 2
If you attack the same barb every 10-20 min with 2 lights(or 1, or 3) you maximize the resources that you will get, cuz you are not the only one attacking this barbs. You get more possibilities to get all the resources that the barbs produce with this methode,
if barb ->3hours and you send every 30 min, you will get all the resources, and not need to wait 3 hours to attack this barb again
im doing it a long time ago, and all sprinters do this hahaha, its the best way to get a good sprint xD, especially first days of a world

Good Job anyway, working perfect <3
But if u can add this thing would be awesome hahaha(i dont know if its so difficult, etc, dont know nothing about it)
sergio6767 is offline  
Thanks
1 User
Old 04/12/2016, 00:08   #42
 
elite*gold: 0
Join Date: Apr 2009
Posts: 28
Received Thanks: 8
Quote:
Originally Posted by D3luxe. View Post
University just started again, so I don't have as much time for the bot. Current to do list:
- farm target ignore list
- build max level list
No matter, you did a great job so far!

PS: I'm looking forward for the troops recruitment
Xtreeme is offline  
Thanks
1 User
Old 04/15/2016, 17:16   #43
 
elite*gold: 0
Join Date: May 2008
Posts: 18
Received Thanks: 4
Klappt super! Danke!
shokomuffin is offline  
Thanks
1 User
Old 04/16/2016, 17:40   #44
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
Update: version 1.4.1

Changelog:
- add: blacklist for farming.
- add: max-level template.
- add: view-db command.
- change: save button now labeled "save all".
- change: better farm target finding: around 30% faster.
- change: default setting for farm radius is 15 now.
- fix: build routine should resume correctly.

Hotfix 1.4.1: build max level template now working.


So this is another small update, adding the max-level template and a blacklist.

As always, you do not need to put all buildings in the template, but only those you do not want to be at (the game-defined) max level, example: main or market. These two buildings are already included in the default template.

You can copy&paste the coords of any village the bot should not attack into the blacklist. Also, in case you put in coordinates of your own village, the bot will skip farming completely for this one. (Useful if you want your units to stay home in some villages).

You can edit these files in the templates folder.

Also, there is a new command to view the database in your default browser. Some tweaks at farm target finding should improve performance a lot.
@ :
About next attack time: In theory, I just need to change a few lines of code. However, I am currently using a time library that will soon be outdated and plan to switch to a newer one. It doesn't make sense to make changes before updating.

Hotfix Edit: So I noticed that the bot stopped building for me after some time, turned out that the new template was incorrectly casted. Basically, the way the thread pool handles errors made it very difficult for me to spot the error (as the build routine would just close silently). Anyways, this should be fixed now.

-----------------------------------------------------------

About the future of DSX: I am trying to keep this bot free for everyone.
However, it is possible that this will cost a monthly fee in the future.
I don't know if people realize that I put my free time into this project and that I can't just generate a new patch within a few minutes. For comparison: DSX has 2.500+ lines of code and 135+ documented changes.

Another possibility is to keep running based on donations. Yet, only a very small amount of users will ever donate.
Don't get me wrong, I'm happy about each tester and everyone who gives feedback. It helps to make this bot better.
Also, thank you so much to those who already donated

I hope that DSX will get more popular. If you like this bot, make sure to tell your friends about it


PS: It would be really nice if you can take a look at this survey:
Time needed: < 5 mins, only a few questions.
Edit: Needless to say, the survey is anonymous. No personal/account information is collected.
D3luxe. is offline  
Thanks
1 User
Old 04/17/2016, 11:20   #45
 
elite*gold: 0
Join Date: May 2008
Posts: 18
Received Thanks: 4
Super Update, Blacklist funktioniert gut!
Jetzt fehlt nur noch eine Art Whitelist in der man eintragen kann, welche Dörfer eines Spielers zusätzlich angegriffen werden soll. Das klappt mit dem Punktelimit noch nicht so gut, da ich ja evtl. einen Spieler der Clean ist mit 2k Punkten angreifen will, aber andere Dörfer mit 2k Punkten eben nicht.

Weiter so
shokomuffin is offline  
Thanks
1 User
Reply

Tags
bot, die, stämme, tribal, wars


Similar Threads Similar Threads
[Selling] Tribal Wars 2 Beta Key (Die Stämme 2)
08/22/2014 - Browsergames Trading - 0 Replies
Hey, habe einen Betakey für Tribal Wars 2. Falls jemand daran Interesse hat, einfach per PN melden. Hätte gerne Elite*Gold. Gruß
[S] Tribal Wars (.PT) acc
08/18/2013 - Trading - 1 Replies
Link of my acc in Portuguese server Nobleman's -- 188 Premium until 23.03.2013 Price-20€ (PSC) / 2000 RP's in League of Legends EUW server I wanna sell my acc i dont have time to stay in this game, im in n1 guild, have a lot of armys :) If anybody want contact me.
TRIBAL WARS
01/16/2013 - Browsergames - 4 Replies
HEY GUYS You have some hack For tribal wars?
Tribal Wars ?!
05/04/2011 - Browsergames - 3 Replies
Anyone ?? Can u teach my guys, Strats or Tips to be strong in this game ?:)



All times are GMT +1. The time now is 11:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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