Could you provide a bit of documentation on the bycoord selector? I'd like to use it, but I don't know how. Thanks.
Quote:
Originally Posted by D3luxe.
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.
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).
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.
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.
Yes, that's true, but as far as i know you can play with the 2.9.0 until today.
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.
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.
same here
every time there's an update, start it 1st time without the properties file and then amend it as needed
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
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.
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...
?
[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 ?:)