First, thank you all for your patience. I was on vacation for a few days and couldn't answer your questions.
Quote:
Originally Posted by hugogbjudo
Well hello if someone can help me would be good, i never use groups in template, i manage to do one time in 4.6 but seems like i dont remember how i do it. I send you here pastebins off all my templates for check what is bad cause really every time i fix one thing CMD says me another error appeards, i know deluxe isnt available for a time cause i speak with him yesterday but if someone can help me would be good. Thanks.
Pastebin:
[Only registered and activated users can see links. Click Here To Register...]
6:17:27 ERROR App - Error:
java.lang.IllegalArgumentException: Invalid XML: "<farm>
<units "group"=$off>
<light>3</light>
</units>
</farm>
"
at com.jcabi.xml.DomParser.document(DomParser.java:11 5)
at com.jcabi.xml.XMLDocument.<init>(XMLDocument.java: 155)
at com.jcabi.xml.XMLDocument.<init>(XMLDocument.java: 206)
at me.d3luxe.farmbot.farming.DsxFarmer.parseTemplates (DsxFarmer.java:91)
at me.d3luxe.farmbot.farming.FarmRoutine.setUp(FarmRo utine.java:49)
at me.d3luxe.farmbot.routines.RoutineHandler.setUp(Ro utineHandler.java:61)
at me.d3luxe.farmbot.App.main(App.java:89)
Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 9; El tipo de elemento "units" debe ir seguido de una de estas especificaciones de atributo: ">" o "/>".
at com.sun.org.apache.xerces.internal.parsers.DOMPars er.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBu ilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.jcabi.xml.DomParser.document(DomParser.java:10 5)
... 6 more
16:17:27 INFO App - Press {Enter} to exit...
16:20:02 INFO Update - DSX1337 version 4.81
16:20:04 INFO Update - Running latest version.
16:20:04 INFO Settings - Loaded settings.
16:20:07 INFO Session - Logging in...
16:20:16 INFO Session - Login successful.
16:20:16 INFO Database - Last world data update: 30/09/2017 14:27:09
16:20:16 INFO GroupHandler - Loaded 3 groups.
16:20:16 INFO RoutineHandler - Setting up Routines...
16:20:16 ERROR App - Error:
java.lang.IllegalArgumentException: Invalid XML: "<farm>
<units ["group"=$off]>
<light>3</light>
</units>
</farm>
"
at com.jcabi.xml.DomParser.document(DomParser.java:11 5)
at com.jcabi.xml.XMLDocument.<init>(XMLDocument.java: 155)
at com.jcabi.xml.XMLDocument.<init>(XMLDocument.java: 206)
at me.d3luxe.farmbot.farming.DsxFarmer.parseTemplates (DsxFarmer.java:91)
at me.d3luxe.farmbot.farming.FarmRoutine.setUp(FarmRo utine.java:49)
at me.d3luxe.farmbot.routines.RoutineHandler.setUp(Ro utineHandler.java:61)
at me.d3luxe.farmbot.App.main(App.java:89)
Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 9; El tipo de elemento "units" debe ir seguido de una de estas especificaciones de atributo: ">" o "/>".
at com.sun.org.apache.xerces.internal.parsers.DOMPars er.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBu ilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.jcabi.xml.DomParser.document(DomParser.java:10 5)
... 6 more
16:20:16 INFO App - Press {Enter} to exit...
|
Talking about the pastebin templates:
You shouldn't include square braces in the template, they indicate an optional setting/property.
Also, there are various syntax errors in your templates.
I recommend to use the '*.lategame.xml' templates and only change a few numbers.
Quote:
Originally Posted by Dogger
Hallo D3luxe ,
Wenn ich die whitelist nutze und ich die Dörfer eingefügt habe , greift er leider Spieler an die Ich nicht in der whitelist habe. Format von den Dörfern die er farmen soll habe ich so:
xxx|xxx
xxx|xxx
xxx|xxx
ect.
Vielen Dank.
|
Du hast schon eine gute Antwort von SeaTheStars bekommen. Im Prinzip werden Dörfer auf der Whitelist nur zusätzlich zu den regulären Farmzielen angegriffen. Wenn du z.B. die Max points sehr niedrig setzt, wird mit den normalen Kriterien nichts gefunden und damit dann nur die Whitelist angegriffen.
Quote:
Originally Posted by is23jon
hi there
just checking if i'll set up my bot to :
<force-upgrade>
<snob>1</snob>
</force-upgrade>
will it force build the required buildings too or randomly building till the required ones are complete?
also
is the bot instantly completes building when they are 3 min or less left?
thanks for your time
|
The bot does not check for requirements and will only build snob as soon as it is available. You could add force-upgrades for main and smith.
Generally, the bot will try to build snob around 24/24/23 production levels.
Quote:
Originally Posted by SeaTheStars
Wenn du nur die Dörfer aus der Whitelist angreifen willst, dann setzt du einfach bei max points=25. Dann kann er keine zusätzlichen Dörfer finden. Ansonten sucht er eben auch Dörfer, die im Farmsucher drin sind.
Farmt der Bot auch Dörfer, die meinen Stammeskollegen gehören, oder BND und NAP Dörfer. Habe einige grössere Dörfer in meiner Whitelist und die können bald von solchen Leuten geadelt werden wenn der Bot läuft und ich nicht online bin.
Dann möchte ich natürlich nicht, dass dort über Nacht 30-40 Farmangriffe draufgehen.
|
Für den Bot gibt es keine einfache Möglichkeit zu prüfen, ob ein Spielerdorf zu deinem Stamm/BND/NAP gehört. Du solltest also mit 'attack players' vorsichtig sein bzw. die Ziele mit max points so regeln, dass keine Verbündeten angegriffen werden.
Geadelte Babarendörfer sind kein Problem, der Bot wird dann die Angriffe abbrechen.
Solange deine Verbündeten ihre Ziele im Adelsplaner reservieren (und ignore attack warnings im Bot deaktiviert ist) sollte es auch da keine Probleme geben. Der Bot bricht auch bei reservierten Dörfern die Angriffe ab.
--------------------------
I believe there was someone asking if DSX will upgrade farm if no space is left, but I can't find the message atm. The answer is yes - the bot will try to upgrade farm if there is less than 10% space left. Keep in mind that it can take a while to gather enough resources (especially with farm lvl 26+).
Quote:
Originally Posted by Scissor120
Hi guys, I got a couple of general questions if you don't mind, would be cool if somebody would answer them:
1. Is this the definite version of the bot or are there other planned features that are not implemented yet? In short, are there things to be added yet or is is only being refined and made better at this point?
2. How does this bot compare to other bots? The only other bot I really know is the "UltimateTribalWarsBot". Can anybody offer any insights? Are there any other people who used this bot but saw that another bot was working better? Or is this one the best working one?
3. I got a couple of suggestions, is this the official forum to post any problems I encountered or anything else like ideas etc.?
4. Is there a dump of examples for custom routines? I am afraid to admit that the "custom routines" section in the Wiki is not good enough and I feel overwhelmed. I'd like to see some examples first instead of editing it all by myself and possibly risking errors.
|
1. Well, I hope the things I am adding somehow improve the bot^^ But to answer your question: DSX is far from a final version and I will continue to release updates / new features.
2. I made this bot because I could not find another good bot.
There are some other bots around, but DSX is different in a lot of things. DSX operates on a different/lower level (sending requests/packets) vs most other bots(automating a browser). That is why DSX is the only bot that does not trigger bot guard (even though others advertise it). Also, you can let DSX run in the background and play on your computer at the same time (bot and user do not kick each other out of the session).
German users might have noticed a new bot in this forum. The creator labels it as 'as safe as possible' and implies that sending packets is unsafe. I'm not as naive to believe that any method is completely safe. But saying the bot is 'as safe as possible' while using Selenium/Webdriver is factually wrong. Webdriver has built-in features for site owners to detect that a webdriver is used (to prevent abuse). If tribal wars would care, it would be very easy to detect this kind of bot.
The core strength of this bot is that DSX can run on any operating system and even on a linux server.
DSX is actually free to use (*cough* UTWB). You only need to pay for 'commercial' botting features like proxies or premium trading.
3. This is the official forum thread, I did not set up a seperate forum for this project (yet). You can propose new features here or on bitbucket (issue tracker). If you have any problems, this thread is usually better than bitbucket (more people can answer, and you get notified about replies).
4. There are a few example templates for the different routines. You usually only need to change a few numbers there to make them usable.
Wiki texts are kept short on purpose, even though a few examples wouldn't hurt.
DSX is supposed to get a proper GUI (window) at some point and shift away from the XML config to reduce complexity, because - as you noticed - the templates can be complicated for new users.
Generally you can't really break anything and I encourage users to try and make their own templates to get the best results with the bot. The included 'first start'/'lategame' examples usually make a good base template.