[Beta] DSX1337 - Tribal Wars Bot

08/27/2017 12:42 bexy1985#796
Super geht ;D
Danke

Hat einer Tipps für die templates ?
08/28/2017 00:32 lorddoener#797
Hey ;)

wäre es realisierbar, einen Angriffswarner zu basteln, der auch gleich reagiert. (axt Laufzeit rausstellen, Ramme Laufzeit Deff prüfen, AG deffen oder folgende AGs raustimen ?)

Und wenn ja was würde dieses Feature kosten.

PS: Vielen Dank für den Bot, klappt wunderbar.
08/28/2017 08:54 kikegarcia97#798
Okay i was doing some test in another world for check some templates. I let bot 12h since start. I put these templates

PHP Code:
<build>
    <
template>
        <
max-levels>
            <
main>5</main>
            <
market>1</market>
            <
barracks>1</barracks>
            <
smith>1</smith>
            <
farm>2</farm>
            <
storage>/1</storage>
            <
wall>1</wall>
            <
hide>1</hide>
        </
max-levels>
    </
template>
</
build
When i put these templates.

Main was 5
barracks 1
smith 1
wall 1

i let these templates for bot just upgrade
Clay pit
Iron mine
Timber camp

Cause at world start i usualy do these. But actually when i wake Up these happens
Main 8
Barracks 3
Smith 2
wall 6
And the clay pit and timber camp same level.
Iron mine just 2 level more.


I did something bad?
08/28/2017 14:35 hellye123#799
i have to make my ingame groups "#off,#def" ?
i tried changing it and all the villages on "list-groups" tells "default"
i tried both ways #off;off and atack and changed the xml to #atack

and on def-horse group and spy
it trains other defensive units aswell

i will post to you later on to explain
now the bot is training the right units dunno why (it says default)
only says off default
what means default anyway
08/28/2017 20:51 bexy1985#800
Ich bekomme immer die Meldung das ich das Premium nicht aktiv sei ??
Es ist aber einer aktiv

20:37:33 ERROR ByInGame - Error: You need an active premium account in tribal wars to use ingame groups.
08/29/2017 00:57 D3luxe.#801
Quote:
Originally Posted by kikegarcia97 View Post
Okay i was doing some test in another world for check some templates. I let bot 12h since start. I put these templates

PHP Code:
<build>
    <
template>
        <
max-levels>
            <
main>5</main>
            <
market>1</market>
            <
barracks>1</barracks>
            <
smith>1</smith>
            <
farm>2</farm>
            <
storage>/1</storage>
            <
wall>1</wall>
            <
hide>1</hide>
        </
max-levels>
    </
template>
</
build
When i put these templates.

Main was 5
barracks 1
smith 1
wall 1

i let these templates for bot just upgrade
Clay pit
Iron mine
Timber camp

Cause at world start i usualy do these. But actually when i wake Up these happens
Main 8
Barracks 3
Smith 2
wall 6
And the clay pit and timber camp same level.
Iron mine just 2 level more.


I did something bad?
Did you restart after changing the template? Saved the file after editing? Look on the right account? Max levels should work, they do for me at least.
Your template looks correct.


Quote:
Originally Posted by lorddoener View Post
Hey ;)

wäre es realisierbar, einen Angriffswarner zu basteln, der auch gleich reagiert. (axt Laufzeit rausstellen, Ramme Laufzeit Deff prüfen, AG deffen oder folgende AGs raustimen ?)

Und wenn ja was würde dieses Feature kosten.

PS: Vielen Dank für den Bot, klappt wunderbar.
Angriffswarner / Handler ist auf jeden Fall machbar, aber von der Umsetzung nicht ganz einfach.
Angriffswarner z.B. über Telegram wäre nicht so teuer, vll 10-30€ je nachdem, ob nur 'Neuer Angriff' oder weitere Daten erhoben und mitgeschickt werden sollen.
Beim Reagieren wird es schwierig - was z.B. bei 100+ Angriffen, oder wenn die Laufzeit nicht genau bestimmt werden kann... Müsste man alles genau einstellen / getrennt behandeln. Dementsprechend teurer würde es werden...


Quote:
Originally Posted by hellye123 View Post
i have to make my ingame groups "#off,#def" ?
i tried changing it and all the villages on "list-groups" tells "default"
i tried both ways #off;off and atack and changed the xml to #atack

and on def-horse group and spy
it trains other defensive units aswell

i will post to you later on to explain
now the bot is training the right units dunno why (it says default)
only says off default
what means default anyway
You don't need to rename your groups neccessarily, you could use plain 'Off' or whatever name you like. The '#' symbol has no special meaning, it is simply the tag I use to order the groups ingame. The only thing that matters is that the ingame group and the name you enter in the template are equal.
List-groups will show ALL groups a village belongs to, so off does matter. Default is the group that matches all villages. It has a priority of 255 and will always be loaded, no matter what your templates are.
If multiple groups match a village: Which group is used for training is determined by each group's priority (lower == more important).
I guess you already have your ingame groups set up for your different village types, so it shouldn't be too hard to make DSX train the correct units...

Quote:
Originally Posted by bexy1985 View Post
Ich bekomme immer die Meldung das ich das Premium nicht aktiv sei ??
Es ist aber einer aktiv

