[Beta] DSX1337 - Tribal Wars Bot

03/02/2017 01:44 nesqaq#421
There's any method to reduce the attack delay? When the bot starts to work and reach the farming routine, it takes so long for every attack... like 10 or 15s between attacks; for example if I have configured to attack with 20 axes and I have 2000 in the village, it takes several minutes to use the whole units. So if I have 30 off villages it may take hours to farm with all the units in all villages.

btw, awesome work dude! keep it up :p
03/02/2017 07:20 IamBUSH#422
*Edit*

This was a stupid post, lol, figured it out :P

Another question though. I have a co-player who plays from his phone, will he kick off the bot when he gets on?

Also, you say it accesses the API? Does it do so in a way that is obvious? As in, connects directly to their server and takes info directly from it rather than acting like a person using the game?
03/02/2017 11:46 D3luxe.#423
Quote:
Originally Posted by nesqaq View Post
There's any method to reduce the attack delay? When the bot starts to work and reach the farming routine, it takes so long for every attack... like 10 or 15s between attacks; for example if I have configured to attack with 20 axes and I have 2000 in the village, it takes several minutes to use the whole units. So if I have 30 off villages it may take hours to farm with all the units in all villages.

btw, awesome work dude! keep it up :p
See my post above... You can change delay settings to fast.

Quote:
Originally Posted by IamBUSH View Post
*Edit*

This was a stupid post, lol, figured it out :P

Another question though. I have a co-player who plays from his phone, will he kick off the bot when he gets on?

Also, you say it accesses the API? Does it do so in a way that is obvious? As in, connects directly to their server and takes info directly from it rather than acting like a person using the game?
Yes, if your partner is using the official app he will kick the bot out of the session. While the bot should relog eventually it can cause some problems.
It is recommended to use the mobile site through the phone's browser instead of the app. No one will be kicked out of the session then...

DSX does work with the API. Your two alternatives ("directly connect to their servers" and "acting like a real person") are not mutually exclusive.
Basically, the bot is sending the same packets the official tribal wars app would be sending.
There are random delays between each action so it looks more natural/human.

It would be naive to believe that a public bot is undetectable. You are using this on your own risk.
However, I tried my best to make DSX as safe as possible.
03/02/2017 21:16 IamBUSH#424
Ok sounds good.

I've also ran into an issue with the farming. I have set it up to use the LA, but for some reason it will only send LC and not scouts.
03/03/2017 17:25 bexy1985#425
Wie kann ich die Gruppen festlegen nach Koordinaten der Dörfer komm da mit dem wiki nicht Klar
03/03/2017 22:08 D3luxe.#426
Quote:
Originally Posted by IamBUSH View Post
Ok sounds good.

I've also ran into an issue with the farming. I have set it up to use the LA, but for some reason it will only send LC and not scouts.
LA == Loot Assistant? DSX will use your ingame templates. It might need a restart or some time before changes will take effect.

Quote:
Originally Posted by bexy1985 View Post
Wie kann ich die Gruppen festlegen nach Koordinaten der Dörfer komm da mit dem wiki nicht Klar
Guck dir am besten mal die 'templates/group.xml' an. Dort sind Off/Deff Gruppen vordefiniert.
DSX ordnet dann automatisch die Dörfer zu, je nach vorhandenen Truppen.

Wenn du manuell Gruppen setzen willst, musst du statt 'by-unit' den 'by-coords'-Selektor nehmen. Siehe dazu das Beispiel hier: [Only registered and activated users can see links. Click Here To Register...]
03/04/2017 20:08 bexy1985#427
Ok Danke

Wenn ich aber nun das templates train late game in Train umbenenne das er das Verwedtet rekrutiert er nicht mehr
03/04/2017 20:57 Xaoghin#428
Oje jetzt versuch ich schon seit Stunden ihn auf einem Raspberry zum laufen zu bekommen und ich erhalte immer die selbe Fehlermeldung. Wenn ich versuche das Sh file zu starten kommt immer:

