Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
DaFukWasDat

Can I share my AutoHotKey scripts here?

Recommended Posts

Hi

I created 2 scripts using AutoHotKey.

The first script allows you to go true fullscreen, it does this by removing the title bar and border and then it sets the game to your screen resolution, when runescape is set to fullscreen the game will stretch to all four corners of your computer screen (you have to use ctrl+alt+del and then open task manager to return, so you can use the taskbar again), you will literally see nothing but the game (it looks amazing by the way with the camera zoomed way out).

The second script is uses the cannon to gain ranged and/or strength/attack exp, you can start it in any location, all it does is right clicks where you are standing (so you stand inside the cannon) and then either fires (loads) or repairs your cannon, it will then check if your hp is low and if it is then it will eat a shark, if you leave auto retaliate on with a melee weapon equipped then it will also train str/att, you can leave this script running until you run out of cannonballs, thankfully because Jagex removed being forced to do... *brain fart moment* (those things where you're teleported to another place to complete a mini-game) which would usually break a script like this, personally I get 60k ranged exp and 30k strength exp per hour in varrock sewers killing moss giants and red spiders.

They are very basic and I can release the code for you to inspect, I can provide both the .ahk version of the script and the compiled exe (with a virus report).

Why am I doing this? I just like knowing I helped people out is all :)

P.S. I've also got a custom script which switches from void range to melee void, equips gmaul, fire cape, melee helm and then specs, it can also switch back, it does it so fast it appears instant to other players (does it in 1 tick), sadly though I'm not releasing it... (Though I would code a private script for someone if they paid me).

Share this post


Link to post
Share on other sites

And by the way, it's undetectable! I've ran it for hours without getting banned, and I've used my private switching script for months without being banned, I believe something about ahk makes it hard for Jagex to detect (keep in mind, it takes control of your mouse, this may be why it's good, but also why it's bad, you can still use your computer whilst it's running but it will steal your mouse every 30 seconds).

Edited by DaFukWasDat

Share this post


Link to post
Share on other sites

Here is the cannon script code:

Spoiler

 

; This script was created using Pulover's Macro Creator
; www.macrocreator.com

#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1


F1::
Macro1:
WinActivate, Old School RuneScape
Sleep, 333
WinMove, Old School RuneScape,, -8, 0, 780, 542
Sleep, 333
/*
View North then Hold Up
*/
Click, 569, 52, 0
Sleep, 500
Send, {Up down}
Sleep, 3000
/*
Start Fire Cannon
*/
Loop
{
    BlockInput, On
    WinActivate, Old School RuneScape
    Sleep, 333
    Click, 270, 205, 0
    Sleep, 500
    Click, Right, 1
    Sleep, 500
    CoordMode, Pixel, Window
    ImageSearch, FoundX, FoundY, 0, 0, 1280, 800, C:\Users\User\AppData\Roaming\MacroCreator\Screenshots\FireCannon.png
    If ErrorLevel = 0
    {
        Sleep, 500
        Click, %FoundX%, %FoundY% Left, 1
        Sleep, 20
    }
    If ErrorLevel
    {
        CoordMode, Pixel, Window
        ImageSearch, FoundX, FoundY, 0, 0, 1280, 800, C:\Users\User\AppData\Roaming\MacroCreator\Screenshots\RepairCannon.png
        If ErrorLevel = 0
        {
            Sleep, 500
            Click, %FoundX%, %FoundY% Left, 1
            Sleep, 20
        }
    }
    BlockInput, Off
    Sleep, 500
    CoordMode, Pixel, Window
    ImageSearch, FoundX, FoundY, 0, 0, 800, 600, C:\Users\User\AppData\Roaming\MacroCreator\Screenshots\Screen_20180222005258.png
    If ErrorLevel = 0
    {
        CoordMode, Pixel, Window
        ImageSearch, FoundX, FoundY, 0, 0, 800, 600, C:\Users\User\AppData\Roaming\MacroCreator\Screenshots\Shark.png
        If ErrorLevel = 0
        {
            Click, %FoundX%, %FoundY% Left, 1
            Sleep, 10
        }
    }
    Sleep, 20455
}
Return

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Our picks

    • This release will:

      Fix LG for both OSBuddy and RuneLite


      Fix issue where the resizable client isn't able to be made smaller (Thanks @JoeDezzy1)


      Fix detection of the logout game tab when resizable mode and side panels are enabled (Thanks @JoeDezzy1)


      Add initial support for Sentry to allow us to identify and easily debug exceptions happening with all TRiBot users


      Add methods to determine if the bank is actually loaded, and not just the overarching interface (Thanks @wastedbro)



      Upcoming updates:

      Improved CLI support


      Full Sentry support


      Much more
        • Like
      • 62 replies
    • This release will:

      Fix NPE in Camera API (Thanks @wastedbro)


      Update deposit box interface ids (Thanks @Encoded)


      Add various bank methods (Thanks @wastedbro)


      Banking#getWithdrawXQuantity


      Banking#getDefaultWithdrawQuantity


      Banking#arePlaceholdersOn




      Fix resizeable minimap bug (Thanks @wastedbro)


      Remove Java 8 requirement


      Please note: TRiBot is not yet fully compatible with Java 10+




      Fix the break handler issues by ensuring the break handler thread never gets paused


      Fix broken settings hooks



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 68 replies
    • This release will:

      Add support for using custom F key bindings to switch between game tabs (Thanks @erickho123)


      Fix tab opening for "Skills" and "Kourend Tasks" (Thanks @erickho123)



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 34 replies
    • This release will:

      Fix an issue where breaks would stop firing


      Fix Combat#getWildernessLevel, use dynamic search for text and cache ID for later calls


      Fix an NPE in the Combat API


      Fix Mouse#leaveGame bug where the mouse wouldn't actually leave the game screen
        • Like
      • 21 replies
    • This release will:

      Add LG support for Runelite


      Fix NPCChat issues


      Fix a bug where the camera angle setter would just hold down a key for 5 seconds (the timeout)


      Slightly adjust the rotation via keys to be more accurate


      Add the ability for asynchronous camera movement via keys


      Make Camera rotation via mouse more fluid, with more antiban, and work much better in resizable mode


      Add a "Camera#setCamera" method, allowing the rotation and angle to be set in parallel


      Increase the likelihood of using the mouse for camera movements


      Add support for adjusting the camera to positionable entities (Positionable#adjustCameraTo)



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Thanks
        • Like
      • 59 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×