Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 09:39

  • 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 02/27/2018, 15:59   #1021
 
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 AeroFury View Post
There seems to be a new version of the Tribal Wars app.
The bot is outputting a message that this could potentially be unsafe.
Any advice?
The official tribal wars app was updated. This is a safety function of the bot, because they could have changed something major.

I am checking the new version right now and should be able to provide an update asap.

If you want to force DSX to keep running (on your own risk), you can open 'dsx.properties' with a text editor and append 'appVersion=2.14.1'.

Edit: It looks like there are no major updates. I will be able to push an update later today.
D3luxe. is offline  
Old 02/27/2018, 17:43   #1022
 
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
I will be 24/7 in bitbucket expecting the update
kikegarcia97 is offline  
Old 02/27/2018, 17:55   #1023
 
surorek5's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 161
Received Thanks: 16

Isn't this a little bit irrelevant?
I like the idea of notificate the user that it could be unsafe, but why block the bot? Because if it runs with the "old" version, it looks like you're using an unupdates version of tribal wars, which could really be so. (If I disable auto updates in google play store and don't update the app, I'm also using an old version, like the bot does).
surorek5 is offline  
Old 02/27/2018, 18:23   #1024
 
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 surorek5 View Post

Isn't this a little bit irrelevant?
I like the idea of notificate the user that it could be unsafe, but why block the bot? Because if it runs with the "old" version, it looks like you're using an unupdates version of tribal wars, which could really be so. (If I disable auto updates in google play store and don't update the app, I'm also using an old version, like the bot does).
It's not irrelevant at all. The problem is that older app versions with a different minor version (e.g. '2.13.x' instead of '2.14.y') will be locked out of the API at some point. You are forced to update.

* * *

Update: Version 5.3

- change: app version to match the latest official update.

Download available at bitbucket:

* * *

I was finally able to record the required packets and will address the catapult target issues with another small update later today. Edit: Catapult targets were made more complicated. Selecting a default value is not possible any more. A new catapult target setting will be needed in DSX.
D3luxe. is offline  
Old 02/27/2018, 18:27   #1025
 
surorek5's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 161
Received Thanks: 16

Yes, that's true, but as far as i know you can play with the 2.9.0 until today.
surorek5 is offline  
Old 02/27/2018, 20:54   #1026
 
elite*gold: 0
Join Date: Dec 2007
Posts: 239
Received Thanks: 21
Thanks for the quick update D3luxe!

With new versions of the bot, can I just copy over my dsx.properties + templates from the old one? I don't feel like doing all the settings again.
AeroFury is offline  
Old 02/27/2018, 21:41   #1027
 
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 AeroFury View Post
Thanks for the quick update D3luxe!

With new versions of the bot, can I just copy over my dsx.properties + templates from the old one? I don't feel like doing all the settings again.
Yes, you can just use the new launchers + jar.
D3luxe. is offline  
Old 02/27/2018, 22:19   #1028
 
elite*gold: 0
Join Date: Dec 2007
Posts: 239
Received Thanks: 21
Quote:
Originally Posted by D3luxe. View Post
Yes, you can just use the new launchers + jar.
I'm getting the following error though when copying over:

Code:
22:16:32 ERROR FarmRoutine - fatal error:
org.h2.jdbc.JdbcSQLException: Table "FARM_TARGET" not found; SQL statement:
SELECT * FROM farm_target WHERE home_id = ? AND last_attack < 1802272131 ORDER BY priority DESC, distance ASC, last_attack ASC [42102-191]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
        at org.h2.message.DbException.get(DbException.java:179)
        at org.h2.message.DbException.get(DbException.java:155)
        at org.h2.command.Parser.readTableOrView(Parser.java:5349)
        at org.h2.command.Parser.readTableFilter(Parser.java:1245)
        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1884)
        at org.h2.command.Parser.parseSelectSimple(Parser.java:2032)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1878)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1699)
        at org.h2.command.Parser.parseSelect(Parser.java:1687)
        at org.h2.command.Parser.parsePrepared(Parser.java:443)
        at org.h2.command.Parser.parse(Parser.java:315)
        at org.h2.command.Parser.parse(Parser.java:287)
        at org.h2.command.Parser.prepareCommand(Parser.java:252)
        at org.h2.engine.Session.prepareLocal(Session.java:560)
        at org.h2.engine.Session.prepareCommand(Session.java:501)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1188)
        at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)
        at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:665)
        at me.d3luxe.farmbot.farming.FarmRoutine.run(FarmRoutine.java:151)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:300)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.base/java.lang.Thread.run(Thread.java:844)
22:16:32 INFO  App - Press {Enter} to exit...
UPDATE:

After changing the last modified date in dsx.properties, I'm getting a different error.
It seems it needs to be started without dsx.properties once to build the database from scratch and then you can copy over your old dsx.properties.

That's how I got it working.
AeroFury is offline  
Thanks
1 User
Old 03/04/2018, 14:53   #1029
 
elite*gold: 0
Join Date: Apr 2017
Posts: 25
Received Thanks: 2
Thumbs up


same here

every time there's an update, start it 1st time without the properties file and then amend it as needed
is23jon is offline  
Old 03/04/2018, 15:08   #1030
 
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 is23jon View Post
same here

every time there's an update, start it 1st time without the properties file and then amend it as needed
Quote:
Originally Posted by AeroFury View Post
I'm getting the following error though when copying over:

