[Beta] DSX1337 - Tribal Wars Bot

05/17/2017 22:23 D3luxe.#556
Quote:
Originally Posted by deathkillers View Post
Hi!
I just nobled my first village, and as shown on the picture, it attacks my main..
Farming for my second village: attacking the main.. what could be the problem?
Should probably be fixed by now. I guess you conquered a village that was in the farm target list. So either a babarian village with only a few points, which should be fixed by the next world data update, or you white listed that village, in which case you should take out the whitelist entry.


You can use groups for training, Royal* posted the relevant part already (thanks!). The groups are predefined and will match your villages based on current units.

Quote:
Originally Posted by georgimus View Post
Jep, macht er auch. Ich war nur zu schnell :D

Jetzt taucht aber dieser Fehler auf:
[Only registered and activated users can see links. Click Here To Register...]
Kann dir nicht so genau sagen, was da schief läuft. Ist keine Sache des Templates / deiner Einstellungen.
Der Bot bekommt eine unerwartete Antwort von der API, versucht sie aber in JSON umzuwandeln.
Das könnten Verbindungsprobleme sein...
Ansonsten sollte es zumindest einen Error geben, auch wenn die API fast nie genau sagt was schief gelaufen ist.

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


Edit: Some people are still asking for custom delay settings. I did not want users to be able to edit delays because of security reasons.
There will be people who set all delays to 0 and then complain about the bot after they are banned. This might happen with non-zero values too.
You can try to time yourself working with the app on your phone. You will not have 1s delays consistently.
Human behaviour and maximum actions/minute are conflicting. I throttle the bot on purpose.

It's not hard to implement. I can add custom delay settings with a big 'on your own risk' warning.

I don't have a lot of free time atm and will not choose the bot over university tasks. Thanks for your patience.
05/17/2017 22:39 hellye123#557
this bot works great if you have lots of farms
but if you dont , like in freshstart 1-10 days or even in the first month its like changing the templates to get the best (at least try to)
cz im testing on couple of worlds and the results are not quite good
1st bcz the templates has to be changed almost every week to suit best
2nd i think that the biggest problem is priority issues i just cant config the best templates for building farm etc etc if i forceupdate builds troops stop recruiting almost

if i knew how to change a little this i would make:

1 Better User interface
2 i would make a delay config: beetween attack 3-5seconds ,switch routine(why delay of 1min maybe?)fast isnt fast enough i didnt try the normal delay or slow
3 more options on atack routine (ex:Auto-Blacklist villages with partial/loses)
4 auto snipe (pro feature)
5 auto backtime(pro)
6 priority system on % like resources 50% troops 35% and the rest builds
7 auto research !
8 make trade possible for all users
im not a coder but as a user of this heres some changes to make
for a free bot it works PERFECT :D

no if you can do it just make an option file to edit
we do it at our own risk
how much time you take to do that ?

i would love to edit and see what i can do with it first like 1,1 seconds
or no delay at all cz they dont have any protection on mobiles i guess
EDIT: I was running a bot almost a week 24/7 and nothing happens almost best farmer of the day twice and not the first bcz of the preset delays and nothing happend to me
also boting in 8worlds on same server and nothing happens
make that edit file to delays and give that bot some love
"humans can do best but humans sleep" ;)
05/18/2017 00:44 georgimus#558
Was für Vorteile habe ich durch die Proversion und kann ich mich zeitgleich wenn der Bot läuft mit dem Handy einloggen?
05/18/2017 14:51 Royal*#559
Quote:
Originally Posted by georgimus View Post
Was für Vorteile habe ich durch die Proversion und kann ich mich zeitgleich wenn der Bot läuft mit dem Handy einloggen?
Soweit ich weiß steht dir in der Pro-Version der Handel zu Verfügung (für Premium-Punkte, wenn ich das jetzt recht verstanden habe). Ich würde dir nicht raten, dich während der Bot läuft über die APP anzumelden, da dieser Vorgang den Bot kickt und dieser sich dann erst in 15-30 Minuten wieder einloggt. Als alternative würde ich dir raten, dich einfach mit dem Handy über den Browser anzumelden, so würde es gehen ohne das der Bot gekickt wird.
05/18/2017 17:48 georgimus#560
PHP Code:
<build>
    <
template>
        <
max-levels>
            <
wood>20</wood>
            <
iron>20</iron>
                        <
clay>20</clay>
        </
max-levels>
    </
template>
</
build
Das ist mein Code zum bauen. Der Bot haut trotzdem Sachen wie Wall und Versteck in die Bauschelife. Warum?
05/18/2017 17:56 D3luxe.#561
Quote:
Originally Posted by georgimus View Post
PHP Code:
<build>
    <
template>
        <
max-levels>
            <
wood>20</wood>
            <
iron>20</iron>
                        <
clay>20</clay>
        </
max-levels>
    </
template>
</
build
Das ist mein Code zum bauen. Der Bot haut trotzdem Sachen wie Wall und Versteck in die Bauschelife. Warum?
Du hast keinen direkten Einfluss auf das nächste Upgrade.
Das Template ist, wie der Name schon sagt, eine Max-Level-Liste.
Du zeigst dem Bot damit sozusagen, wie dein Dorf am Ende aussehen soll.
Das Template ist keine sequenzielle Liste. Der Bot wählt auf Basis der aktuellen Gebäudelevel + Ressourcen automatisch das nächste Upgrade aus. Dabei werden Produktionsgebäude bevorzugt (Minen, Hauptgebäude, Kaserne, etc.).
Um zum Beispiel das Versteck nie auszubauen, kannst du '<hide>0</hide>' setzen.
Siehe [Only registered and activated users can see links. Click Here To Register...]
05/18/2017 18:05 georgimus#562
Dann könnte ich ja im Umkehrschluss alle Gebäude bis auf die Minen auf 0 setzen, oder?
05/18/2017 19:00 D3luxe.#563
Quote:
Originally Posted by georgimus View Post
Dann könnte ich ja im Umkehrschluss alle Gebäude bis auf die Minen auf 0 setzen, oder?
Macht nicht wirklich Sinn. Dann baut der Bot nichts außer Minen.

Der Build-Algo ist normalerweise nicht schlecht und du bekommst ein relativ ausgewogenes Dorf, ohne das Template ständig ändern zu müssen.
Es sieht vll komisch aus, wenn du Bauen im Bot aktivierst und erst mal Versteck + Wall gebaut werden. Die werden aber deswegen ausgebaut, weil sie im Verhältnis zu den Minen zu niedrig sind.
Du wirst aber sehen, dass Bauernhof, Speicher etc. auch passend ausgebaut werden.
1x aktivieren & für immer laufen lassen.
05/18/2017 23:11 hellye123#564
deluxe make 2 types of construction for example:
1 atacking village specilization or def
and one rush
as a player not pro but good one i start to rush stable then trying to farm to get at least 20lc sending 1 for each village
this bot can do a rush easily
rush stable make 20lc then mines then stable farm warehouse when 10 mines start over untill 100lc and so on
then rush mines level 20 23 same 23 warehouse and farm when 100 pop buffer
the bot plays like me when the farm is full it stays full and keeps build another buildings should build farm for train 24/7
btw what is "hyper" delay ?
05/19/2017 08:42 Ky0n'#565
Gibt es ein Dörferlimit? Aus irgendeinem Grund will der Bot nicht mit allen Dörfern farmen... (Vorkurzem erst dazu geadelt, Bot seit dem mehrmals neu gestartet)
05/19/2017 19:49 georgimus#566
Quote:
Originally Posted by D3luxe. View Post
Macht nicht wirklich Sinn. Dann baut der Bot nichts außer Minen.

Der Build-Algo ist normalerweise nicht schlecht und du bekommst ein relativ ausgewogenes Dorf, ohne das Template ständig ändern zu müssen.
Es sieht vll komisch aus, wenn du Bauen im Bot aktivierst und erst mal Versteck + Wall gebaut werden. Die werden aber deswegen ausgebaut, weil sie im Verhältnis zu den Minen zu niedrig sind.
Du wirst aber sehen, dass Bauernhof, Speicher etc. auch passend ausgebaut werden.
1x aktivieren & für immer laufen lassen.
Jo alles klar. Aber warum kann man dann in der built-Datei Sachen ändern, wenn der Bot eh nen ausgewogenes Dorf bauen will?
btw: kommt es mir gerade am Anfang nur auf Minen an und es sehr wohl Sinn machen würde, nur auf Minen zu gehen ;)
05/21/2017 02:16 georgimus#567
Wäre geil, wenn du noch einbauen könntest, dass er automatisch Nachrichten liest.

Ansonsten großes Lob an dich. Rechner läuft seit 48h und der Bot hat keinerlei Probleme. Mal schauen, wann der Ban kommt. xD
05/21/2017 13:46 D3luxe.#568
Quote:
Originally Posted by Ky0n' View Post
Gibt es ein Dörferlimit? Aus irgendeinem Grund will der Bot nicht mit allen Dörfern farmen... (Vorkurzem erst dazu geadelt, Bot seit dem mehrmals neu gestartet)
Normalerweise gibt es kein Dörferlimit.
Welche Version benutzt du? DSX sollte nach spätestens 2 Stunden (oder restart) alle Dörfer erkennen.
Ich muss allerdings dazu sagen, dass ich die API nicht mit einem sehr großen Account testen konnte.
Wie viele Dörfer hast du?

Quote:
Originally Posted by georgimus View Post
Jo alles klar. Aber warum kann man dann in der built-Datei Sachen ändern, wenn der Bot eh nen ausgewogenes Dorf bauen will?
btw: kommt es mir gerade am Anfang nur auf Minen an und es sehr wohl Sinn machen würde, nur auf Minen zu gehen ;)
Problem ist dass du wegen Speicher & Bauernhof Limits irgendwann nicht mehr nur Minen bauen kannst. Das meine ich...

Die Max Level sind dafür gedacht, dass nicht jedes Dorf maximal ausgebaut wird, gerade weil die meisten Leute Haupt und Markt nicht voll ausbauen oder sogar alle Dörfer genau gleich haben wollen (10.000 / 10.012 Punkte etc.).

Quote:
Originally Posted by georgimus View Post
Wäre geil, wenn du noch einbauen könntest, dass er automatisch Nachrichten liest.

Ansonsten großes Lob an dich. Rechner läuft seit 48h und der Bot hat keinerlei Probleme. Mal schauen, wann der Ban kommt. xD
Wenn du Sleep aktiviert hast, sollte es auch bei 24/7 botting zu keinen Problemen kommen. Kann natürlich keine Garantie geben...
Freut mich auf jeden Fall, dass der Bot stabil läuft.

Quote:
Originally Posted by hellye123 View Post
deluxe make 2 types of construction for example:
1 atacking village specilization or def
and one rush
as a player not pro but good one i start to rush stable then trying to farm to get at least 20lc sending 1 for each village
this bot can do a rush easily
rush stable make 20lc then mines then stable farm warehouse when 10 mines start over untill 100lc and so on
then rush mines level 20 23 same 23 warehouse and farm when 100 pop buffer
the bot plays like me when the farm is full it stays full and keeps build another buildings should build farm for train 24/7
btw what is "hyper" delay ?
Might be added in the future.
The bot will upgrade farm if more than x% of farm space is used...

Hyper is an old delay preset that is equal to fast, but reduces the middle delay (between switching villages) to 0-2 minutes.
I never made it available in the GUI because the "skip delay between switching villages..." setting was added instead which will skip middle delay completely.

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

I made a very fast version the other day, with hard coded small delay of 500-1500ms (== 0.5-1.5s) between each action. This halves the median delay and should make farming 3-4x faster in theory.
It might be worth a try for people who were complaining about speed.
DISCLAIMER: This version is using low delays between each action I would not consider human-like any more. Ban chance increases. Use on your own risk.

jar + launchers:
[Only registered and activated users can see links. Click Here To Register...]
You can drag & drop this in your already existing bot folder.

Feel free to leave any feedback on the faster version. Official update will follow after some testing.
05/21/2017 16:35 hellye123#569
the faster version is way faster
if you care about your accounts dont use that :D
i use it and i will check also official update
i meant to give a option very fast
not without it but anyway thumbs up
this thing fly! :D
05/21/2017 22:48 AlexandreAlmeida#570

Any tought ?

EDIT : Fixed ! Host was with https :P