Results 1 to 5 of 5

Thread: [OSRS] Setting up RemoteInput - an Alternative to SMART

  1. #1
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default [OSRS] Setting up RemoteInput - an Alternative to SMART

    OUTDATED

    There is a legit concern with SMART which flags your Runescape account and puts you inline for a ban.

    So there have been some nice releases in the past two years from Kasi, Patriq, and Brandon that take care of SMART's shortcomings while including most of its functionality.
    Quote Originally Posted by Patriq View Post
    Pinput is both an include and a plugin which allows you to interact with any OSRS game client without the need of having it focused, nor taking over your I/O units.
    Read more here:

    Kinput - Kasi
    Pinput - Patriq



    This is a guide to setup RemoteInput developed by Brandon. It behaves like Pinput, but does not work with Runelite without bugs. However it is actively maintained. It's compatible with both color and reflection.

    1. Download libRemoteInput-I686.dll from:
    https://github.com/Brandon-T/Reflect...eases/tag/v0.9.


    2. Rename it to LibRemoteInput so that it's LibRemoteInput.dll. Then place it in your plugin folder, that is located in your Simba folder.


    3. Load the LibRemoteInput.dll by calling:
    Simba Code:
    {$loadlib LibRemoteInput}


    4. Call this procedure that setups up RemoteInput. Make sure to input the OSRS client PID in RIINject or else it's not going to work. You can find the PID by running CMD and typing Tasklist. Make sure to call it in your main loop.
    Simba Code:
    Procedure RISetup;
    var
      EIOS: Pointer;
      I, Count, PID: Int32;
    begin
      RIInject(6888);
      Count := EIOS_GetClients(true);
      for I := 0 to Count - 1 do
      begin
        PID := EIOS_GetClientPID(I);
        if PID <> -1 then
        begin
          EIOS := EIOS_PairClient(PID);
          if EIOS <> nil then
            break;
        end;
      end;
      if (PID = -1) or (EIOS = nil) then
        raiseException('Cannot Pair EIOS.. No Clients Detected..');

      SetEIOSTarget('libRemoteInput', IntToStr(PID));
    end;



    Alternatively (if not easier), you can just enter the clients name instead of the PID in RIInject:
    Simba Code:
    RIInject('JagexLauncher.exe');

    Make sure the bit version of whatever client you're using matches the .dll. So a 32bit DLL should be used with a 32bit client.
    I'm also sure that minimizing the client breaks the script, so run your scripts without minimizing the client
    Last edited by kingarabian; 04-03-2022 at 09:43 PM.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  2. #2
    Join Date
    Mar 2015
    Location
    United States
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Thanks for the guide, being able to not have your mouse and keyboard taken over is so nice.

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

    Default

    can this work with an rsps? im guessing no
    >:)

  4. #4
    Join Date
    Jun 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    The answer would be to try it. I've used it on ScapeRune but it is not able to right click. I around this by by changing in-game settings to have only 1 mouse click and script everything to be right click.

  5. #5
    Join Date
    Sep 2015
    Location
    The Netherlands
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    I have followed this tutorial and i still cant get it to
    This is the error
    Plugin "LibRemoteInput" not found at line 3, column 11 in file "C:\Simba\Includes\Reflection\Internal\Hooks.simba "
    while i have installed as provided here

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
  •