|
You last visited: Today at 03:42
Advertisement
[Beta] DSX1337 - Tribal Wars Bot
Discussion on [Beta] DSX1337 - Tribal Wars Bot within the Browsergames forum part of the Other Online Games category.
08/16/2017, 01:10
|
#781
|
elite*gold: 0
Join Date: May 2011
Posts: 7
Received Thanks: 2
|
 hey mate, what does this mean? worked perfectly until i deleted old settings and then started bot so it could automatically generate new ones. when done, i have restarted bot and this happened. thanks
nevermind, restarting computer and then doing the same as I said worked.
|
|
|
08/16/2017, 18:23
|
#782
|
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
|
Quote:
Originally Posted by Averone
 hey mate, what does this mean? worked perfectly until i deleted old settings and then started bot so it could automatically generate new ones. when done, i have restarted bot and this happened. thanks
nevermind, restarting computer and then doing the same as I said worked.
|
You delete the java menu version or the dsx.txt file?
YOU HAVE TO DELETE DSX.TXT FILE JUST.
PS: I send you a PM deluxe, i am having some troubles in linux running bot, i am not able to start the bot, for sure is a simple issue or i am doing something bad.
thanks
|
|
|
08/16/2017, 20:20
|
#783
|
elite*gold: 0
Join Date: Apr 2017
Posts: 25
Received Thanks: 2
|
village 1 has default, def, def-inf ( troops in it: sp307, sw335, arch117, scouts100)
village 2 has default (sp8, sw5, ax58, ram29,scouts100,lc26)
village 3 has default (sp109, sw135,ax700, arch460,ram175,cat230,scout50,lc440,ma57)
my training file has this:
<!-- start of comment
This is a template for lategame / when you have multiple villages.
It uses the predefined groups in 'groups.xml'.
To use this farm template, make a copy of this file and rename it to 'train.xml'.
Then you can adjust it as needed...
end of comment -->
<train>
<template group="off">
<units>
<axe>5000</axe>
<light>2000</light>
<marcher>500</marcher>
<ram>200</ram>
<catapult>200</catapult>
</units>
</template>
<template group="def-inf">
<units>
<spear>10000</spear>
<sword>10000</sword>
</units>
</template>
<template group="def-horse">
<units>
<spear>4000</spear>
<sword>10</sword>
<heavy>1500</heavy>
<archer>3000</archer>
</units>
</template>
</train>
my group file is this:
<!-- start of comment
These are village group definitions for use in other templates.
You probably do not need to change them.
You can reference groups in other templates with their id attribute.
The 'default' group will match every village.
Priority range: [more important] 0 - 1337 [less important].
end of comment -->
<groups>
<group id="off"
priority="0">
<by-unit>axe,light,marcher,ram,catapult</by-unit>
</group>
<group id="def-inf"
priority="1">
<by-unit>spear,sword,archer</by-unit>
</group>
<group id="def-horse"
priority="0">
<by-unit>spear,heavy</by-unit>
</group>
<group id="def"
priority="2">
<by-unit>spear,sword,archer,heavy</by-unit>
</group>
</groups>
village 1 suppose to be def-horse (i am working on researching HC at the momment)
village 2 : off
village 3 : off
|
|
|
08/16/2017, 22:03
|
#784
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Quote:
Originally Posted by Averone
 hey mate, what does this mean? worked perfectly until i deleted old settings and then started bot so it could automatically generate new ones. when done, i have restarted bot and this happened. thanks
nevermind, restarting computer and then doing the same as I said worked.
|
Looks like the bot doesn't have permission to delete the old database - weird considering this seems to be in your download folder.
Try redownloading the bot and make a seperate bot folder somewhere you can be sure you have file permissions, e.g. on your desktop.
The tip kikegarcia97 was trying to give you is: You only need to delete 'dsx.properties' to reset the bot / show the config helper again. I can't tell if you did something different from the logs...
Perhaps the bot was still running when you tried to restart it, so the database was still open in the other instance and could not be deleted. That's the only explanation that makes sense to me. Anyways, it should be fixed with the steps above.
Edit: Looks like the good old restart fixed it
Quote:
Originally Posted by is23jon
village 1 has default, def, def-inf ( troops in it: sp307, sw335, arch117, scouts100)
village 2 has default (sp8, sw5, ax58, ram29,scouts100,lc26)
village 3 has default (sp109, sw135,ax700, arch460,ram175,cat230,scout50,lc440,ma57)
my training file has this:
<!-- start of comment
This is a template for lategame / when you have multiple villages.
It uses the predefined groups in 'groups.xml'.
To use this farm template, make a copy of this file and rename it to 'train.xml'.
Then you can adjust it as needed...
end of comment -->
<train>
<template group="off">
<units>
<axe>5000</axe>
<light>2000</light>
<marcher>500</marcher>
<ram>200</ram>
<catapult>200</catapult>
</units>
</template>
<template group="def-inf">
<units>
<spear>10000</spear>
<sword>10000</sword>
</units>
</template>
<template group="def-horse">
<units>
<spear>4000</spear>
<sword>10</sword>
<heavy>1500</heavy>
<archer>3000</archer>
</units>
</template>
</train>
my group file is this:
<!-- start of comment
These are village group definitions for use in other templates.
You probably do not need to change them.
You can reference groups in other templates with their id attribute.
The 'default' group will match every village.
Priority range: [more important] 0 - 1337 [less important].
end of comment -->
<groups>
<group id="off"
priority="0">
<by-unit>axe,light,marcher,ram,catapult</by-unit>
</group>
<group id="def-inf"
priority="1">
<by-unit>spear,sword,archer</by-unit>
</group>
<group id="def-horse"
priority="0">
<by-unit>spear,heavy</by-unit>
</group>
<group id="def"
priority="2">
<by-unit>spear,sword,archer,heavy</by-unit>
</group>
</groups>
village 1 suppose to be def-horse (i am working on researching HC at the momment)
village 2 : off
village 3 : off
|
Looks like you have mixed units in village 2 and 3, so DSX is unable to recognize your villages correctly.
DSX will match by unit if more than 75% of total units in that village are of the listed unit types.
To make village 2 being treated as off, you can add 'spy' to the by-unit selector.
Code:
<by-unit>axe,spy,light,marcher,ram,catapult</by-unit>
Village 3 has mixed units, but apparently not enough offensive ones yet. Adding defensive units to the selector doesn't make sense for the offensive group, so I recommend either recruiting some more offensive units by hand until they eventually pass the 75% limit, or destroying the leftover defensive units.
|
|
|
08/18/2017, 12:57
|
#785
|
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
|
and for example if i want to start a lot off bots in a ubuntu(linux) server. I have to do 1 by 1 in console? There is no other form to do it all together? Maybe creating shortcuts, rename them in the same folder and start them together.
Like
./1.cmd
./2.cmd
etc
etc
etc
./200.cmd
would work?
thanks
|
|
|
08/18/2017, 13:36
|
#786
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Quote:
Originally Posted by kikegarcia97
and for example if i want to start a lot off bots in a ubuntu(linux) server. I have to do 1 by 1 in console? There is no other form to do it all together? Maybe creating shortcuts, rename them in the same folder and start them together.
Like
./1.cmd
./2.cmd
etc
etc
etc
./200.cmd
would work?
thanks
|
You could start a lot of bot instances with screen  :P
Otherwise, you only have 1 terminal window open. And you can only run 1 bot instance per terminal window. You could start more but you would not be able to see the output of DSX, so it is not a good idea.
With screen, you could chain the calls together in a shell script.
It would look like
Code:
#!/bin/bash
JAR=dsx1337-4.6.jar
SECONDS=30
screen -dmS bot1 java -jar bot1/$JAR
sleep $SECONDS
screen -dmS bot2 java -jar bot2/$JAR
sleep $SECONDS
screen -dmS bot3 java -jar bot3/$JAR
...
So a single 'start_all.sh' script placed in the parent directory of all the bot folders. You could add a small delay in between starts (like in the script above), but only the screen and JAR parts are really neccessary.
|
|
|
08/18/2017, 16:14
|
#787
|
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
|
Quote:
Originally Posted by D3luxe.
You could start a lot of bot instances with screen  :P
Otherwise, you only have 1 terminal window open. And you can only run 1 bot instance per terminal window. You could start more but you would not be able to see the output of DSX, so it is not a good idea.
With screen, you could chain the calls together in a shell script.
It would look like
Code:
#!/bin/bash
JAR=dsx1337-4.6.jar
SECONDS=30
screen -dmS bot1 java -jar bot1/$JAR
sleep $SECONDS
screen -dmS bot2 java -jar bot2/$JAR
sleep $SECONDS
screen -dmS bot3 java -jar bot3/$JAR
...
So a single 'start_all.sh' script placed in the parent directory of all the bot folders. You could add a small delay in between starts (like in the script above), but only the screen and JAR parts are really neccessary.
|
okay, ill install Screen in Ubuntu and try to start with screen. Anyway im pretty confused cause i dont understand thath script anyway, ill try do some test and come back for some more questions for sure. Im doing some TEST in a VM with 10 accounts before the new world starts in my server, when it does, ill do it in a strong server with 250 accounts you know :3
EDIT: Okay i just manage to run 1 bot finally in Ubuntu VirtualMachine.
But in the tutorial you make in
It dosnt explain how to work with screen, or how to run the bots with screen. For exmaple, in my caise i have
/Desktop/BOTS/22k45 (1 BOT)
/Desktop/BOTS/22k46 Other bot
/Desktop/BOTS/22k47 OTher bot
" 22k48 other bot
Like these 10 times till
/Desktop/BOTS/22k54 last bot
In total 10 bots, for testing how i will have to do in a near future.
So lets suposse i want to run 10 bots with screen so i have to dont do all the steps with Terminall like i do now.
I have everything configured of course, i just have to run them with screen and if i can run the 10 bots at one instead of going 1 by 1 ( like i know doing now) would be better.
Maybe you already explain me if its like these just copy paste, but these is pretty new for me and i am and unexperienced user in linux, i use it fairly in 10-15 timess for expecific use like wifislax.
Working bot:
|
|
|
08/18/2017, 17:23
|
#788
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1
Received Thanks: 0
|
Please HELP
Maybe something wrong with charset?
P.S.:
host=ru.tribalwars2.com
worldCode=ru23
18:29:04 INFO Update - DSX1337 version 4.61
18:29:06 INFO Update - Running latest version.
18:29:06 INFO Settings - Loaded settings.
18:29:12 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:83)
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
18:29:12 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:83)
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
18:29:12 INFO App - Press {Enter} to exit...
|
|
|
08/19/2017, 13:00
|
#789
|
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
|
Quote:
Originally Posted by ForsakenEG
Please HELP
Maybe something wrong with charset?
P.S.:
host=ru.tribalwars2.com
worldCode=ru23
18:29:04 INFO Update - DSX1337 version 4.61
18:29:06 INFO Update - Running latest version.
18:29:06 INFO Settings - Loaded settings.
18:29:12 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:83)
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
18:29:12 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:83)
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
18:29:12 INFO App - Press {Enter} to exit...
|
Tribalwars2??? These bot is for tribalwars old version. Not the tribalwarsv2 dude.
|
|
|
08/20/2017, 01:20
|
#790
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Quote:
Originally Posted by kikegarcia97
okay, ill install Screen in Ubuntu and try to start with screen. Anyway im pretty confused cause i dont understand thath script anyway, ill try do some test and come back for some more questions for sure.
Im doing some TEST in a VM with 10 accounts before the new world starts in my server, when it does, ill do it in a strong server with 250 accounts you know :3
EDIT: Okay i just manage to run 1 bot finally in Ubuntu VirtualMachine.
But in the tutorial you make in
It dosnt explain how to work with screen, or how to run the bots with screen. For exmaple, in my caise i have
/Desktop/BOTS/22k45 (1 BOT)
/Desktop/BOTS/22k46 Other bot
/Desktop/BOTS/22k47 OTher bot
" 22k48 other bot
Like these 10 times till
/Desktop/BOTS/22k54 last bot
In total 10 bots, for testing how i will have to do in a near future.
So lets suposse i want to run 10 bots with screen so i have to dont do all the steps with Terminall like i do now.
I have everything configured of course, i just have to run them with screen and if i can run the 10 bots at one instead of going 1 by 1 ( like i know doing now) would be better.
Maybe you already explain me if its like these just copy paste, but these is pretty new for me and i am and unexperienced user in linux, i use it fairly in 10-15 timess for expecific use like wifislax.
Working bot:
|
I can't really help you with linux in general because it is a very broad field.
Anything beyond java is not bot specific, e.g. screen is a common linux tool.
You can find most answers via google...
The script I posted earlier should make you able to start multiple bot instances with a single command/script, you just need to adjust the paths.
'screen -dmS $command' runs the command in a new (minimized) screen. This is why I chain multiple 'java ...' commands in the script which in this case are starting the bot instances.
You can then reconnect to the different screens with 'screen -r $name' to see bot output.
According to the paths you typed there you would create a new script in the BOTS folder on your desktop and call it something like 'start_all.sh'.
Put the following in it:
Code:
#!/bin/bash
JAR=dsx1337-4.6.jar
SECONDS=30
screen -dmS bot1 java -jar 22k45/$JAR
sleep $SECONDS
screen -dmS bot2 java -jar 22k46/$JAR
sleep $SECONDS
...
Notice how I added 2 bot folders as an example, you need to use the right paths. You might need to change the 'JAR' variable in the second line of the script depending on which version of DSX you are using.
Save the script and make it executable with 'chmod a+x start_all.sh'. You can now start all of your bot instances with './start_all.sh', and each bot will be running in a seperate screen.
There is a small 'working with screen' section in the tutorial that explains some of the hotkeys, but you can always use google to get more details.
Quote:
Originally Posted by ForsakenEG
Please HELP
Maybe something wrong with charset?
P.S.:
host=ru.tribalwars2.com
worldCode=ru23
18:29:04 INFO Update - DSX1337 version 4.61
18:29:06 INFO Update - Running latest version.
18:29:06 INFO Settings - Loaded settings.
18:29:12 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:83)
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
18:29:12 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:83)
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
18:29:12 INFO App - Press {Enter} to exit...
|
This bot does only work with tribal wars (v1), NOT tribal wars 2. These are completely different games...
|
|
|
08/20/2017, 09:10
|
#791
|
elite*gold: 1
Join Date: Feb 2015
Posts: 65
Received Thanks: 8
|
could you add that whitelisted villages are attacked with different troops than the ag or dsx..
I want to farm with AG all the barbs (like 2lc) and then attack different player villages with 15lc or 20lc.
I think it will make the bot perfect for farming
|
|
|
08/20/2017, 10:22
|
#792
|
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
|
Quote:
Originally Posted by sergio6677
could you add that whitelisted villages are attacked with different troops than the ag or dsx..
I want to farm with AG all the barbs (like 2lc) and then attack different player villages with 15lc or 20lc.
I think it will make the bot perfect for farming
|
Rigth now the bot is in beta version, less than 1 year and it needs to add slowly by the time more features. Still these is not possible
|
|
|
08/25/2017, 14:21
|
#793
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Update: Version 4.7 (Experimental)
Changelog
4.6.1 -> 4.7:
-add: Time-based cache for groups and selectors.
-add: farm groups (you can whitelist groups for farming in the config helper).
-add: by-ingame selector for ingame groups.
-change: lowered population threshold to build farm.
-change: sorting villages by name now.
This is a nightly (==experimental) update. I reworked the caching system (cache entries expire after 20 minutes now instead of staying until restart of the bot) for groups and selectors.
Also, you can now use ingame premium groups for DSX. See the examples below...
You can now make the bot only farm with certain groups (new field in the config helper). This way, you can reserve units (e.g. in full offensive villages) but still farm with the ones that are still in construction. This should also improve overall farm assist compability.
I am noticing a few flaws in my tests with a bigger account (30+ villages).
The threshold to upgrade farm was lowered from 93% to 85%. This means that DSX is now prioritizing farm earlier when population space runs out.
I will add a few telegram tweaks that Kenji suggested here next.
Balancing resources is a big problem and tribal wars does not offer a good solution by default. I need this feature too so this is something that will be added soonish.
Ingame group example: Lets say you have a group called '#Off' in game. To use this group in dsx, open 'groups.xml'
and create a group like this:
Code:
<groups>
...
<group id="#off">
<by-ingame>#off</by-ingame>
</group>
</groups>
The selector is case insensitive, so you could use '#oFf' as well. I recommend keeping it all lower case
for simplicity.
Be careful: DSX will match a village to the off group if the ingame groups contain the substring '#off'.
This means that the ingame groups '#off ram' or 'full #off' would be treated as '#off' by DSX too.
Because of XML limitations you want to avoid the characters '<>&' in group names.
To prevent false matches, make sure to (re)name your groups accordingly.
Edit: Of course, you can add multiple groups in the config helper. The 'Use groups' field takes a list of group IDs seperated by comma (,) so '#off,farm' for example.
|
|
|
08/27/2017, 12:07
|
#794
|
elite*gold: 0
Join Date: Jan 2017
Posts: 26
Received Thanks: 2
|
Hi
Leider kann ich die Version 4.7 in linux nicht öffnen .
Bekomme da nur eine Text Datei
#!/bin/bash
screen -dmS dsx java -Xms256M -Xmx256M -jar dsx1337-4.7.1.jar
screen -r dsx
4.5 läuft jemand ne idee ?
|
|
|
08/27/2017, 12:36
|
#795
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Quote:
Originally Posted by bexy1985
Hi
Leider kann ich die Version 4.7 in linux nicht öffnen .
Bekomme da nur eine Text Datei
#!/bin/bash
screen -dmS dsx java -Xms256M -Xmx256M -jar dsx1337-4.7.1.jar
screen -r dsx
4.5 läuft jemand ne idee ?
|
Terminal im Botordner aufmachen... 'chmod a+x start_dsx.sh'.
Dann sollte sich das Script ganz normal starten lassen...
|
|
|
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 03:43.
|
|