Anti Bot Mechanics

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Re: Anti Bot Mechanics

Postby Ardennesss » Wed Jun 13, 2018 12:54 am

Onep wrote:Ideally, the game will be so complex and tedious that it will completely negate the need for bots as there will be no players.



Found Jorb's forum alt.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Anti Bot Mechanics

Postby ctopolon4 » Wed Jun 13, 2018 2:13 am

why not implement it into feast button? someone likes to click alot?
Image
Last edited by ctopolon4 on Wed Jun 13, 2018 2:24 am, edited 2 times in total.
User avatar
ctopolon4
 
Posts: 746
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: Anti Bot Mechanics

Postby Ardennesss » Wed Jun 13, 2018 2:23 am

ctopolon4 wrote:gif



Rookie.

Image
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Anti Bot Mechanics

Postby ctopolon4 » Wed Jun 13, 2018 2:29 am

this game created for suffer, and vanila client created for suffer...
we all have to suffer the same, pls stop botting!
Ardennesss wrote:Rookie.

my script eat from any focused window (not 6x6), so who is rookie?
Last edited by ctopolon4 on Wed Jun 13, 2018 2:57 am, edited 2 times in total.
User avatar
ctopolon4
 
Posts: 746
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: Anti Bot Mechanics

Postby LadyGoo » Wed Jun 13, 2018 2:34 am

It would rather be helpful if people would post there their list of bots and why they use them.
Hafen Helpdesk Skype Conference [Eng]: https://join.skype.com/mxo3yVNbrCK9
Справочная Конференция [Ru]: https://join.skype.com/fnAcsc0srDBN

Trade Conference [Eng-Ru]: https://join.skype.com/gNT6Rs92PTtM

W10 Queen of Dis fiancée of Leanne69 (Lolo)
W9 Hive [Ruler]
W8 Dis [Chieftain]
W7 Ofir [Lawspeaker]
W6 Dis [Chieftain] & Disneyland
W5 Vitterstad [Lawspeaker]
W4 A.D. [Fighter]
W3 Garden of Metallurgists [LS]
User avatar
LadyGoo
 
Posts: 2767
Joined: Sat Jul 09, 2011 9:06 am

Re: Anti Bot Mechanics

Postby ctopolon4 » Wed Jun 13, 2018 2:41 am

just compile purus PBot API into Amber and u could share your scripts via txt files (purus just crushes himself)
API insructions https://puruscor.github.io/HnH/javadoc/
example https://drive.google.com/open?id=1Mu9tU ... VI1NFYCP5V (no updates)

Code: Select all
var PBot = Java.type("haven.purus.pbot.PBotAPI");
var PBotWindow = PBot.PBotWindow("TEST", 50, 150, scriptID);
PBotWindow.addButton("startBtn", "Start EAT", 25, 49, 25);

function startJob() {
      var eat = PBot.getInventoryContents(PBot.playerInventory());
      for(var i=0; i<eat.length; i++) {
         PBot.activateItemLeft(eat[i]);         
      }
}

function startBtn() {
   startJob();
}


LadyGoo wrote:It would rather be helpful if people would post there their list of bots and why they use them.

all bots are created to make less stupid repeated clicks
User avatar
ctopolon4
 
Posts: 746
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: Anti Bot Mechanics

Postby Ardennesss » Wed Jun 13, 2018 3:01 am

ctopolon4 wrote:this game created for suffer, and vanila client created for suffer...
we all have to suffer the same, pls stop botting!
Ardennesss wrote:Rookie.

my script eat from any focused window (not 6x6), so who is rookie?


You have to open the script click feast, click over to the inventory window, and then click eat. Who said it doesn't eat from inventory too? It's simple to loop through both inventories without needing it to be focused to eat everything.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Anti Bot Mechanics

Postby Ardennesss » Wed Jun 13, 2018 3:12 am

LadyGoo wrote:It would rather be helpful if people would post there their list of bots and why they use them.



Sure, in the order they appear in the menu -

Pepper application bot, applies pepper to any food in player inventory or open window. Saves thousands of mouse clicks applying pepper to each individual piece of food.

Count object script, counts the selected object visible on the screen. Useful for counting alive animals, dead animals, etc.

Destroy bot, mostly using it to mass destroy vines on paved roads. Can be used to destroy any object en masse.

Crafting bot. Wrote it before they reintroduced auto-drinking while crafting. Now it's basically the cauldron crafting script. Will automatically refill a cauldron from nearby well/cistern/barrel and continue crafting. Used for mass cauldron crafting.

Coracle Script, drops coracle into the water and mounts it in under 1 second. Picks it back up and places it back in inventory when done on next click.

Farmer bot obviously, because harvesting and replanting 1000s of tiles is not something I'm doing by hand. Even with the built in harvest/replant features, this is still easier for large quantities.

Oven/Smelter macros. Variable fuel amount, ability to select up to two "banks" of ovens/smelters that can be filled per run. Also walks around and lights everything afterward.

Full pepper harvester/boiler bot. Harvests pepper from trellis, boils when inventory is full and places the boiled pepper on herb tables. Obvious reasons why this exists. Pepper is basically mandatory at late-game stats and harvesting a significant amount is a full time job.

Scripts to place all cheese trays on surrounding cheese racks/take all trays off surrounding racks. Makes it significantly faster to fill/empty 7 cheese racks at a time.

Small script to slice all cheese trays in cupboard to get the cheese out. Just automating pointless repeated clicks.

Cute little miner alert window that alerts of visible gold/silver/cinnabar on the screen. Also tracks number of slimes spawned for village competition reasons.


Those are just the scripts, various other aspects of the game were improved on the UI and options. Combat overlays for all enemy targets showing current opening status and what maneuver they're in, how much IP they have on you/you on them. Proximity aggro for all animals and players to remove the need to accurately click on a tiny ass little bat to engage it. Stuff like that, I'm sure there's more.

Edit: Forgot the most recent one, automatically drops gneiss out of smelters when opened and takes bars out of inventory. If Cinnabar was smelted, automatically picks up bucket and collects all the quicksilver. Mass smelting Cinnabar was so annoying it took less than an hour to encourage me to script it.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Anti Bot Mechanics

Postby ctopolon4 » Wed Jun 13, 2018 3:30 am

looks like u not replanting trees, produce silk, select/butcher animals
here is alot stupid clicks (like harvest 250 mulberry leaves via 5x5 inventory)
User avatar
ctopolon4
 
Posts: 746
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: Anti Bot Mechanics

Postby Ardennesss » Wed Jun 13, 2018 4:00 am

ctopolon4 wrote:looks like u not replanting trees, produce silk, select/butcher animals
here is alot stupid clicks (like harvest 250 mulberry leaves via 5x5 inventory)



I don't bother with silk and trees aren't my problem. I prefer to make manual decisions butchering animals, I've modified the livestock manager to make it a lot easier to do without automating it.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

PreviousNext

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 0 guests