Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 03:42

  • 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 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.
Averone is offline  
Old 08/16/2017, 18:23   #782
 
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
Talking

Quote:
Originally Posted by Averone View Post
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
kikegarcia97 is offline  
Old 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:



my group file is this:



village 1 suppose to be def-horse (i am working on researching HC at the momment)
village 2 : off
village 3 : off
is23jon is offline  
Old 08/16/2017, 22:03   #784
 
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 Averone View Post
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 View Post
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.
D3luxe. is offline  
Thanks
1 User
Old 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
kikegarcia97 is offline  
Old 08/18/2017, 13:36   #786
 
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 kikegarcia97 View Post
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.
D3luxe. is offline  
Old 08/18/2017, 16:14   #787
 
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
Quote:
Originally Posted by D3luxe. View Post
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:
kikegarcia97 is offline  
Old 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

ForsakenEG is offline  
Old 08/19/2017, 13:00   #789
 
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
Quote:
Originally Posted by ForsakenEG View Post
Please HELP
Maybe something wrong with charset?

P.S.:
host=ru.tribalwars2.com
worldCode=ru23



Tribalwars2??? These bot is for tribalwars old version. Not the tribalwarsv2 dude.
kikegarcia97 is offline  
Thanks
1 User
Old 08/20/2017, 01:20   #790
 
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 kikegarcia97 View Post
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.
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 View Post
Please HELP
Maybe something wrong with charset?

P.S.:
host=ru.tribalwars2.com
worldCode=ru23

This bot does only work with tribal wars (v1), NOT tribal wars 2. These are completely different games...
D3luxe. is offline  
Thanks
1 User
Old 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
sergio6677 is offline  
Old 08/20/2017, 10:22   #792
 
elite*gold: 0
Join Date: Mar 2016
Posts: 73
Received Thanks: 6
Quote:
Originally Posted by sergio6677 View Post
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
kikegarcia97 is offline  
Old 08/25/2017, 14:21   #793
 
D3luxe.'s Avatar
 
elite*gold: 317
The Black Market: 142/0/0
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.
D3luxe. is offline  
Thanks
2 Users
Old 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 ?
bexy1985 is offline  
Old 08/27/2017, 12:36   #795
 
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 bexy1985 View Post
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...
D3luxe. 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 03:43.


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.