[Beta] DSX1337 - Tribal Wars Bot

07/06/2017 23:55 Royal*#721
Quote:
Originally Posted by Majik1 View Post
hi there,

I've been looking online all day for a TW bot and i only found 2 that looked any good and dsx1337 was one of them :)

I use win vista SP2 and have the right java installed but as soon as i open the bot, the command window opens, it tries to open the file and then i just get this whole load of errors which means nothing to me...



Can someone tell me whats going on and how to fix it please.
Could you show us your dsx.properties (delete your username there)?
07/07/2017 01:25 D3luxe.#722
Quote:
Originally Posted by Majik1 View Post
hi there,

I've been looking online all day for a TW bot and i only found 2 that looked any good and dsx1337 was one of them :)

I use win vista SP2 and have the right java installed but as soon as i open the bot, the command window opens, it tries to open the file and then i just get this whole load of errors which means nothing to me...


Can someone tell me whats going on and how to fix it please.
This doesn't look like a config problem.
The bot can not reach bitbucket to check for updates.
Maybe an internet connection problem. It is possible that either bitbucket is blocking your IP or your firewall / antivirus is blocking the bot.


In either case, does a restart fix your problem? If not, you might need to unblock DSX in the firewall/AV.
07/07/2017 08:40 Majik1#723
Hi there,

Thanks for getting back to me so quickly... Game over - thanks for the reply but it was before it even got to there.

D3luxe - Thanks, it was the firewall that was causing the problem. I use za and all the settings are either set to 'allow' or to 'ask me' nothing is set to 'block'.. when i try to load Dsx with the firewall on it does tries to open and does nothing, and then produces the errors in my OP.

The firewall doesn't show any alerts.

Soon as i turn the firewall off it's fine.... I can't see what setting i need to change to get it to work with the firewall on.
07/08/2017 04:07 Zambelli19#724
Does anyone know a free server(VPS) to put the bot?
07/09/2017 14:02 sirmystic12#725
Can you tell me how to set the range of attacked villages? On what basis bot chooses the village to attack?
07/09/2017 17:09 Leichtgewicht#726
Hi,
bei mir schleicht sich ein Fehler ein:

was mache ich falsch?
07/09/2017 19:08 D3luxe.#727
Quote:
Originally Posted by sirmystic12 View Post
Can you tell me how to set the range of attacked villages? On what basis bot chooses the village to attack?
Edit: Sry, forgot to answer your question.
You have many farm settings in the config helper for farm target selection (radius, max points, ...).
Just hover your mouse over a setting/field if you don't know what it is doing.
To bring up the config helper, delete 'dsx.properties' and restart the bot.

Quote:
Originally Posted by GorkilSaysSorry View Post
Hi,
bei mir schleicht sich ein Fehler ein:
was mache ich falsch?
Sieht aus nach Verbindungsproblemen.
Kenne die IP nicht. Hast du Host + World Code korrekt eingestellt?
'dsx.properties' löschen + Bot neu starten, damit der Config Helper wieder angezeigt wird...
Eventuell blockt deine Firewall/AV den Bot auch.
07/10/2017 08:28 Leichtgewicht#728
Quote:
Originally Posted by D3luxe. View Post


Sieht aus nach Verbindungsproblemen.
Kenne die IP nicht. Hast du Host + World Code korrekt eingestellt?
'dsx.properties' löschen + Bot neu starten, damit der Config Helper wieder angezeigt wird...
Eventuell blockt deine Firewall/AV den Bot auch.
Habe die Internetadresse falsch, bzw. mit / und https eingegeben. Funktioniert jetzt, danke.

Eine Frage noch, wenn man den Bot den FarmAssistenten nutzen lässt, farmt der dann die Dörfer auf der Karte oder die Dörfer die im Assistenten sind?
07/11/2017 00:48 Carfunkel#729
So, bei 3 Dörfern fängt er an mit bisherigen settings etwas langsam zu sein.
Was für delays etc. habt ihr denn, die safe sind?

---------

Und er farmt nicht mit dem dritten Dorf was frisch geadelt ist, liegt das daran dass die Zustimmung noch auf 45 ist?

Er geht ins erste Dorf und farmt, dann mit dem zweiten, das dritte ignoriert er und sagt 'Farm Routine finished'..
07/11/2017 12:42 D3luxe.#730
Quote:
Originally Posted by Carfunkel View Post
So, bei 3 Dörfern fängt er an mit bisherigen settings etwas langsam zu sein.
Was für delays etc. habt ihr denn, die safe sind?

---------

Und er farmt nicht mit dem dritten Dorf was frisch geadelt ist, liegt das daran dass die Zustimmung noch auf 45 ist?

Er geht ins erste Dorf und farmt, dann mit dem zweiten, das dritte ignoriert er und sagt 'Farm Routine finished'..
Ka, du kannst theoretisch alle Delays etwas herunter setzen. Ausprobieren, bis dir das Tempo gefällt ;D

Das Problem mit frisch geadelten Dörfern habe ich auch schon bemerkt; Liegt daran dass der Bot Gruppenzugehörigkeiten cached; Am Anfang sind im neuen Dorf zu wenige Einheiten vorhanden, um zu entscheiden zu welcher Gruppe es gehört.
Sobald du 30+ Truppen dort rekrutiert hast 1x den Bot neu starten und es sollte korrekt erkannt werden.

Ich muss demnächst mal den Gruppencache automatisch leeren lassen... 1x alle 6 Stunden würde ja schon reichen.
07/11/2017 17:43 Carfunkel#731
Quote:
Originally Posted by D3luxe. View Post
Ka, du kannst theoretisch alle Delays etwas herunter setzen. Ausprobieren, bis dir das Tempo gefällt ;D

Das Problem mit frisch geadelten Dörfern habe ich auch schon bemerkt; Liegt daran dass der Bot Gruppenzugehörigkeiten cached; Am Anfang sind im neuen Dorf zu wenige Einheiten vorhanden, um zu entscheiden zu welcher Gruppe es gehört.
Sobald du 30+ Truppen dort rekrutiert hast 1x den Bot neu starten und es sollte korrekt erkannt werden.

Ich muss demnächst mal den Gruppencache automatisch leeren lassen... 1x alle 6 Stunden würde ja schon reichen.
Mein farm template greift eigentlich nicht auf Gruppen zu, sondern probiert einfach in jedem Dorf alle templates durch (4lkav+1spy/4lkav/3skav) - hab jetzt mal neu gestartet, 70lkav+ stehen im neuem Dorf.

Also er geht die templates in Dorf 1 durch (4lkav) kann nicht weiter machen und wechselt zu Dorf 2, da macht er mir dem template weiter, welches er in 1 nicht machen konnte, Dorf 3 hat wieder lkav, aber bevor er dazu kommt hört er auf (vielleicht weil alle templates abgearbeitet?)

Muss das Farm Template mit Gruppen arbeiten?

[Only registered and activated users can see links. Click Here To Register...]

Hier mein Farm template


Auch hier greift er nicht auf das dritte dorf zurück, auf dorf 1 & 2 jedoch ohne Probleme..

Truppen rekrutiert er jedoch:
07/11/2017 23:25 D3luxe.#732
Quote:
Originally Posted by Carfunkel View Post
Mein farm template greift eigentlich nicht auf Gruppen zu, sondern probiert einfach in jedem Dorf alle templates durch (4lkav+1spy/4lkav/3skav) - hab jetzt mal neu gestartet, 70lkav+ stehen im neuem Dorf.

Also er geht die templates in Dorf 1 durch (4lkav) kann nicht weiter machen und wechselt zu Dorf 2, da macht er mir dem template weiter, welches er in 1 nicht machen konnte, Dorf 3 hat wieder lkav, aber bevor er dazu kommt hört er auf (vielleicht weil alle templates abgearbeitet?)

Muss das Farm Template mit Gruppen arbeiten?

[Only registered and activated users can see links. Click Here To Register...]

Hier mein Farm template

Auch hier greift er nicht auf das dritte dorf zurück, auf dorf 1 & 2 jedoch ohne Probleme..
Truppen rekrutiert er jedoch:
Speziell fürs Farmen brauchst du nicht zwingend Gruppen.


Der Bot farmt im neuen Dorf nicht weil die Weltendaten und damit Farmziele nur alle 3 Tage aktualisiert werden.
Mach Mal /forceupdate auf Telegram oder setze in der 'dsx.properties' lastWorldDataUpdate um 1 Jahr zurück.
07/11/2017 23:42 Carfunkel#733
Hab ich beides schon mehrmals gemacht, mache nochmal über Telegramm, ansonsten hab ich keine Ahnung :D


Edit: Also nach mehreren Neustarts farmt er immernoch nicht mit Dorf 3 - bauen und rekrutieren läuft problemlos.
Die Farmroutine hört einfach vor Dorf 3 auf.
07/12/2017 16:06 kikegarcia97#734
Okay i am trying to farm with more than 1 village. I have 2 Villages thath i want to farm, each attack with 10 lights and inside each village there are only Rams Axes and Lights so i have these groups:
Code:
<farm>	
	<units group="off">
		<light>10</light>
	</units>
</farm>
These is inside farm.xml

Code:
<groups>
	<group id="off"
		priority="1">
		<by-unit>axe,light,ram</by-unit>
	</group>
	<group id="def"
		priority="2">
		<by-unit>spear,sword</by-unit>
	</group>

</groups>
THese inside groups.xml


But the bot JUST FARMS WITH MY MAIN VILLAGE, THE ONE THATH I HAVE FROM FIRST DAY OF WORLD.

ANY SOLUTION? Thanks for sure im doing something bad

In First Village it farms(ill not put here the farms but it does) But in others it dosnt.
VILLAGE 0(MAIN VILLAGE) FARMING.
Code:
16:05:56 INFO  FarmRoutine - Farming for ********1
16:05:58 INFO  FarmRoutine - No templates left
[B][I][U]16:06:00 INFO  FarmRoutine - Farming for ******2--(these village has lights but it dosnt farms you see?)[/U][/I][/B]
16:06:03 INFO  FarmRoutine - Farming for ******3
16:06:05 INFO  FarmRoutine - No templates left
07/12/2017 16:55 D3luxe.#735
Quote:
Originally Posted by kikegarcia97 View Post
Okay i am trying to farm with more than 1 village.
I CAN READ JUST FINE; no need for caps ;)
I see you removed a few unit types from the group template. It should still be fine if your offensive villages only have axe,light,ram and nothing else.

Your farm template looks all right. 10 light for offensive villages.

From this log sequence:
Code:
16:05:56 INFO  FarmRoutine - Farming for ********1
16:05:58 INFO  FarmRoutine - No templates left
From 'farming for [village]' and instantly after 'no templates left' you can tell that the bot can not find a fitting template for that village.
That means that either the village is defensive or that it can not be recognized as the group it is supposed to be.

In '******2' the bot is just skipping to the next village. There is no log message about templates, so the bot can not find any farm targets for this village.
Did you just conquer this village? DSX probably didn't update world data yet (only every 3 days). You can force the bot to update like this:
Open 'dsx.properties' with a text editor and set 'lastWorldDataUpdate' to a date long past, eg 'lastWorldDataUpdate=28/11/2016 22\:53\:59'.
Restart the bot and DSX will now look for farm targets for that village.

This should work assuming groups are set up correctly.
If the steps above do not work, try this:
You can check if DSX can recognise your villages by typing 'list-groups'...
You could also try to remove groups from farm templates if you have villages with mixed units (e.g. 50% off / 50% deff).It is important to know that off/def groups are assigned only if the majority (>75%) of the total units in that village fit the unit types.

Quote:
Originally Posted by Carfunkel View Post
Hab ich beides schon mehrmals gemacht, mache nochmal über Telegramm, ansonsten hab ich keine Ahnung :D


Edit: Also nach mehreren Neustarts farmt er immernoch nicht mit Dorf 3 - bauen und rekrutieren läuft problemlos.
Die Farmroutine hört einfach vor Dorf 3 auf.

Dann sollte es funktionieren.
Hierzu sollte ich noch sagen, dass die Dörferreihenfolge nicht zwingend alphabetisch ist.
Du solltest zumindest 'Farming for [name]...' sehen. Falls nicht, guck mal nach ob du das Dorf geblacklistet hast^^ Dann wird es beim Farmen ohne Log/Benachrichtigung übersprungen.


Falls du logs für das Dorf hast, kannst du mir die gerne per PN schicken...