Code:
22:16:32 ERROR FarmRoutine - fatal error:
org.h2.jdbc.JdbcSQLException: Table "FARM_TARGET" not found; SQL statement:
SELECT * FROM farm_target WHERE home_id = ? AND last_attack < 1802272131 ORDER BY priority DESC, distance ASC, last_attack ASC [42102-191]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
        at org.h2.message.DbException.get(DbException.java:179)
        at org.h2.message.DbException.get(DbException.java:155)
        at org.h2.command.Parser.readTableOrView(Parser.java:5349)
        at org.h2.command.Parser.readTableFilter(Parser.java:1245)
        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1884)
        at org.h2.command.Parser.parseSelectSimple(Parser.java:2032)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1878)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1699)
        at org.h2.command.Parser.parseSelect(Parser.java:1687)
        at org.h2.command.Parser.parsePrepared(Parser.java:443)
        at org.h2.command.Parser.parse(Parser.java:315)
        at org.h2.command.Parser.parse(Parser.java:287)
        at org.h2.command.Parser.prepareCommand(Parser.java:252)
        at org.h2.engine.Session.prepareLocal(Session.java:560)
        at org.h2.engine.Session.prepareCommand(Session.java:501)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1188)
        at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)
        at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:665)
        at me.d3luxe.farmbot.farming.FarmRoutine.run(FarmRoutine.java:151)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:300)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.base/java.lang.Thread.run(Thread.java:844)
22:16:32 INFO  App - Press {Enter} to exit...
UPDATE:

After changing the last modified date in dsx.properties, I'm getting a different error.
It seems it needs to be started without dsx.properties once to build the database from scratch and then you can copy over your old dsx.properties.

That's how I got it working.
The problem is that DSX assumes that the database exists already because of some settings in the properties file. But you only copy properties + templates. As a result, the bot is crashing because it can't find the database.

What I would recommend instead is replacing the jar + launchers in your old bot folder with the new version.
Or copy the old 'data' folder along with templates + properties to the new bot folder.
D3luxe. is offline  
Old 03/12/2018, 17:30   #1031
 
elite*gold: 0
Join Date: Mar 2018
Posts: 1
Received Thanks: 0
how to buy ?
souceauto is offline  
Old 03/15/2018, 13:33   #1032
 
elite*gold: 0
Join Date: Apr 2017
Posts: 25
Received Thanks: 2
Quote:
Originally Posted by souceauto View Post
how to buy ?


is23jon is offline  
Old 03/28/2018, 11:28   #1033
 
elite*gold: 0
Join Date: Dec 2013
Posts: 53
Received Thanks: 1
11:27:27 INFO Update - DSX1337 version 5.3
11:27:28 INFO Update - Running latest version.
11:27:28 INFO Settings - Loaded settings.
11:27:32 ERROR Session - Could not connect to the servers.
com.mashape.unirest.http.exceptions.UnirestExcepti on: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.HttpClientHelper.request( HttpClientHelper.java:143)
at com.mashape.unirest.request.BaseRequest.asJson(Bas eRequest.java:68)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:47)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.Session.login(Session.java:71)
at me.d3luxe.farmbot.App.main(App.java:79)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.HttpResponse.<init>(HttpR esponse.java:106)
at com.mashape.unirest.http.HttpClientHelper.request( HttpClientHelper.java:139)
... 6 more
Caused by: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.JsonNode.<init>(JsonNode. java:51)
at com.mashape.unirest.http.HttpResponse.<init>(HttpR esponse.java:95)
... 7 more
Caused by: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java: 433)
at org.json.JSONArray.<init>(JSONArray.java:105)
at org.json.JSONArray.<init>(JSONArray.java:144)
at com.mashape.unirest.http.JsonNode.<init>(JsonNode. java:48)
... 8 more
11:27:32 ERROR App - Error:
com.mashape.unirest.http.exceptions.UnirestExcepti on: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.HttpClientHelper.request( HttpClientHelper.java:143)
at com.mashape.unirest.request.BaseRequest.asJson(Bas eRequest.java:68)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:47)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.Session.login(Session.java:71)
at me.d3luxe.farmbot.App.main(App.java:79)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.HttpResponse.<init>(HttpR esponse.java:106)
at com.mashape.unirest.http.HttpClientHelper.request( HttpClientHelper.java:139)
... 6 more
Caused by: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.JsonNode.<init>(JsonNode. java:51)
at com.mashape.unirest.http.HttpResponse.<init>(HttpR esponse.java:95)
... 7 more
Caused by: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java: 433)
at org.json.JSONArray.<init>(JSONArray.java:105)
at org.json.JSONArray.<init>(JSONArray.java:144)
at com.mashape.unirest.http.JsonNode.<init>(JsonNode. java:48)
... 8 more
11:27:32 INFO App - Press {Enter} to exit...
?
Kurayami1123 is offline  
Old 04/01/2018, 00:48   #1034
 
elite*gold: 0
Join Date: Aug 2008
Posts: 260
Received Thanks: 21
ERROR BuildRoutine - Error:
org.json.JSONException: JSONObject["wood"] not found.
maximus_121 is offline  
Old 04/12/2018, 22:41   #1035
 
elite*gold: 0
Join Date: May 2007
Posts: 8
Received Thanks: 0
Why does it put in random wait times while sending? Shouldn't it use the middledelay while toggling villages only? This is using farm assistant.

I mean, why would anyone take a random break while sending out their troops. :-P
soil1337 is offline  
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 09:39.


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