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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 61 replies
    • This release will:

      Add new internal framework for capturing exceptions


      Fix issue with not selecting the last column in world hopper (Thanks @Todd)


      Add a message about pin usage in Banking#openBank (Thanks @Todd)


      Disable the firewall by default (Thanks @Todd)


      Fix handling of the welcome screen after login (Thanks @Encoded)


      Fix wrong amount bank withdrawal (Thanks @Encoded)


      Fix Screen#isInViewport


      Fix Game#isInViewport (Thanks @Encoded)


      Call onBreakEnd for ListenerManager Breaking Listeners (Thanks @Encoded)


      Fix Prayer#getPrayerPoints NumberFormatException (Thanks @JoeDezzy1)



      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Thanks
        • Like
      • 28 replies
    • 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
      • 64 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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...