Skip to content

WillowsDad/WillowsDad-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WillowsDad Bot Class (BETA)

Overview Features Setup
Setup Break System AFK-Feature
Runelite Properites Profile All Bots To-Do
WillowsDad Woodcutting Ultra-Compost Degriming
WillowsDad Fishing WillowsDad Miner WillowsDad Birdhouse

Overview

This is a Beta bot class that serves as a foundation for me as I build future bots. WillowsDad_bot is the parent class for all future bots, and houses the common variables and methods. The current bots include woodcutting, ultra-compost, degriming, fishing, mining and are not without bugs.

This also allows me to easily implement my work-in-progress break system and afk feature, and other methods.

Setup is easier also, now you just move the whole folder into the OSRS-Bot-COLOR\src\model\osrs directory and change only a couple lines of code for the setup. Each bot inherits the RuneLite profile settings from WillowsDad_bot.

Setup

  • Add the WillowsDad folder to OSRS-Bot-COLOR\src\model\osrs
  • In the OSRS-Bot-COLOR\src\model\osrs\__init__.py file, copy and paste the code block.
from .WillowsDad.WDCombat import OSRSWDCombat
from .WillowsDad.WDWoodcutting import OSRSWDWoodcutting
from .WillowsDad.WDUltraCompost import OSRSWDUltraCompostMaker
from .WillowsDad.WDDegrimer import OSRSWDDegrimer
from .WillowsDad.WDFishing import OSRSWDFishing
from .WillowsDad.WillowsDad_bot import WillowsDadBot
from .WillowsDad.WDMining import OSRSWDMining
  • Make the follow 2 changes to \OSRS-Bot-COLOR\src\OSBC.py
  • Now all the bots should show up next time you load OSBC!
  • All the needed PNGs are included in the folder already.

Runelite Properites Profile

  • Each bot can launch RuneLite; I recommend this the first time to get the settings profile set up correctly (uses idle timer for AFK methods).
  • If you don't want to launch RuneScape from the bot, just import the properties file from the WillowsDad folder "WillowsDad.properties" into RuneLite via RuneLite profiles GUI. This only needs to happen once.

Bots

Current and future bots now inherit my first iteration of a break system and AFK feature where appropriate.
They all also inherit my basic functions. Like open bank, deposit items, withdraw items etc...
Banks should always be tagged yellow unless you change the code

WillowsDad Woodcutting

This is a simple Woodcutting bot that can either power chop, or bank if bank requires no pathing (both trees and bank are in view).

Features and Setup

  • Banks should be tagged yellow
  • Trees should be tagge pink
  • Bank deposit settings should be set to "All"
  • You can add a Cyan tagged tile as a "safety" tile if it can't find bank or trees (including WC Guild Redwood ladder)
  • Can use dragon axe special
  • Only tested banking areas are
    • Draynor Oak and Willow
    • Seers Village Maple
    • Woodcutting Guild Yews and Magic

Ultra-Compost

This is a basic Ultra-Compost script. I have made 70m from it so far.

Features and Setup

  • Banks should be tagged yellow.
  • Bank deposit settings should be set to "All"
  • Expects all the ashes to be in inventory already.
  • Quits on timer or when no more materials.
  • Afk feature doesn't always switch screens do to animation issues. Do not recommend using afk with this script, feel free to test it and change.
  • Recommend moving ingredients to a new tab.

Degriming

This is a simple degriming script for training beginner herblore levels.

Features and Setup

  • Supports all the herbs
  • Bank deposit settings should be set to "All"
  • Non-afk/click-intensive mode does a snake motion from top to bottom.
  • Afk mode just clicks degrime once and waits for it to be done.
  • Quits on time or lack of materials.
  • Recommend having herbs in their own tab.

Fisher

This is a Catherby Banking or Power-fisher

Features and Setup

  • Banking requires you to set cyan tile path, or import a working path through the launcher for this script (recommended).
  • Tag Bank Yellow
  • Tag Fishing spot individually pink, and change lef-click option to desired fishing style (shift-right click).
  • Supports: small-net, cage, harpoon.
  • Bank deposit settings should be set to "All"
  • Quits on time

Miner

This is a East Varrock Banking or Power-miner

Features and Setup

  • Banking requires you to set cyan tile path, or import a working path through the launcher for this script (recommended).
  • Tag Bank Yellow
  • Tag Mining spots individually pink.
  • Bank deposit settings should be set to "All"
  • Afk mode isn't relevant for mining, does not do anything.
  • Quits on time

Birdhouse

Will log in and out to perform birdhouse runs.

Features and Setup

  • Automatically navigates to and interacts with all four birdhouse locations on Fossil Island.
  • Collects bird nests and banks them for later use.
  • Quits after certain number of runs, or an error happens.
  • Tags:
    • Import the runelite profile settings WDBirdhouse.properties for all the tags. There are a lot, I recommend looking at them before changing the script
    • Banks should always be tagged yellow for my scripts.

Setup

  • Add the WD_Birdhouse.py file to the WillowsDad folder.
  • Import the runelite profile settings WDBirdhouse.properties for all the tags.
  • Add from.WillowsDad.WDBirdhouseRun import OSRSWDBirdhouseRun to __init__.py
  • Code only supports Hammerstone seeds, update that if you want different seeds
  • Make sure camera angle is pitched straight above the player or close to it. image

Features

Break System

This is the beginning of a break system I am implementing. Chance of taking a break goes up each minute, and the longer the bot runtime, the longer the breaks have a chance of being.

There are 2 kinds of breaks

  • Built in OSBC break
    • Here the bot just sits for a random amount of time
  • "Menu" break
    • The bot will either inspect equipment tab, or skills tab for a couple seconds.

Will include more and far down the line have more "pro" break systems, maybe if I sell scripts?

AFK-Feature

Some scripts do things that are "afk-able". This feature simulates that by starting the task, and then sending the keys "alt +tab" to switch screens until focus is pulled back to runelite via runelite idle settings.

  • If you are on mac change the keys sent.
  • Known issues with the Ultra-Compost pulling focus randomly.

About

Simple Woodcutting Account Building

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages