[Beta] DSX1337 - Tribal Wars Bot

04/20/2017 08:59 Ky0n'#511
works fine, but i have one question:

Is the bot able, to attack players with different troops as he attacks empty villages?
04/20/2017 09:10 FlyffFix#512
Quote:
Originally Posted by Ky0n' View Post
works fine, but i have one question:

Is the bot able, to attack players with different troops as he attacks empty villages?
There are things called Groups, but afaik you have to put them in manually.

You can Read about them in the Wiki (Linked in the OP) under routines/farm and /groups.
04/20/2017 09:11 Ky0n'#513
this feature is to manage multiple villages
04/20/2017 17:49 Freak~#514
Quote:
Originally Posted by Ky0n' View Post
this feature is to manage multiple villages
Wenn du bspw verlassene Dörfer mit weniger Truppen und Spieler mit mehr Truppen angreifen willst, so ist das leider noch nicht möglich ..

Wie siehts eigtl mit der neuen GUI aus?
04/24/2017 20:06 hellye123#515
d3luxe does the bot reccognizes that villages are full of recources and attack or it just keep atacking all of them same time ?
im getting 0 resources sometimes and the bot doesnt stop atacking that village is this supossed to happen or no? or the bot knows when that village is full?
if not maybe you can add that feature
i can put the best ones in whitelist and it works but if the bot doesnt know how many resources was stolen it just keeps spamming same villages with 0 resources
i tried to change farm reatack time but if i put like default 36m doesnt work for me more time i travel too far and i have a lot of villages barbarian
all the features work pretty well though
maybe next release you can update that tiny thing if its not already idk
im sorrounded by barbarian i have like 500 points whats the template i should use of troops to farm

5 lc ? 10lc ? 30 30 defense 50vik
04/24/2017 22:16 Royal*#516
Quote:
Originally Posted by hellye123 View Post
d3luxe does the bot reccognizes that villages are full of recources and attack or it just keep atacking all of them same time ?
im getting 0 resources sometimes and the bot doesnt stop atacking that village is this supossed to happen or no? or the bot knows when that village is full?
if not maybe you can add that feature
i can put the best ones in whitelist and it works but if the bot doesnt know how many resources was stolen it just keeps spamming same villages with 0 resources
i tried to change farm reatack time but if i put like default 36m doesnt work for me more time i travel too far and i have a lot of villages barbarian
all the features work pretty well though
maybe next release you can update that tiny thing if its not already idk
im sorrounded by barbarian i have like 500 points whats the template i should use of troops to farm

5 lc ? 10lc ? 30 30 defense 50vik
Well, the bot doesn't know if the village is full or not. So it keeps spamming attacking the villages.
The best template depends on how much troops do you have. So, for example you have 100 lc it would be the best if you use a template with 5 lc but this is also depending on how much barbarian villages are arround you.
However, I would advise you to test some templates and choose the best one.
04/24/2017 22:56 turquaz43#517
Edit group and train files butMy other village does not produce unity help me please
04/25/2017 15:43 hellye123#518
Quote:
Originally Posted by Royal* View Post
Well, the bot doesn't know if the village is full or not. So it keeps spamming attacking the villages.
The best template depends on how much troops do you have. So, for example you have 100 lc it would be the best if you use a template with 5 lc but this is also depending on how much barbarian villages are arround you.
However, I would advise you to test some templates and choose the best one.
i have like 30 barbarian but a lot of players well evolved by now
im having losses 1 cl in 5 attacks
04/25/2017 22:41 Royal*#519
Quote:
Originally Posted by hellye123 View Post
i have like 30 barbarian but a lot of players well evolved by now
im having losses 1 cl in 5 attacks
In that case I would advise you to increase the amount of cl's from 5 to 10 (maybe 20). But I guess you'll still have some losses, in that case you should build some ram's to destroy the wall.
04/27/2017 18:35 D3luxe.#520
Quote:
Originally Posted by h4s3h3ro1n View Post
Hat jemand ein Template zum builden bei dem zu erst die Minen hoch gehen? bzw wie müsste das aussehen?
Der Bot sollte auch so Minen bevorzugt ausbauen...

Du hast keine direkte Kontrolle, was ausgebaut wird, sondern kannst nur sagen, wie das Dorf am Ende aussehen soll.
Der Build-Algo wählt dann selbst das nächste Upgrade aus.
Siehe [Only registered and activated users can see links. Click Here To Register...]
04/27/2017 21:40 Hilariuss#521
training archers doesnt seem to work
04/27/2017 23:42 hellye123#522
found bug in maxTrainHours i put 1 and vikings its 16h already doing
also it should know that CL sometimes doesnt train and train a lot of viks
can you find out why?
04/28/2017 19:32 Reekblade#523
Hey Deluxe, this bot is amazing. Has been working great. Have had some issues in regards to 'Not Logged In' but resetting properties file does the trick.

I had a few questions for you. I just got my second village and want it to be defensive unlike my first village. How do I train defensive units in the new village and farm with those units while training offensive units in the first village?

I believe that it has something to do with groups. I see all the group ids, but how do I make use of them? My apologies if this question has been answered already.

Regards,
Reek

Edit: So I found the codes for group training and farms on wiki. S, I got that, but, how will the bot understand which one is offensive and which ones are defensive? Will it think that my village is defensive if it has only 45 spears?
04/28/2017 19:53 D3luxe.#524
Quote:
Originally Posted by Hilariuss View Post
training archers doesnt seem to work
What are you using as train template / unit name? There should be no reason why a single unit type is failing.
Are you playing on a world with archers enabled? Did you have enough resources? Buffer settings? ...
Any way to reproduce the error?
Really hard to say anything about this for me.

Quote:
Originally Posted by hellye123 View Post
found bug in maxTrainHours i put 1 and vikings its 16h already doing
also it should know that CL sometimes doesnt train and train a lot of viks
can you find out why?
That's no surprise for me, max train hours only work as a guard atm (so the bot will check before training and if the queue is longer just skip training completely for that village).
But the bot definitely should check train time for new units and not just add that many units / several hours to the queue.
I added a bug report on bitbucket so I don't forget.

Quote:
Originally Posted by Reekblade View Post
Hey Deluxe, this bot is amazing. Has been working great. Have had some issues in regards to 'Not Logged In' but resetting properties file does the trick.

I had a few questions for you. I just got my second village and want it to be defensive unlike my first village. How do I train defensive units in the new village and farm with those units while training offensive units in the first village?

I believe that it has something to do with groups. I see all the group ids, but how do I make use of them? My apologies if this question has been answered already.

Regards,
Reek

Edit: So I found the codes for group training and farms on wiki. S, I got that, but, how will the bot understand which one is offensive and which ones are defensive? Will it think that my village is defensive if it has only 45 spears?
I'm glad you took the time to search in the wiki already.
You can use groups (predefined: off, def, def-horse) with farm and train templates. Take a look at the '*.lategame.xml' example templates to see how it works.

How DSX will match groups with by-unit (predefined groups): The bot will match a village to the off group if >85% of units are offensive (axe, light, ram, catapult, ...).
So as long as your new defensive village has defensive units mostly (e.g. not 200 light + 45 spear, but 45 spear only) DSX will correctly recognize it as a defensive village.
04/28/2017 20:00 Reekblade#525
Quote:
Originally Posted by D3luxe. View Post
I'm glad you took the time to search in the wiki already.
You can use groups (predefined: off, def, def-horse) with farm and train templates. Take a look at the '*.lategame.xml' example templates to see how it works.

How DSX will match groups with by-unit (predefined groups): The bot will match a village to the off group if >85% of units are offensive (axe, light, ram, catapult, ...).
So as long as your new defensive village has defensive units mostly (e.g. not 200 light + 45 spear, but 45 spear only) DSX will correctly recognize it as a defensive village.
Ohh that was a great response. Really helped a lot! Thank you so much for the quick response Deluxe. And again, this is one of the best bots!!!!

Much Regards!