20:37:33 ERROR ByInGame - Error: You need an active premium account in tribal wars to use ingame groups.
Bist du dir sicher? Du brauchst einen Premium Account bei Stämme. Restart hilft nicht?
Geht deine PC-Uhr richtig?
Im Prinzip wird die 'Aktiv bis' Zeit mit der aktuellen Zeit verglichen...
Hast du sonst irgendwas besonderes aktiv? Account Manager, free Premium Acc?
08/29/2017 02:13 bexy1985#802
Jap bin mir sicher ;) Pa für 14 Tage aktiv PC Uhr geht korrekt
Restart hab ich auch schon versucht
Sonst ist nur der kostenlose farmmanager aktiv

Ja bin mir sicher Pa für 14 Tage aktiv ;)
Restart hab ich auch schon versucht
PC Uhr geht richtig
Aktiv ist sonst nur noch der kostenlose farmmanager
08/29/2017 19:50 Kenji242#803
Bei mir kommt ab der neuen Version eine Fehlermeldung.

Ich habe es einfach entpackt eingestellt und gestartet. Eine Frage habe ich noch.. Woher weiß das neu entpackte Teil eigentlich meinen Benutzernamen und meine Einstellungen? bissl crazy. Von demher kann ich einfach die Templates vom "Vorherigen" bot dann rüberkopieren?

Desweiteren bei der 4.6er Version bleibt der Bot oft stehen. zbs. wie hier



Siehe Spoiler
NEUSTE VERSION>


Beim zweiten Spoiler bleibt der Bot bei "19:51:47 INFO Trainer - Resources: 11238|1g3022|6114" hängen. Hier muss ich einmal enter im cmd Fenster drücken dann kommst sofort die Bauernhof Zahl.. Danach die Fehlermeldung. In den letzten 5 Tagen sehr oft gekommen.

lg.
08/29/2017 19:56 bexy1985#804
Bekomme nun da ich die Gruppen über Koordinaten und nicht mehr über ingame Gruppen festgelegt habe, folgernden Fehler.

17:58:18 ERROR TrainRoutine - Error:
java.lang.NullPointerException
at me.d3luxe.farmbot.training.Trainer.getRecruitList( Trainer.java:189)
at me.d3luxe.farmbot.training.Trainer.execute(Trainer .java:79)
at me.d3luxe.farmbot.training.TrainRoutine.run(TrainR outine.java:95)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
08/30/2017 00:14 D3luxe.#805
I'm aware of possible problems with the tribal wars API. It looks like they changed something in the world data API and the resource cost info of units DSX was saving previously is not available any more, thus resulting in exceptions.

I can not do much at this point in time (it's late at night here), but will push a fix somewhen tomorrow.
Unit info will be reloaded on a config reset, so avoid deleting 'dsx.properties' if you want to keep botting until a fix is available.

There will be many other (legal) community projects broken by this change, because Inno didn't follow standard procedure (creating a new Url for the changed api page).
Thanks for your patience.
08/30/2017 09:36 kikegarcia97#806
@[Only registered and activated users can see links. Click Here To Register...]

Okay i just read the problem maybe it has something to be with my problem. I manage to de inside Ubuntu VM he script now and ejecute it. Problem is thath i dont see if the bots are working or not, it just opens a lot off DSX PROPERTIES CONFIG Window( I Open 8 bot and just 5 config window appeards, so i can imagine thath 3 are working? and how i can check them if they are working or not? ir remember thath you tell me thath was with screen but how.)

I let you here some screenshots+ dsxproperties.txt file so you can check thath isnt empty and thath should work cause i config them.

PS: Possible failures:
1-I am not using proxys and 8 accounts are in the same world/server so maybe they banned them cause i didnt check it . But i dont think so cause they arent growed and i dont think thath .ro admins are thath bored to ban 26p old world accounts.
2-There is something bad in the script (it cant be something bad in the templates/bots cause in windows works, i just test it now with 4 accounts).

Screenshots:
Script location(Startall.sh) + Folders so you see every name is okay.
What is inside each folder(all are the same):

dsx.properties.txt:

Script:
Edit: I just test in windows and it dosnt work too. MMM

08/30/2017 23:17 D3luxe.#807
Update 4.8 is out, fixing api-change related NullPointer exceptions in UnitInfo.

Will try to answer your questions soonish, I just wanted to get the update notification out asap...
08/31/2017 01:16 hellye123#808
you have to put # on game too
08/31/2017 05:03 joseinformatica96#809
First thanks for the bot, works perfect! and its safe 100% :)

I would ask a question, when I farm, i´ve too many losses, i farm with 2 lights every 10 minuts, some barbarian villages increase their walls and i get losses, ¿Why the bot attacks barbs with losses (with farmassistant mode obiusly)? Some way to change this? I only want attack barbs without losses :)

Thanks!
08/31/2017 14:11 Carfunkel#810
Quote:
Originally Posted by joseinformatica96 View Post
First thanks for the bot, works perfect! and its safe 100% :)

I would ask a question, when I farm, i´ve too many losses, i farm with 2 lights every 10 minuts, some barbarian villages increase their walls and i get losses, ¿Why the bot attacks barbs with losses (with farmassistant mode obiusly)? Some way to change this? I only want attack barbs without losses :)

Thanks!
use 4 lights and you will not die against wall 1