RemoteInput¶
Remote Input is an external plugin which provides, well, “remote” input.
In other words, it’s the tool WaspLib uses so Simba doesn’t use your real mouse and keyboard while botting.
Remote input also gives you a full reflection environment to bot with if you desire but in the case of WaspLib, it’s used exclusively for input and you need to either include a reflection library, implement one yourself or use the plugin functions directly.
If you wish to completely disable remote input you can do so by adding the following compiler directive before you include WaspLib in your script:
{$DEFINE WL_DISABLE_FAKE_INPUT}
You can find remote input source code here: https://github.com/Brandon-T/RemoteInput
TRemoteInput¶
Main record used to interact with the remote input plugin.
TRemoteInput.Setup¶
procedure TRemoteInput.Setup();
Internal method used to setup TRemoteInput. This is automatically called for you on the RemoteInput variable.
RemoteInput variable¶
Global TRemoteInput variable.
TWaspInput¶
Main record used to interact with the wasp input plugin.
TWaspInput.Setup¶
procedure TWaspInput.Setup();
Internal method used to setup TWaspInput. This is automatically called for you on the WaspInput variable.
RSClient.LoseFocus()¶
procedure TRSClient.LoseFocus();
procedure TRSClient.LoseFocus(delay: Int32);
Loses focus if available. Maybe useful for antiban.
You can optionally delay losing focus by passing in a delay
.
TRSClient.IsInputEnabled¶
function TRSClient.IsInputEnabled(): Boolean;
Returns True/False if the user REAL input is enabled/disabled, fully or partially, on the client.
Example:
WriteLm RSClient.IsInputEnabled();
TRSClient.DisableRealInput¶
procedure TRSClient.DisableRealInput();
Disables the user real input on the client for both the mouse and keyboard.
Example:
RSClient.DisableRealInput();
TRSClient.EnableRealInput¶
procedure TRSClient.EnableRealInput();
Enables the user real input on the client for both the mouse and keyboard.
Example:
RSClient.EnableRealInput();