Quote:
Originally Posted by Zambelli19
And about Dalay Settings?
|
Will be added in the next update... I'm already working on it.
* * * * *
Quote:
Originally Posted by Laventissi.
Code:
<!-- start of comment
These are village group definitions for use in other templates.
You probably do not need to change them.
You can reference groups in other templates with their id attribute.
The 'default' group will match every village.
Priority range: [more important] 0 - 1337 [less important].
end of comment -->
<groups>
<group id="off"
priority="0">
<by-coords>562|522,560|545</by-coords>
</group>
<group id="def"
priority="1">
<by-coords>563|526,557|528,565|524,561|522</by-coords>
</group>
</groups>
groups.xml
Code:
<!-- start of comment
Here you can tell DSX which units to train. Like build templates, you define
max numbers / how your village should look like. DSX will train units until
these values are met.
Buffer leaves a number of resources for other tasks like building.
See 'documentation/training.txt'.
end of comment -->
<train>
<template group="off">
<units>
<spear>10000</spear>
<sword>10000</sword>
<axe>8000</axe>
<light>4000</light>
<spy>1000</spy>
<heavy>500</heavy>
</units>
<buffer>
<wood>4000</wood>
<stone>5000</stone>
<iron>5000</iron>
<pop>0</pop>
</buffer>
</template>
<template group="def">
<units>
<spear>10000</spear>
<sword>10000</sword>
<axe>1000</axe>
<light>200</light>
<spy>1000</spy>
<heavy>50</heavy>
</units>
<buffer>
<wood>1000</wood>
<stone>1000</stone>
<iron>1000</iron>
<pop>0</pop>
</buffer>
</template>
</train>
train.xml
Code:
<!-- start of comment
In these build templates you can tell DSX how your village should look like.
You have NO direct control of which building will be upgraded next. Instead,
DSX will choose the next upgrade based on an algorithm, preferring production.
These are max levels, which means DSX will build until these levels are reached.
If you don't set a max level for a building here, the tribal wars limit will be used.
end of comment -->
<build>
<template>
<max-levels group="off">
<main>20</main>
<market>15</market>
<barracks>20</barracks>
<iron>30</iron>
<stone>30</stone>
<wood>30</wood>
<storage>30</storage>
<wall>20</wall>
<stable>20</stable>
<garage>10</garage>
<smith>20</smith>
<farm>30</farm>
</max-levels>
<max-levels group="def">
<main>20</main>
<market>15</market>
<barracks>15</barracks>
<iron>30</iron>
<stone>30</stone>
<wood>30</wood>
<storage>30</storage>
<wall>20</wall>
<stable>15</stable>
<garage>5</garage>
<smith>15</smith>
<farm>30</farm>
</max-levels>
</template>
</build>
build.xml
Code:
<!-- start of comment
You can tell DSX which units to use per farm attack here.
See 'documentation/farming.txt'.
end of comment -->
<farm>
<units group="off">
<light>50</light>
</units>
<units group="def">
<axe>100</axe>
</units>
</farm>
farm.xml
----------
Are these correct? I think the templates are not working properly and sometimes it gives an error when I try to start it.. Also the code in wiki is slightly different than the one I found in some files such as build routine one, it has a <template> line which the wiki does not have/show.. I might be doing some mistakes and I'm not good at setting up things like this with code so I'm not sure.. thanks in advance for any help.. the bot is great though, it runs perfectly with its default settings but only thing is I kinda messed up when setting it up with the codes I guess..
EDIT: If these are correct then others can use it as example/help :P
|
While 'groups.xml' and 'train.xml' are correct in terms of XML syntax (== will not make the bot crash on startup) I'm a bit confused about what you are trying to archieve with these templates :D
I believe every tribal wars player divides his villages into offensive (lots of axe, light cavalry, rams) and defensive (spear, sword, archer,...). But your train templates show that you try to let the bot recruit offensive and defensive units in the same village and even exceed the 20000 population limit you can usually fill with units in a village with ~10000 points.
So unless you have thousands of villages (and thus can not let the bot cycle through each of them within 24 hours) I recommend using the default group template and something similar to 'train.lategame.xml' for training.
In 'build.xml' the group attribute needs to be at the 'template' tag, similar to train templates. E.g.:
Code:
<build>
<template group="example">
<max-levels>
...
</max-levels>
</template>
<template group="another">
<max-levels>
...
</max-levels>
</template>
</build>
Also, while it is not wrong to set all buildings, you only need to set limits for buildings which you don't want to upgrade to maximum. So you probably want to set main and market, but can leave production buildings like barracks, wood, stone, etc. out of the template.
It seems like I didn't update the build file layout in the wiki, so it's not your fault.
* * * * *
Quote:
Originally Posted by johnsilvabr
is it possible to bot 2+ accounts at the same time in the same world?
I'm trying to bot 3 accounts on my windows 7 at same time but it keeps getting some sort of error after a handful of minutes...
|
Quote:
Originally Posted by johnsilvabr
I actually did that =1 but asked just to be sure, thanks mate
Yeah I think I know why it wasn't running as I wanted..
I got banned in the 3 accounts that I was running the bot simultaneously lol, they were like 90 pts. I wonder why though, as I was only upgrading buildings, and its a 2.0 speed world so theres not much to do early on.
Any tips on how to not get banned in early accounts like these? I was testing it out so I could get the hang of it when a new world launches to farm PP.
At first I did all the missions until the one where you have to recruit up to 40 spearmen, only then I set up the bot, and shortly after ( like 15 min ) all my botting accounts got banned.. so confused rn
Edit:
Somehow I cannot access the tribal wars server for my country in my wifi connection since I got banned, its been 3+ hours now and nothing, I switch to mobile data and it runs fine, but whenever any device is connected to the wifi it doesn't load anything related to my tribal wars server (other sites work fine tho). Any knowledge on that? =/
When it all sorts out with the wifi ( god knows when) ill try again and if I run into problems ill be sure to copy the log.
Edit 2: (hour later)
Decided to try routing my cellular data ( I couldn't wait for my wifi to connect to .br server)
I had another account, this one around 140 pts that I´ve been playing for the past few hours without the bot.
The moment I set the account, this error shows up:
02:32:02 INFO Update - DSX1337 version 3.8
02:32:04 INFO Update - Running latest version.
02:32:04 INFO Settings - Could not load 'dsx.properties'.
02:32:04 INFO Settings - Loaded settings.
02:32:04 INFO App - Starting config dialog...
02:32:04 INFO App - If you are running this on a machine without graphical user interface, generate the 'dsx.properties' file on another PC and copy it over.
02:38:58 INFO Update - DSX1337 version 3.8
02:39:00 INFO Update - Running latest version.
02:39:00 INFO Settings - Loaded settings.
02:39:01 INFO Database - Setting up database...
02:40:05 ERROR App - Error:
org.jdom2.input.JDOMParseException: Error on line 42: The reference to entity "l" must end with the ';' delimiter.
at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuil derEngine.java:232)
at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuil derEngine.java:253)
at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1 091)
at me.d3luxe.farmbot.network.Connection.getXML(Connec tion.java:177)
at me.d3luxe.farmbot.game.UnitInfo.parse(UnitInfo.jav a:47)
at me.d3luxe.farmbot.game.Database.setUp(Database.jav a:101)
at me.d3luxe.farmbot.App.main(App.java:83)
Caused by: org.xml.sax.SAXParseException; lineNumber: 42; columnNumber: 51; The reference to entity "l" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.util.ErrorHandl erWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandl erWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorRe porter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorRe porter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner .reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanEntityReference(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl$FragmentContentDriver.next(Un known Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocum entScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(Unknown Source)
at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuil derEngine.java:217)
... 6 more
02:40:05 INFO App - Press {Enter} to exit...
02:41:24 INFO Update - DSX1337 version 3.8
02:41:26 INFO Update - Running latest version.
02:41:26 INFO Settings - Loaded settings.
02:41:27 INFO Database - Last world data update: 01/01/2000 00:00:00
02:41:27 INFO Database - Parsing world data...
02:41:27 INFO VillageData - Parsing villages...
02:41:31 INFO PlayerData - Parsing player data...
02:41:33 INFO FarmData - Parsing farm data...
02:41:33 INFO FarmData - Depending on farm radius, this can take some minutes.
02:41:33 INFO MyLists - Parsing whitelist...
02:41:46 ERROR App - Error:
me.d3luxe.farmbot.exceptions.InvalidResponseExcept ion: Error: Um erro interno ocorreu. Por favor, tente novamente mais tarde ou contate o suporte caso o erro persista.
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:56)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.network.ApiConnection.post(ApiCo nnection.java:67)
at me.d3luxe.farmbot.Session.login(Session.java:78)
at me.d3luxe.farmbot.App.main(App.java:84)
02:41:46 INFO App - Press {Enter} to exit...
And then, I try to log in my web browser, and the account is banned.
Thats got to be something very peculiar that triggers the bot detection.
Edit 3 ( another hour later) :
Ok I just had to do it again to make sure,
another account, configured bot settings from 0, and tried:
the results are different, but im pretty sure is some sort of error in the server because from my desktop browser ( yeah still using cell connection, no being able to connect through wifi yet..) , when I log in, it shows that my account has been banned. But in the bot log showed that it indeed had upgraded some buildings. So yeah..
I don't know if it is worth mentioning but tribal wars was updating its servers this time earlier today.
I really need some sleep now, all of this got me a nice headache, Ill come back in 6 hours or so. Good night guys
|
I believe you are IP-banned (for making too many accounts). Tribal wars saves your IP for every log in (and possibly even when you register). So they can detect if one person is making a lot of accounts.
That's why you can (and should) set proxies when botting or creating a big number of accounts from one machine.
The last error happened even before the bot logged in to the account.
I don't know how many accounts you made in total, or if intervals were set too low, or if the bot made a lot of requests during server downtime.
All I can say at the moment is that DSX still seems to be undetected in normal use.
I recommend using private / shared(max. 10 users) HTTP(S) proxies.
[Only registered and activated users can see links. Click Here To Register...] seems like a decent company, but DSX should work with any provider.
When creating or playing in different accounts on one machine, at least use a new private/'incognito' browser window for each account to make sure there are no suspicious cookies. It would be optimal if you use a different proxy/IP for each account. Also, do not create too many accounts in a row in a short timeframe.
Even if it is a speed server, do not set the intervals too low(minimum 10 minutes), and enable sleep for 1 or 2 hours in delay settings when botting 24/7.
Try to keep farm templates as small as possible (e.g. when only training axe and light, remove templates with sword or spear).
For premium trading, you need to verify the email the account registered with or it will not work.