[Beta] DSX1337 - Tribal Wars Bot

12/27/2016 23:29 Zambelli19#331
And about Dalay Settings?
12/28/2016 07:06 Laventissi.#332
----------

Are these correct? I think the templates are not working properly and sometimes it gives an error when I try to start it.. Also the code in wiki is slightly different than the one I found in some files such as build routine one, it has a <template> line which the wiki does not have/show.. I might be doing some mistakes and I'm not good at setting up things like this with code so I'm not sure.. thanks in advance for any help.. the bot is great though, it runs perfectly with its default settings but only thing is I kinda messed up when setting it up with the codes I guess..

EDIT: If these are correct then others can use it as example/help :P
12/29/2016 02:12 johnsilvabr#333
is it possible to bot 2+ accounts at the same time in the same world?
I'm trying to bot 3 accounts on my windows 7 at same time but it keeps getting some sort of error after a handful of minutes...
12/29/2016 04:26 kindam#334
Quote:
Originally Posted by johnsilvabr View Post
is it possible to bot 2+ accounts at the same time in the same world?
I'm trying to bot 3 accounts on my windows 7 at same time but it keeps getting some sort of error after a handful of minutes...
Just duplicate the folder, config and run. You can paste here the error log.
12/29/2016 04:41 johnsilvabr#335
Quote:
Originally Posted by kindam View Post
Just duplicate the folder, config and run. You can paste here the error log.
I actually did that =1 but asked just to be sure, thanks mate

Yeah I think I know why it wasn't running as I wanted..

I got banned in the 3 accounts that I was running the bot simultaneously lol, they were like 90 pts. I wonder why though, as I was only upgrading buildings, and its a 2.0 speed world so theres not much to do early on.

Any tips on how to not get banned in early accounts like these? I was testing it out so I could get the hang of it when a new world launches to farm PP.

At first I did all the missions until the one where you have to recruit up to 40 spearmen, only then I set up the bot, and shortly after ( like 15 min ) all my botting accounts got banned.. so confused rn

Edit:
Somehow I cannot access the tribal wars server for my country in my wifi connection since I got banned, its been 3+ hours now and nothing, I switch to mobile data and it runs fine, but whenever any device is connected to the wifi it doesn't load anything related to my tribal wars server (other sites work fine tho). Any knowledge on that? =/

When it all sorts out with the wifi ( god knows when) ill try again and if I run into problems ill be sure to copy the log.

Edit 2: (hour later)
Decided to try routing my cellular data ( I couldn't wait for my wifi to connect to .br server)

I had another account, this one around 140 pts that I´ve been playing for the past few hours without the bot.

The moment I set the account, this error shows up:


And then, I try to log in my web browser, and the account is banned.

Thats got to be something very peculiar that triggers the bot detection.



Edit 3 ( another hour later) :
Ok I just had to do it again to make sure,
another account, configured bot settings from 0, and tried:

the results are different, but im pretty sure is some sort of error in the server because from my desktop browser ( yeah still using cell connection, no being able to connect through wifi yet..) , when I log in, it shows that my account has been banned. But in the bot log showed that it indeed had upgraded some buildings. So yeah..

I don't know if it is worth mentioning but tribal wars was updating its servers this time earlier today.

I really need some sleep now, all of this got me a nice headache, Ill come back in 6 hours or so. Good night guys
12/29/2016 13:11 D3luxe.#336
Quote:
Originally Posted by Zambelli19 View Post
And about Dalay Settings?
Will be added in the next update... I'm already working on it.

* * * * *
Quote:
Originally Posted by Laventissi. View Post
----------

Are these correct? I think the templates are not working properly and sometimes it gives an error when I try to start it.. Also the code in wiki is slightly different than the one I found in some files such as build routine one, it has a <template> line which the wiki does not have/show.. I might be doing some mistakes and I'm not good at setting up things like this with code so I'm not sure.. thanks in advance for any help.. the bot is great though, it runs perfectly with its default settings but only thing is I kinda messed up when setting it up with the codes I guess..

EDIT: If these are correct then others can use it as example/help :P
While 'groups.xml' and 'train.xml' are correct in terms of XML syntax (== will not make the bot crash on startup) I'm a bit confused about what you are trying to archieve with these templates :D

I believe every tribal wars player divides his villages into offensive (lots of axe, light cavalry, rams) and defensive (spear, sword, archer,...). But your train templates show that you try to let the bot recruit offensive and defensive units in the same village and even exceed the 20000 population limit you can usually fill with units in a village with ~10000 points.

So unless you have thousands of villages (and thus can not let the bot cycle through each of them within 24 hours) I recommend using the default group template and something similar to 'train.lategame.xml' for training.

In 'build.xml' the group attribute needs to be at the 'template' tag, similar to train templates. E.g.:
Also, while it is not wrong to set all buildings, you only need to set limits for buildings which you don't want to upgrade to maximum. So you probably want to set main and market, but can leave production buildings like barracks, wood, stone, etc. out of the template.

It seems like I didn't update the build file layout in the wiki, so it's not your fault.

* * * * *
Quote:
Originally Posted by johnsilvabr View Post
is it possible to bot 2+ accounts at the same time in the same world?
I'm trying to bot 3 accounts on my windows 7 at same time but it keeps getting some sort of error after a handful of minutes...
I believe you are IP-banned (for making too many accounts). Tribal wars saves your IP for every log in (and possibly even when you register). So they can detect if one person is making a lot of accounts.
That's why you can (and should) set proxies when botting or creating a big number of accounts from one machine.

The last error happened even before the bot logged in to the account.
I don't know how many accounts you made in total, or if intervals were set too low, or if the bot made a lot of requests during server downtime.
All I can say at the moment is that DSX still seems to be undetected in normal use.

I recommend using private / shared(max. 10 users) HTTP(S) proxies. [Only registered and activated users can see links. Click Here To Register...] seems like a decent company, but DSX should work with any provider.

When creating or playing in different accounts on one machine, at least use a new private/'incognito' browser window for each account to make sure there are no suspicious cookies. It would be optimal if you use a different proxy/IP for each account. Also, do not create too many accounts in a row in a short timeframe.
Even if it is a speed server, do not set the intervals too low(minimum 10 minutes), and enable sleep for 1 or 2 hours in delay settings when botting 24/7.
Try to keep farm templates as small as possible (e.g. when only training axe and light, remove templates with sword or spear).
For premium trading, you need to verify the email the account registered with or it will not work.
12/29/2016 21:26 Zambelli19#337
I've been wondering if I could manipulate the delay part so the person would choose how it would look.
I think a good option would be to remove the dalay every X attack and put it just between one village and another.
12/30/2016 13:07 Laventissi.#338
Quote:
Originally Posted by D3luxe. View Post
Will be added in the next update... I'm already working on it.

* * * * *

While 'groups.xml' and 'train.xml' are correct in terms of XML syntax (== will not make the bot crash on startup) I'm a bit confused about what you are trying to archieve with these templates :D

I believe every tribal wars player divides his villages into offensive (lots of axe, light cavalry, rams) and defensive (spear, sword, archer,...). But your train templates show that you try to let the bot recruit offensive and defensive units in the same village and even exceed the 20000 population limit you can usually fill with units in a village with ~10000 points.

So unless you have thousands of villages (and thus can not let the bot cycle through each of them within 24 hours) I recommend using the default group template and something similar to 'train.lategame.xml' for training.

In 'build.xml' the group attribute needs to be at the 'template' tag, similar to train templates. E.g.:
Also, while it is not wrong to set all buildings, you only need to set limits for buildings which you don't want to upgrade to maximum. So you probably want to set main and market, but can leave production buildings like barracks, wood, stone, etc. out of the template.

It seems like I didn't update the build file layout in the wiki, so it's not your fault.

* * * * *

I believe you are IP-banned (for making too many accounts). Tribal wars saves your IP for every log in (and possibly even when you register). So they can detect if one person is making a lot of accounts.
That's why you can (and should) set proxies when botting or creating a big number of accounts from one machine.

The last error happened even before the bot logged in to the account.
I don't know how many accounts you made in total, or if intervals were set too low, or if the bot made a lot of requests during server downtime.
All I can say at the moment is that DSX still seems to be undetected in normal use.

I recommend using private / shared(max. 10 users) HTTP(S) proxies. [Only registered and activated users can see links. Click Here To Register...] seems like a decent company, but DSX should work with any provider.

When creating or playing in different accounts on one machine, at least use a new private/'incognito' browser window for each account to make sure there are no suspicious cookies. It would be optimal if you use a different proxy/IP for each account. Also, do not create too many accounts in a row in a short timeframe.
Even if it is a speed server, do not set the intervals too low(minimum 10 minutes), and enable sleep for 1 or 2 hours in delay settings when botting 24/7.
Try to keep farm templates as small as possible (e.g. when only training axe and light, remove templates with sword or spear).
For premium trading, you need to verify the email the account registered with or it will not work.
ahahaha my bad lol
I pasted the wrong templates, these were the ones I made before realising that it's messed up.. here's the actual one that im using:
groups.xml
Code:
<!-- 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-coords>562|522,560|545,557|528</by-coords>
	</group>
	<group id="def"
		priority="1">
		<by-coords>563|526,565|524,561|522</by-coords>
	</group>
</groups>
train.xml
Code:
<!-- start of comment
	Here you can tell DSX which units to train. Like build templates, you define
	max numbers / how your village should look like. DSX will train units until
	these values are met.
	Buffer leaves a number of resources for other tasks like building.
	See 'documentation/training.txt'.
end of comment -->
<train>
	<template group="off">
		<units>
			<axe>7500</axe>
			<light>3000</light>
			<spy>1000</spy>
			<ram>220</ram>
		</units>
		<buffer>
			<wood>0</wood>
			<stone>0</stone>
			<iron>0</iron>
			<pop>0</pop>
		</buffer>
	</template>
	<template group="def">
		<units>
			<spear>5500</spear>
			<sword>5500</sword>
			<light>200</light>
			<spy>1000</spy>
			<heavy>1500</heavy>
		</units>
		<buffer>
			<wood>0</wood>
			<stone>0</stone>
			<iron>0</iron>
			<pop>0</pop>
		</buffer>
	</template>
</train>
01/02/2017 21:29 kindam#339
Can you add a buying resource system?

Like this:
buy 10,000 wood when the price is (ex: 500 = 1pp) Result: -20pp
sell 10,000 wood when the price is (ex: 64 = 1pp) Result: +156pp :D

I keep doing this manualy, but can the dsx do the same automatic?
01/03/2017 01:02 johnsilvabr#340
Quote:
Originally Posted by kindam View Post
Can you add a buying resource system?

Like this:
buy 10,000 wood when the price is (ex: 500 = 1pp) Result: -20pp
sell 10,000 wood when the price is (ex: 64 = 1pp) Result: +156pp :D

I keep doing this manualy, but can the dsx do the same automatic?
lol I was gonna post this rn, I do that too, makes me feel a bit like Wolf of Wall Street :cool: :cool: :cool:

It is an interesting feature, specially in early worlds where resources are not as abundant. ( but as useful in later times too, don't get me wrong )
01/03/2017 12:32 themanik#341
How to disable 1-4 mins delays please?
01/03/2017 14:20 TechnoTron007#342
Quote:
Originally Posted by themanik View Post
How to disable 1-4 mins delays please?
Not possible.
01/06/2017 11:16 Zambelli19#343
Quote:
Originally Posted by TechnoTron007 View Post
Not possible.
Yet. Next update maybe
01/06/2017 23:42 johnsilvabr#344
Guys any of you know how to create multiple accounts and not get banned?

I got over 20 attempts of accounts banned right now..

If someone could speak up what Im doing wrong I would be much thankful =(

1st Choose proxy server -> change configuration in my Mac to use HTTPS proxy server

2nd open chrome, open incognito tab, create account, use tempail.com to confirm email adress.

3rd write down nickname and the proxy adress related to it in my notepad

4th Choose another proxy server that it is not in use, and repeat step 1,2,3

5th Then after 3 new accounts, I set up the bot for each one, using the proxy settings of each account. Only setting to build and trade, and maybe farm, but with or without this configuration im getting banned anyway.

Config: Delay == medium, sleep ==2 , building time == 20, trading time == 15.

6th run the bots, wait a few minutes to see if its working well. And go to sleep

7th 8 hours later, wake up, found out all the accounts have been banned.

The most interesting and sad part is, I set up 2 accounts with my proxy connected on my computer and let them running overnight.
My brother just created a new account for him the same time I was creating these 2 accounts mentioned before. But note, he always and only uses his cellphone, which is not set to use proxy at all.

We wake up the next morning with my 2 accounts banned, and his account banned too ( he couldn't access from his cellphone )

Im sure Im missing on something, because if it was only the bot, only my botting accounts would be banned, but some way my brother's account got too.

Any tips? Would that be related with cookies? I tried to clean them before creating each account, but still.. Im feeling kinda lost, each day I try at least 2 new accounts, I don't really know whats happening.

Thanks =)
01/08/2017 10:15 D3luxe.#345
I was on vacation this week with no internet access at all. Currently on the way home...I will respond to your messages asap. Thanks for your patience.

Quote:
Originally Posted by themanik View Post
How to disable 1-4 mins delays please?
You can now disable the '1-4 mins' delay entirely (check 'skip delay between switching villages). The bot will only wait a few seconds (possibly unsafe!). You can get the latest nightly build [Only registered and activated users can see links. Click Here To Register...].

However, the new version still has some problems with village parsing. If you have a premium account and multiple villages, the bot will only work with villages in the current active group. The API doesn't offer an easy way to get all villages. This will be fixed in the next official update.

Quote:
Originally Posted by johnsilvabr View Post
Guys any of you know how to create multiple accounts and not get banned?

Sounds like tribal wars can still trace either your machine or IP. If your brother got banned too, it is almost certain that you logged in with the same IP address or machine.
I will message you via Email with more details, and eventually be able to help you out with the account creation problems ;)