Git Product home page Git Product logo

takelley1 / osrs-ahkscripts Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 7.0 5.3 MB

Color bot scripts for OldSchool Runescape, written entirely in AutoHotkey. No client injection or reflection used.

Home Page: https://www.oldschool.runescape.com

License: GNU Lesser General Public License v3.0

AutoHotkey 95.30% AutoIt 4.70%
runescape osrs oldschool-runescape oldschoolrunescape bot botting colorbot autohotkey-script autohotkey autohotkeybot

osrs-ahkscripts's Introduction

OldSchoolRunescape AutoHotkey Scripts

This bot is deprecated and is being replaced by OCVBot (https://github.com/takelley1/OCVBot).


This repo contains scripts for cannonball smelting, magic splashing, mining, spinning flax, running the Blast Furnace, and runecrafting. Not all scripts are fully functional.

The script with the most work and testing done is the CannonballSmelting.ahk script at the root of the directory tree. The script will run indefinitely without issues (I've tested it for 8+ hours at a time). Almost all interaction with the OSRS client is randomized to the greatest degree possible. Please read the comments at the top of each script file for information on how to properly configure your client. More detailed information and referenced files for each script are in their corresponding directories.

AutoHotkey by itself is poor at image recognition, which is the primary reason I switched to Python for my next bot. As a result of this limitation, I was forced to use single-pixel color-matching rather than more tolerant image-matching methods. For the cannonball smelting script, a single image (the four-pointed star prayer icon) is used to locate the OSRS client and create a coordinate plane based on its location on your desktop (see https://github.com/takelley1/OSRS-AHKScripts/issues for troubleshooting). Beyond that, everything else is based on single-pixel color-matching, usually on certain icons within the minimap for navigation or certain pieces of text in menus for interacting with items and buttons.

Because of these limitations, the bot may have difficulty locating and/or orienting itself on your particular setup. Unfortunately I cannot say with confidence that these scripts are friendly towards casual players with no scripting experience. A basic knowledge of AutoHotkey will be necessary to modify the pixel locations and/or color tolerances to adapt the script to your particular monitor and/or desktop's color properties.

This bot was written for educational purposes only. I am not responsible for how you use this software.

osrs-ahkscripts's People

Contributors

takelley1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

osrs-ahkscripts's Issues

OrientClient never finds a match

On my testing machine, the OrientClient never seems to match the .png file. I've tried both the native client and RuneLite, non fullscreen mode with brightness at the third tick. Is there another setup step that needs to be done, or is this a known issue?

EXE included doesnt work

Must say man, your git is the place I visit the most. Ive just started learning AHK and the official forums nor YT has anything good on how to bot with AHK. So I look at your files like a bible.. However due to our computer configs being different I havent been able to get one to run yet which is a shame as Id like to learn from your stuff and see what it does and how. The setupx64 included doesn't run even though my computer is x64. Any ideas on what I could do to sample this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.