line2: screen: command not found
line3: screen: command not found

hat jemand einen tipp? :)
03/04/2017 20:58 D3luxe.#429
Quote:
Originally Posted by Xaoghin View Post
Oje jetzt versuch ich schon seit Stunden ihn auf einem Raspberry zum laufen zu bekommen und ich erhalte immer die selbe Fehlermeldung. Wenn ich versuche das Sh file zu starten kommt immer:

line2: screen: command not found
line3: screen: command not found

hat jemand einen tipp? :)
sudo apt-get install screen


Damit der Bot auch im Hintergrund laufen kann, wird screen benötigt.
Siehe [Only registered and activated users can see links. Click Here To Register...]
03/04/2017 21:00 Xaoghin#430
D3luxe. du Verrückter. Wie schnell kann man antworten. Danke ich werds versuchen ;)

Danke die Installations Anleitung von dort hab ich gelesen. Vorhin hat er "Screen terminated" geschrieben und jetzt schreibt er "There is no screen to be resumed matching dsx." fml
03/04/2017 21:28 D3luxe.#431
Quote:
Originally Posted by bexy1985 View Post
Ok Danke

Wenn ich aber nun das templates train late game in Train umbenenne das er das Verwedtet rekrutiert er nicht mehr
Kommt ganz auf deine Templates und Dörfer an... Die IDs im Train Template müssen zu einer Gruppe in der groups.xml passen. Zur Not mit by-coord.


Quote:
Originally Posted by Xaoghin View Post
D3luxe. du Verrückter. Wie schnell kann man antworten. Danke ich werds versuchen ;)

Danke die Installations Anleitung von dort hab ich gelesen. Vorhin hat er "Screen terminated" geschrieben und jetzt schreibt er "There is no screen to be resumed matching dsx." fml

Dann läuft etwas mit java noch nicht. Guck dir mal das komplette Tut an, mit Requirements... :D


Ist mir gar nicht aufgefallen. Demnächst warte ich 3 Tage, bevor ich antworte :D
03/05/2017 12:34 bexy1985#432
Ja passt wieder hab den buffer nach unten korrigiert, dann hat ich auch wieder die Ressis für Truppen.
03/06/2017 20:07 Reekblade#433
This bot is phenomenal so far. I was wondering if anyone has found an optimal template so far!

Great work Deluxe!
03/10/2017 18:02 shaftxtreme#434
I've got an issue, after bot restart to adjust barb village max points it just doesn't want to farm - farm routine finishes, after delay finishes again without attacking any village. Any idea whats going on? No values other than max points to farm were changed.

Windows 7, restarted computer and deleted dsx.properties. Till today bot ran without any problems.

edit: weirdly enough, bot does the same thing on VPS, I'd rather not risk it and restart other account to check if same thing happens

SOLVED
Changing password solved it. World on which I'm playing have some visible issues today, so yesterday problems were probably just start of it.
03/10/2017 20:10 D3luxe.#435
Quote:
Originally Posted by shaftxtreme View Post
I've got an issue, after bot restart to adjust barb village max points it just doesn't want to farm - farm routine finishes, after delay finishes again without attacking any village. Any idea whats going on? No values other than max points to farm were changed.

Windows 7, restarted computer and deleted dsx.properties. Till today bot ran without any problems.

edit: weirdly enough, bot does the same thing on VPS, I'd rather not risk it and restart other account to check if same thing happens
Is this the complete log? Or did you cut parts of it?

In your screenshot it looks like DSX can't find your villages. It should display at least 'Farming for village* (X|Y)...'.
Because this log message does not show up, either your village(s) were conquered or you have a premium account and DSX failed to switch groups (=bug).

It is possible that you set max points too low, if it was the only value changed, so DSX can't find any valid farm target. However, the log message above should appear.