Page 1 of 3 123 LastLast
Results 1 to 25 of 55

Thread: OGL ID Highlight Tool

  1. #1
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Lightbulb OGL ID Highlight Tool

    OGL ID Highlight Tool
    Version 2.0 (updated December 17th, 2015)

    GLX v3.7 | ogLib v1.0a | ogLib Development | Beginner's Tutorial | ID Highlight Tool




    Features
    - Hover your mouse over any model, texture, or both to get their information.
    - All information is debugged to the Simba console.
    - Hold the SHIFT key to reveal all model or texture IDs within a stack, demonstrated in the second GIF.
    - Change GLX debug modes with the TAB key.
    - Supports Old School RS3 viewport.
    - TRK button allows you to select up to five model IDs to track. Press CTRL to begin tracking, or it will start automatically when five are selected. Press CTRL again to stop tracking.
    - ALL button will instantly highlight all models or textures of the same ID. Press CTRL to return to normal highlighting.
    - Supports 4K or retina screen scaling. Enter your display scale percentage into the script options.
    - Customize IDs for the tool to ignore, such as 65536.
    - Customize the delay time between scans, as well as the mouse distance thresholds.
    - Automatic pairing to your SMART window.


    Direct Download: idHighlighting.simba (v2.0)
    Alternatively, simply update ogLib to download the tool.

    - Requires ogLib

    Enjoy!
    Last edited by Clarity; 01-03-2016 at 10:29 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,164
    Mentioned
    26 Post(s)
    Quoted
    433 Post(s)

  3. #3
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    This is huge! Totally clears one of the biggest roadblocks I was having with OGL.

  4. #4
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by evilcitrus View Post
    This is huge! Totally clears one of the biggest roadblocks I was having with OGL.
    My pleasure! Let me know if you have any questions about using the tool.

  5. #5
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    It's great, will definitely be using. TY

  6. #6
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  7. #7
    Join Date
    Mar 2015
    Posts
    438
    Mentioned
    21 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    If anyone has ideas for more features, post here and I'll see about adding them!
    Really wish I could test this out! Will definitely be using it when I get SMART up and running again.

  8. #8
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default

    I'd like to report @Clarity for this procedure:

    procedure deleteSystem32();

    He is haxing my system and I don't like it.

    Naw, this should make debugging a lot simpler, thanks

  9. #9
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Can you give an option for client size so it can pair with the currently open smart?

  10. #10
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    It'll pair even if the client sizes differ.




    Skype: obscuritySRL@outlook.com

  11. #11
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    It'll pair even if the client sizes differ.
    Interesting, it always spawns a new SMART for me. Maybe I need to update ogLib.

  12. #12
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Ross View Post
    Interesting, it always spawns a new SMART for me. Maybe I need to update ogLib.
    That happens to me occasionally with SRL-6 as well, I've found that Simba will always pair to the randomly spawned SMART thereafter, so I close the old one and use the new. But yeah, this shouldn't be happening. Been using this tool for many hours!

  13. #13
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Can you add stack support for textures aswell?

  14. #14
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Also another cool feature would be the ability to specify a texture/model for the tool to highlight so you can see where they're located and get more info.

  15. #15
    Join Date
    Apr 2015
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    McClarity - I'm lovin' it!

    But watch out, if you're not careful while using this awesomesauce of a tool, your System32 might get deleted!

  16. #16
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Update 1.1
    • Stacked textures now supported. Hold shift to reveal textures within your specified stack distance threshold.
    • Reordered debug code to prevent accidental spamming of ID information.



  17. #17
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    ...
    You must spread some Reputation around before giving it to Clarity again.

    Keep up the good work

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  18. #18
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Small update 1.2
    -Made specifying client dimensions easier by putting them as constants in the top of the script - make sure the client size constants match your currently spawned SMART client dimensions. A lot of people PMing me about this tool didn't realize they needed to do this.
    -Added bracketed debug printing for textures, allowing for easier, direct copy-pasting into ogl.getTexture() and other similar functions.

    New script attached in OP.

  19. #19
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    The newest ogLib correctly sets viewport and such - even if it pairs to an existing SMART with different dimensions doofus. Unless Ross overwrote again. :-P.




    Skype: obscuritySRL@outlook.com

  20. #20
    Join Date
    Mar 2008
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    I have no idea what im doing wrong but I cant seem to get the IDS.

    Debug sits idle with - 8:20:07 | idhighlighting > setup

  21. #21
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by heggs View Post
    I have no idea what im doing wrong but I cant seem to get the IDS.

    Debug sits idle with - 8:20:07 | idhighlighting > setup
    Is SMART's debug enabled? Have you downloaded the modified GLX and OpenGL32 plugins (not the ones that come with SRL). Are you in OpenGL graphics mode in RS?

  22. #22
    Join Date
    Mar 2008
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Sorry, im a fool, had it on directx not opengl xD

  23. #23
    Join Date
    Jan 2012
    Location
    in a galaxy far far away
    Posts
    371
    Mentioned
    3 Post(s)
    Quoted
    48 Post(s)

    Default

    whenever i try to run this i get this error.. Error: Unknown declaration "__PID" at line 231

    begin
    ogl.setup(CLIENT_WIDTH, CLIENT_HEIGHT);
    ogl.setDebugMode(GLX_DEBUG_MODE);
    windowTitle := 'SMARTv8.3 - SMART Minimizing Autoing Resource Thing - By BenLand100 [' + toStr(smart.__PID) + ']';
    //windowTitle := 'RuneScape - MMORPG - The No.1 Free Online Multiplayer Game - Mozilla Firefox';
    findAndSetTarget(windowTitle, true);
    repeat
    try
    wait(DELAY_TIME);
    if HIGHLIGHT_TEXTURES then highlightTextures();
    wait(DELAY_TIME);
    if HIGHLIGHT_MODELS then highlightModels();
    except end;
    until false;
    end.
    >:)

  24. #24
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by chief herb View Post
    whenever i try to run this i get this error.. Error: Unknown declaration "__PID" at line 231

    begin
    ogl.setup(CLIENT_WIDTH, CLIENT_HEIGHT);
    ogl.setDebugMode(GLX_DEBUG_MODE);
    windowTitle := 'SMARTv8.3 - SMART Minimizing Autoing Resource Thing - By BenLand100 [' + toStr(smart.__PID) + ']';
    //windowTitle := 'RuneScape - MMORPG - The No.1 Free Online Multiplayer Game - Mozilla Firefox';
    findAndSetTarget(windowTitle, true);
    repeat
    try
    wait(DELAY_TIME);
    if HIGHLIGHT_TEXTURES then highlightTextures();
    wait(DELAY_TIME);
    if HIGHLIGHT_MODELS then highlightModels();
    except end;
    until false;
    end.
    Change "smart.__PID" to "smart.ID" - sorry again, this will be fixed in the next update.

  25. #25
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Change "smart.__PID" to "smart.ID" - sorry again, this will be fixed in the next update.
    Getting the same error, changing it to smart.ID did not fix it for me.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •