[Beta] DSX1337 - Tribal Wars Bot

03/10/2017 20:18 shaftxtreme#436
Quote:
Originally Posted by D3luxe. View Post
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.
I didn't cut anything, except file location.
As I said, bot farmed perfectly, almost all villages have around 150 points (compared to max 500 I've set) and my village wasn't conquered. Premium account expired and was after a while renewed when bot was running, so maybe that? But then again, bug happened today after restart.

edit:
So bot on another account where the same situation with premium account happened probably crashed or something and I restarted it without any problem. Both accounts are few tiles away from each other on the same world with the same settings except login and password, yet only on one bug happens.
03/10/2017 21:23 D3luxe.#437
Quote:
Originally Posted by shaftxtreme View Post
I didn't cut anything, except file location.
As I said, bot farmed perfectly, almost all villages have around 150 points (compared to max 500 I've set) and my village wasn't conquered. Premium account expired and was after a while renewed when bot was running, so maybe that? But then again, bug happened today after restart.

edit:
So bot on another account where the same situation with premium account happened probably crashed or something and I restarted it without any problem. Both accounts are few tiles away from each other on the same world with the same settings except login and password, yet only on one bug happens.
It should never happen after a restart.
Please make sure that all settings related to farming (max points, radius, etc.) are correct. Sounds like a config issue to me.
03/10/2017 21:29 shaftxtreme#438
Quote:
Originally Posted by D3luxe. View Post
It should never happen after a restart.
Please make sure that all settings related to farming (max points, radius, etc.) are correct. Sounds like a config issue to me.
deleted username and passwords in the pastebin
villages have way less points than 500
[Only registered and activated users can see links. Click Here To Register...]

edit:
same thing happens with other routines
03/10/2017 21:50 D3luxe.#439
Quote:
Originally Posted by shaftxtreme View Post
deleted username and passwords in the pastebin
villages have way less points than 500
[Only registered and activated users can see links. Click Here To Register...]

edit:
same thing happens with other routines
Your config seems OK, even though farm radius is a bit high.
DSX can't find your village(s).

There is no reason why it would be inconsistent between two accounts on the same world.

Is premium active? Are you using the latest version (3.9.1)?
Can you log in manually + switch villages with the tribal wars app / on your computer?

Edit: Is the world code correct?
03/10/2017 21:56 shaftxtreme#440
Quote:
Originally Posted by D3luxe. View Post
Your config seems OK, even though farm radius is a bit high.
DSX can't find your village(s).

There is no reason why it would be inconsistent between two accounts on the same world.

Is premium active? Are you using the latest version (3.9.1)?
Can you log in manually + switch villages with the tribal wars app / on your computer?

Edit: Is the world code correct?
Yes to everything. World code is also correct (pl114)
03/10/2017 22:11 D3luxe.#441
Quote:
Originally Posted by shaftxtreme View Post
Yes to everything. World code is also correct (pl114)
There is no way parsing villages fails without error message.

Maybe group switching does not work for some reason. The API only shows villages in the current group, so DSX tries to switch to the 'all' group before parsing.

Did you delete 'dsx.properties' and try to set everything up again?

Can you message me in Skype or join the [Only registered and activated users can see links. Click Here To Register...]? I want to avoid too many messages in this thread.
03/13/2017 21:51 D3luxe.#442
Quote:
Originally Posted by sergio6677 View Post
it could be possible to add an option to attack "withelist" village with a diferent troops that you attack with dsx templates (or assist).
I mean i have a "farm" with 1000 points, i want to attack everything with 5 lc, but this village (1000points) i want to attack it with 40lc. Do you understand? XD
Im not english, srry haha
It's all right, your English is good :)
This can be added, but is not a priority right now.

Quote:
Originally Posted by invisionthis View Post
I've got a problem where it says. Farm Routine - Starting to farm... Then immediatly afterwards Farm Routine finished. Restarting in some minutes... Other functions such as the building and training work just fine. Deleted the config and retried plenty of times. Just doesnt seem to work. [Only registered and activated users can see links. Click Here To Register...]


Fixed by uninstalling (Deleting) and re downloading. :)

Sounds similar to shaftxtreme's issue, where DSX somehow can't find your villages.
I don't really know what is causing this tbh. Good thing it somehow fixes itself^^ Redownload or password change seems to help.
03/15/2017 12:18 hyper_speed#443
How do I set the bot to farm with all the villages I own? Not just the main village.
03/15/2017 16:48 D3luxe.#444
Quote:
Originally Posted by hyper_speed View Post
How do I set the bot to farm with all the villages I own? Not just the main village.
It should do that already...
If your templates are correct (== don't contain templates for one group only) DSX should farm in all villages.
Are you using the latest version (3.9.1)?
There was a bug in earlier versions where the bot would exit farm routine too early because some Exceptions were not caught correctly.
03/16/2017 12:24 hyper_speed#445
I did not change groups.xml at all. It's default. Maybe I need to change something here?

Edit: nvm, I got it to work
03/18/2017 13:29 D3luxe.#446
For your information: Various people reported that their bot folders grew to massive size (10GB+).
This is probably caused by old log files. You can get thousands of new log lines within a single day.
If you have the same problem, you can delete old files in the 'logs' folder.
I was not able to reproduce this, so it would be great to find out which files exactly make the bot folder as large.

I will fix this asap in the next update. It will be enough to save the last 5 days or something.

Edit: It is possible that this is a combination of a big account (with many own villages) and a huge farm radius, thus filling up the database with countless farm targets.
It would be great to hear from you about this problem.
03/18/2017 16:07 Royal*#447
I'm currently testing your bot and I'm very impressed. Its working very good, without any problems and you can play at the same time on the PC and do some other stuff like reading the forum of the tribe and something like that.

Keep up the good work and thank you very much! ;)
03/20/2017 18:38 Royal*#448
It looks like the bot needs a update. :)

03/20/2017 19:00 D3luxe.#449
Tribal wars app was updated.

I will take a look at it asap. Thanks for your patience.

Edit: It looks like another small update. They added a 'horde' event and updated some libraries.


How to force the bot to keep running: Open 'dsx.properties' with any text editor and set 'appVersion=2.10.0', then restart the bot.
03/20/2017 20:05 Royal*#450
Quote:
Originally Posted by D3luxe. View Post
Tribal wars app was updated.

I will take a look at it asap. Thanks for your patience.

Edit: It looks like another small update. They added a 'horde' event and updated some libraries.


How to force the bot to keep running: Open 'dsx.properties' with any text editor and set 'appVersion=2.10.0', then restart the bot.
Thank you very much for the quick fix. ;)