Results 1 to 13 of 13

Thread: [OSRS] Setting up RuneLite with SRL and RSWalker

  1. #1
    Join Date
    Feb 2012
    Location
    Portugal
    Posts
    90
    Mentioned
    3 Post(s)
    Quoted
    38 Post(s)

    Default [OSRS] Setting up RuneLite with SRL and RSWalker

    Setting up SRL and RSWalker


    If you haven't setup SRL nor RSWalker, I recommend following this guide. If you have proceed to the next section


    Setting up RuneLite


    To use SRL you need to disable the following plugins:
    • Report Button since it interferes with finding if the client is setup
    • Mouse tooltips > Interface Tooltips since they can interfere with DTM finding in inventory
    • Ground Items since they can interfere with UpText finding


    To use RSWalker you need to use their Jar with 32-bit Java:
    1. Click the Download for all platforms button on their official website.
    2. Make sure you have 32-bit Java installed. If not install it.
    3. Run it using "C:\Program Files (x86)\Java\jre1.8.0_171\bin\java.exe" -jar \path\to\jar\RuneLite.jar in the command-line.


    Setting up in Scripts


    To use it in scripts you need to specify to SRL that the RuneLite client is also valid:
    Simba Code:
    program new;
    {$I SRL/OSR.simba}
    {$I SRL/utils/rsclient.simba}
    {$I SRL/utils/rsclient_overrides.simba}
    {$I RSWalker/Walker.simba}

    begin
      // Adds support to RuneLite!
      RS_CLIENT_TITLES.Append('RuneLite');
      srl.SetupForClient([]);
      RSClient.SetFocus();
    end.




    These steps has been verified working 10th June 2018

  2. #2
    Join Date
    Dec 2011
    Posts
    118
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    ily <3

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,197
    Mentioned
    112 Post(s)
    Quoted
    1857 Post(s)

    Default

    Very nice tutorial, rep+

    Would it be possible to load this JAR inside SMART?
    GitLab projects | Simba for Linux | Find me on IRC or Discord | OSRS scripts | Come play ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  4. #4
    Join Date
    Dec 2011
    Posts
    118
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    Very nice tutorial, rep+

    Would it be possible to load this JAR inside SMART?
    Not unless it's hosted online somewhere without the update check (probably).
    SMART fetches the client directly from the Jagex servers, I don't quite know how it'd work that way but I'm sure it's theoretically possible.

    As to the OP, @Patriq
    You don't have to actually do that at all! You can simply edit the rsclient include from this
    Code:
    var
       RS_CLIENT_TITLES: TStringArray = ['RuneScape', 'OSBuddy Pro', 'OSBuddy Guest', 'OSBuddy Free', 'RuneLoader', 'SMART'];
       RS_CLIENT_LOSE_FOCUS_WINDOWS: TStringArray = ['Simba - '];
       RS_CLIENT_CANVAS_CLASS: String = 'SunAwtCanvas';
    To this

    Code:
       RS_CLIENT_TITLES: TStringArray = ['RuneScape', 'OSBuddy Pro', 'OSBuddy Guest', 'OSBuddy Free', 'RuneLite', 'SMART'];
       RS_CLIENT_LOSE_FOCUS_WINDOWS: TStringArray = ['Simba - '];
       RS_CLIENT_CANVAS_CLASS: String = 'SunAwtCanvas';
    Which it already has been on the github

    So you don't actually need this snippet! <3

  5. #5
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    968
    Mentioned
    142 Post(s)
    Quoted
    582 Post(s)

    Default

    Quote Originally Posted by Mew View Post
    As to the OP, @Patriq
    You don't have to actually do that at all! You can simply edit the rsclient include from this
    Code:
    var
       RS_CLIENT_TITLES: TStringArray = ['RuneScape', 'OSBuddy Pro', 'OSBuddy Guest', 'OSBuddy Free', 'RuneLoader', 'SMART'];
       RS_CLIENT_LOSE_FOCUS_WINDOWS: TStringArray = ['Simba - '];
       RS_CLIENT_CANVAS_CLASS: String = 'SunAwtCanvas';
    To this

    Code:
       RS_CLIENT_TITLES: TStringArray = ['RuneScape', 'OSBuddy Pro', 'OSBuddy Guest', 'OSBuddy Free', 'RuneLite', 'SMART'];
       RS_CLIENT_LOSE_FOCUS_WINDOWS: TStringArray = ['Simba - '];
       RS_CLIENT_CANVAS_CLASS: String = 'SunAwtCanvas';
    I advice against editing the file locally, that local edit will not allow you to ship a script that works out of the box for others.
    There are ways to actually add the client to the handler from a script for just this reason. This is why it's not a constant, but a variable, just so you can do this:
    RS_CLIENT_TITLES.Append('WhateverNewClientNotYetInSRL');.

    What you see on github is a PR from the OP to add it to SRL. This is not yet in a release tho. And even after this, the steps recommended in this tutorials still apply, with the exception that you don't have to add the client to the list, but even if you do, it wont hurt.
    Last edited by slacky; 06-11-2018 at 11:03 PM.
    !No priv. messages please

  6. #6
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,852
    Mentioned
    7 Post(s)
    Quoted
    142 Post(s)

    Default

    Sorry, but what is Runelite used for?
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  7. #7
    Join Date
    Feb 2012
    Location
    Portugal
    Posts
    90
    Mentioned
    3 Post(s)
    Quoted
    38 Post(s)

    Default

    Quote Originally Posted by kingarabian View Post
    Sorry, but what is Runelite used for?
    RuneLite is a third party client. I mainly use it for XP/h.

  8. #8
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,852
    Mentioned
    7 Post(s)
    Quoted
    142 Post(s)

    Default

    Quote Originally Posted by Patriq View Post
    RuneLite is a third party client. I mainly use it for XP/h.
    Oh okay. So like Rsbuddy then. Thank you.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  9. #9
    Join Date
    Jun 2007
    Posts
    309
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default

    Quote Originally Posted by kingarabian View Post
    Oh okay. So like Rsbuddy then. Thank you.
    supposedly it is supposed to run using less memory, and has alot of features... frankly i cant tell the difference because I don't play often enough.



    Thanks for the guide!

  10. #10
    Join Date
    May 2015
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for sharing. Is it possible to leverage RuneLite's client APIs from Simba?

  11. #11
    Join Date
    Dec 2007
    Posts
    2,111
    Mentioned
    70 Post(s)
    Quoted
    579 Post(s)

    Default

    Quote Originally Posted by b_a_n_a_n_a_s View Post
    Thanks for sharing. Is it possible to leverage RuneLite's client APIs from Simba?
    Yes it's possible. Nothing written for it yet though.

  12. #12
    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is there a difference between

    Code:
    srl.SetupForClient([]);
    and

    Code:
    SRL.Setup([]);
    If I am using runelite do I stll need the second bit?

    Thanks!

  13. #13
    Join Date
    Aug 2019
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make sure you are downloading runelite from the correct source. Stay safe and use the link in the thread. I got my account hijacked today using runelite

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
  •