[Beta] DSX1337 - Tribal Wars Bot

09/27/2017 09:35 is23jon#841
Hi there
is your license checker offline?
bot stops there and wont continue

thanks

Quote:
Originally Posted by hellye123 View Post
Any1 knows the best way to create like 50 accounts level up resources to level 3
invite for the same location and delete a go for next one over and over ?
to create barbarian villages where you want?




what should do the work ?
scripts,macros or what?

u can only invite once i believe
09/28/2017 10:37 SeaTheStars#842
Wenn ich Spielerfarmen manuell in der whitelist eintrage, farmt der bot sie nach Distanz oder so wie sie in der Liste stehen?
09/28/2017 19:52 D3luxe.#843
Quote:
Originally Posted by is23jon View Post
Hi there
is your license checker offline?
bot stops there and wont continue

thanks
No, the server is fine. I believe a library update made hardware id generation slower on windows pcs. It should continue to work eventually though, just give it some time. Takes max. 30 seconds for me.

Quote:
Originally Posted by SeaTheStars View Post
Wenn ich Spielerfarmen manuell in der whitelist eintrage, farmt der bot sie nach Distanz oder so wie sie in der Liste stehen?
Whitelist-Dörfer werden nach Distanz geordnet...
09/28/2017 22:42 SeaTheStars#844
Nochmal eine hinterher. Wird der Bauernhof automatisch ausgebaut, wenn nicht mehr genügend Plätze für die Rekrutierung übrig sind. Oder muss ich das manuell machen oder im Build einsetzen.
09/30/2017 16:26 hugogbjudo#845
Well hello if someone can help me would be good, i never use groups in template, i manage to do one time in 4.6 but seems like i dont remember how i do it. I send you here pastebins off all my templates for check what is bad cause really every time i fix one thing CMD says me another error appeards, i know deluxe isnt available for a time cause i speak with him yesterday but if someone can help me would be good. Thanks.

Pastebin:
[Only registered and activated users can see links. Click Here To Register...]
09/30/2017 23:04 Dogger#846
Hallo D3luxe ,

Wenn ich die whitelist nutze und ich die Dörfer eingefügt habe , greift er leider Spieler an die Ich nicht in der whitelist habe. Format von den Dörfern die er farmen soll habe ich so:
xxx|xxx
xxx|xxx
xxx|xxx
ect.
Vielen Dank.
10/03/2017 16:09 is23jon#847
hi there

just checking if i'll set up my bot to :

<force-upgrade>
<snob>1</snob>
</force-upgrade>

will it force build the required buildings too or randomly building till the required ones are complete?

also

is the bot instantly completes building when they are 3 min or less left?

thanks for your time
10/04/2017 01:11 SeaTheStars#848
Quote:
Originally Posted by Dogger View Post
Hallo D3luxe ,

Wenn ich die whitelist nutze und ich die Dörfer eingefügt habe , greift er leider Spieler an die Ich nicht in der whitelist habe. Format von den Dörfern die er farmen soll habe ich so:
xxx|xxx
xxx|xxx
xxx|xxx
ect.
Vielen Dank.
Wenn du nur die Dörfer aus der Whitelist angreifen willst, dann setzt du einfach bei max points=25. Dann kann er keine zusätzlichen Dörfer finden. Ansonten sucht er eben auch Dörfer, die im Farmsucher drin sind.

Farmt der Bot auch Dörfer, die meinen Stammeskollegen gehören, oder BND und NAP Dörfer. Habe einige grössere Dörfer in meiner Whitelist und die können bald von solchen Leuten geadelt werden wenn der Bot läuft und ich nicht online bin.

Dann möchte ich natürlich nicht, dass dort über Nacht 30-40 Farmangriffe draufgehen.
10/04/2017 22:33 Scissor120#849
Hi guys, I got a couple of general questions if you don't mind, would be cool if somebody would answer them:

1. Is this the definite version of the bot or are there other planned features that are not implemented yet? In short, are there things to be added yet or is is only being refined and made better at this point?

2. How does this bot compare to other bots? The only other bot I really know is the "UltimateTribalWarsBot". Can anybody offer any insights? Are there any other people who used this bot but saw that another bot was working better? Or is this one the best working one?

3. I got a couple of suggestions, is this the official forum to post any problems I encountered or anything else like ideas etc.?

4. Is there a dump of examples for custom routines? I am afraid to admit that the "custom routines" section in the Wiki is not good enough and I feel overwhelmed. I'd like to see some examples first instead of editing it all by myself and possibly risking errors.
10/05/2017 09:21 Blackerss#850
Help i dont configure template ;( look log,
Quote:
09:17:33 INFO Update - DSX1337 version 4.81
09:17:34 INFO Update - Running latest version.
09:17:34 INFO Settings - Loaded settings.
09:17:36 INFO Session - Logging in...
09:17:44 INFO Session - Login successful.
09:17:44 INFO Database - Last world data update: 05/10/2017 09:13:39
09:17:44 INFO GroupHandler - Loaded 5 groups.
09:17:44 INFO RoutineHandler - Setting up Routines...
09:17:44 INFO DsxFarmer - Loaded templates: 1
09:17:44 INFO MyLists - Parsing blacklist...
09:17:45 INFO FarmRoutine - Blacklisted villages: 0
09:17:45 INFO Database - Last world data update: 05/10/2017 09:13:39
09:17:45 INFO FarmRoutine - Starting to farm...
09:17:49 INFO FarmRoutine - Farming for xzc (576|648)
09:17:52 INFO Attack - Target: Wioska TuttiFrutiii (576|647)
09:17:54 ERROR FarmRoutine - Invalid Target: Grupa atakująca musi się składać z co najmniej 6 mieszkańców.
09:17:54 INFO Attack - Target: Wioska barbarzyńska (578|647)
09:17:57 INFO Attack - Cancel:
09:17:57 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:17:58 INFO Attack - Target: Osada koczowników (573|648)
09:18:01 INFO Attack - Cancel:
09:18:01 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:18:02 INFO Attack - Target: Osada koczowników (575|651)
09:18:05 INFO Attack - Cancel:
09:18:05 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:18:07 INFO Attack - Target: Wioska barbarzyńska (575|644)
09:18:09 INFO Attack - Cancel:
09:18:09 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:18:11 INFO Attack - Target: Wioska barbarzyńska (577|652)
09:18:13 INFO Attack - Cancel:
09:18:13 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:18:14 INFO Attack - Target: Wioska barbarzyńska (571|649)
09:18:18 INFO Attack - Cancel:
09:18:18 INFO Attack - Nawet opuszczone wioski mają pewną bazową wartość obronną, dlatego lepiej nie wysyłać na nie pojedynczych żołnierzy, by uniknąć niepotrzebnych strat.
09:18:19 INFO Attack - Target: Wioska barbarzyńska (577|653)

Quote:
<farm><units>[group="off"]><light>2</light></units></farm>


Quote:
<groups>
<group id="off"
priority="0">
<by-unit>light,spear</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>

what is wrong?
10/05/2017 12:59 SeaTheStars#851
Quote:
Originally Posted by Blackerss View Post

what is wrong?
In the config, just make a tick next to

Ignore attack warnings.
10/05/2017 14:08 D3luxe.#852
First, thank you all for your patience. I was on vacation for a few days and couldn't answer your questions.

Quote:
Originally Posted by hugogbjudo View Post
Well hello if someone can help me would be good, i never use groups in template, i manage to do one time in 4.6 but seems like i dont remember how i do it. I send you here pastebins off all my templates for check what is bad cause really every time i fix one thing CMD says me another error appeards, i know deluxe isnt available for a time cause i speak with him yesterday but if someone can help me would be good. Thanks.

Pastebin:
[Only registered and activated users can see links. Click Here To Register...]
Talking about the pastebin templates:
You shouldn't include square braces in the template, they indicate an optional setting/property.
Also, there are various syntax errors in your templates.
I recommend to use the '*.lategame.xml' templates and only change a few numbers.

Quote:
Originally Posted by Dogger View Post
Hallo D3luxe ,

Wenn ich die whitelist nutze und ich die Dörfer eingefügt habe , greift er leider Spieler an die Ich nicht in der whitelist habe. Format von den Dörfern die er farmen soll habe ich so:
xxx|xxx
xxx|xxx
xxx|xxx
ect.
Vielen Dank.
Du hast schon eine gute Antwort von SeaTheStars bekommen. Im Prinzip werden Dörfer auf der Whitelist nur zusätzlich zu den regulären Farmzielen angegriffen. Wenn du z.B. die Max points sehr niedrig setzt, wird mit den normalen Kriterien nichts gefunden und damit dann nur die Whitelist angegriffen.

Quote:
Originally Posted by is23jon View Post
hi there

just checking if i'll set up my bot to :

<force-upgrade>
<snob>1</snob>
</force-upgrade>

will it force build the required buildings too or randomly building till the required ones are complete?

also

is the bot instantly completes building when they are 3 min or less left?

thanks for your time
The bot does not check for requirements and will only build snob as soon as it is available. You could add force-upgrades for main and smith.
Generally, the bot will try to build snob around 24/24/23 production levels.

Quote:
Originally Posted by SeaTheStars View Post
Wenn du nur die Dörfer aus der Whitelist angreifen willst, dann setzt du einfach bei max points=25. Dann kann er keine zusätzlichen Dörfer finden. Ansonten sucht er eben auch Dörfer, die im Farmsucher drin sind.

Farmt der Bot auch Dörfer, die meinen Stammeskollegen gehören, oder BND und NAP Dörfer. Habe einige grössere Dörfer in meiner Whitelist und die können bald von solchen Leuten geadelt werden wenn der Bot läuft und ich nicht online bin.

Dann möchte ich natürlich nicht, dass dort über Nacht 30-40 Farmangriffe draufgehen.
Für den Bot gibt es keine einfache Möglichkeit zu prüfen, ob ein Spielerdorf zu deinem Stamm/BND/NAP gehört. Du solltest also mit 'attack players' vorsichtig sein bzw. die Ziele mit max points so regeln, dass keine Verbündeten angegriffen werden.
Geadelte Babarendörfer sind kein Problem, der Bot wird dann die Angriffe abbrechen.
Solange deine Verbündeten ihre Ziele im Adelsplaner reservieren (und ignore attack warnings im Bot deaktiviert ist) sollte es auch da keine Probleme geben. Der Bot bricht auch bei reservierten Dörfern die Angriffe ab.

--------------------------

I believe there was someone asking if DSX will upgrade farm if no space is left, but I can't find the message atm. The answer is yes - the bot will try to upgrade farm if there is less than 10% space left. Keep in mind that it can take a while to gather enough resources (especially with farm lvl 26+).

Quote:
Originally Posted by Scissor120 View Post
Hi guys, I got a couple of general questions if you don't mind, would be cool if somebody would answer them:

1. Is this the definite version of the bot or are there other planned features that are not implemented yet? In short, are there things to be added yet or is is only being refined and made better at this point?

2. How does this bot compare to other bots? The only other bot I really know is the "UltimateTribalWarsBot". Can anybody offer any insights? Are there any other people who used this bot but saw that another bot was working better? Or is this one the best working one?

3. I got a couple of suggestions, is this the official forum to post any problems I encountered or anything else like ideas etc.?

4. Is there a dump of examples for custom routines? I am afraid to admit that the "custom routines" section in the Wiki is not good enough and I feel overwhelmed. I'd like to see some examples first instead of editing it all by myself and possibly risking errors.
1. Well, I hope the things I am adding somehow improve the bot^^ But to answer your question: DSX is far from a final version and I will continue to release updates / new features.

2. I made this bot because I could not find another good bot.
There are some other bots around, but DSX is different in a lot of things. DSX operates on a different/lower level (sending requests/packets) vs most other bots(automating a browser). That is why DSX is the only bot that does not trigger bot guard (even though others advertise it). Also, you can let DSX run in the background and play on your computer at the same time (bot and user do not kick each other out of the session).

German users might have noticed a new bot in this forum. The creator labels it as 'as safe as possible' and implies that sending packets is unsafe. I'm not as naive to believe that any method is completely safe. But saying the bot is 'as safe as possible' while using Selenium/Webdriver is factually wrong. Webdriver has built-in features for site owners to detect that a webdriver is used (to prevent abuse). If tribal wars would care, it would be very easy to detect this kind of bot.

The core strength of this bot is that DSX can run on any operating system and even on a linux server.
DSX is actually free to use (*cough* UTWB). You only need to pay for 'commercial' botting features like proxies or premium trading.

3. This is the official forum thread, I did not set up a seperate forum for this project (yet). You can propose new features here or on bitbucket (issue tracker). If you have any problems, this thread is usually better than bitbucket (more people can answer, and you get notified about replies).

4. There are a few example templates for the different routines. You usually only need to change a few numbers there to make them usable.
Wiki texts are kept short on purpose, even though a few examples wouldn't hurt.

DSX is supposed to get a proper GUI (window) at some point and shift away from the XML config to reduce complexity, because - as you noticed - the templates can be complicated for new users.
Generally you can't really break anything and I encourage users to try and make their own templates to get the best results with the bot. The included 'first start'/'lategame' examples usually make a good base template.
10/05/2017 15:07 fredalex#853
Beim gebäudebau erhalte ich immer folgende Meldung:

Quote:
org.json.JSONException: JSONObject["wood"] not found.
at org.json.JSONObject.get(JSONObject.java:473)
at org.json.JSONObject.getInt(JSONObject.java:535)
at me.d3luxe.farmbot.building.Builder.execute(Builder .java:73)
at me.d3luxe.farmbot.building.BuildRoutine.run(BuildR outine.java:116)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(Future Task.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$301(ScheduledThreadPoolE xecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Außerdem erhalte ich immer wieder die meldungen:

Quote:
14:59:10 ERROR Session - Invalid session.

woran liegen diese fehler?
10/06/2017 21:13 is23jon#854
Quote:
Originally Posted by sergio6677 View Post
¿?
just to sell them
10/07/2017 14:27 Scissor120#855
Mein derzeit grösstes Problem das ich habe ist dass der Bot nicht versucht neu zu starten nach einem ERROR. Zum Beispiel läuft der Bot auf meinem Raspberry Pi 3 für etwa 7 stunden aber hat danach ein Problem mit dem Login (kann alles sein, entweder verbindungsstörungen seitens meines Rasp oder was anderes) aber das grössere problem ist das das linux program (.sh) momentan nicht wenigstens versucht, nach dem login ERROR (oder sonst einem ERROR) einfach neu zu starten.

Ich verwende auf meinem Rasp selber einige sehr gut funktionierende python scripts. Mein Internet kackt mindestens jede 2 tage für 1-2 minuten ab darum habe ich für meine python scripts alle ein fail-save das die scripts neu starten lässt.


Währe cool wenn dieser bot das selbe tun würde. Nach einem Error einfach von vorne beginnen.