SRL Archive - OSR Setup Tutorials

[OSRS] Setting up RemoteInput - an Alternative to SMART


kingarabian

2020-04-14 20:08:37

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.
From: Patriq

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/Reflection/releases/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:
{$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.
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:
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

elephant

2020-04-16 00:26:54

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

chief herb

2021-09-16 06:58:14

can this work with an rsps? im guessing no

saml1991

2021-09-16 08:06:29

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.

Big Dennis

2022-03-07 02:07:57

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