Example script - Minimap tracking on Oldschool Runescape

Discussion in 'Sythe Lib Archive' started by Sythe, Apr 30, 2017.

Example script - Minimap tracking on Oldschool Runescape
  1. Unread #1 - Apr 30, 2017 at 3:25 AM
  2. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,063
    Referrals:
    450
    Sythe Gold:
    5,191
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Example script - Minimap tracking on Oldschool Runescape

    Code:
    if (SetWindow("Old School") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
    var x = 0; var y = 0; var r = 0; var totalx = 0; var totaly = 0;
    while (true) {
        Scrape();
        CalculateMinimapMovement(x,y,r, GetWidth() - 81, 84, 70, 350, 10, 20, 3, 6);
    
        if (r != 0) {
            print("rotation detected");
        } else {
            totalx += x;
            totaly += y;
    
            if (x != 0 || y != 0) {
                print("total walk { " + totalx + ", " + totaly + " }");
            }
    
        }
        Sleep(20);
    }
     
  3. Unread #2 - Nov 10, 2017 at 7:25 PM
  4. Buyacc
    Joined:
    Mar 20, 2015
    Posts:
    5,136
    Referrals:
    8
    Sythe Gold:
    1,005
    Discord Unique ID:
    212649581656145922
    Discord Username:
    Buyacc#7886
    Verified Hardcore Spam Forum Participant Twitter Writing Competition Winner Community Participant Paper Trading Competition Participant Detective Facebook Promoter In Memory of Jon
    Le Kingdoms Player Secret Santa 2023 Christmas 2023 Tier 1 Prizebox Christmas 2020

    Buyacc Hello
    $100 USD Donor New Competition Winner

    Example script - Minimap tracking on Oldschool Runescape

    @Sythe Could you explain what this does exactly? Like show your position on the minimap or something?
     
  5. Unread #3 - Nov 10, 2017 at 11:15 PM
  6. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,063
    Referrals:
    450
    Sythe Gold:
    5,191
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Example script - Minimap tracking on Oldschool Runescape

    it tracks your minimap pixel location relative to where you started

    can be used for making reasonably accurate walkers on osrs

    try it and see
     
    Last edited: Nov 10, 2017
< More fully worked examples to come / request them here | >

Users viewing this thread
1 guest


 
 
Adblock breaks this site