SRL Archive - General Botting Help

Waiting up to 5 minutes for RS to Load. . .


Clutch

2015-03-25 21:30:27

So been attempting at a Pest Control script. I have alot more code then posted but I decided to start from scratch as I began to have issues getting it to run. See below for the errors.
program KlutchPC;

{$DEFINE SMART} // Always have this to load smart
{$I SRL-6/SRL.simba} // To load the SRL include files
{$I SPS/lib/SPS-RS3.Simba} // To load the SPS include files

Var
x, y, u, i: integer;
AttackTimer: TTimeMarker;
TPA: TPointArray;
ATPA: T2DPointArray;

procedure declarePlayers();
begin
setLength(players, 1);
with players[0] do
begin
loginName := '';
password := '';
isActive := true;
isMember := true;
end
currentPlayer := 0;
end;

procedure CrossPlank;

begin
if not isLoggedIn() then
exit;
minimap.setAngle(MM_DIRECTION_SOUTH);
mainScreen.setAngle(MS_ANGLE_HIGH);
repeat
findColorsSpiralTolerance(x, y, TPA, 3432580, mainScreen.getBounds(), 2, colorSetting(4, 0.02, 0.16));

if (Length(TPA) < 1) then
exit;

ATPA := TPA.toATPA(10, 10);
ATPA.filterBetween(0, 0);
ATPA.sortFromMidPoint(mainscreen.playerPoint);
smartImage.debugATPA(ATPA);

for i := 0 to high(ATPA) do
begin
mouse(middleTPA(ATPA[i]), MOUSE_MOVE);
if isMouseOverText(['ross', 'angplank'], 500) then
begin
fastClick(MOUSE_RIGHT);
if chooseOption.select(['ross', 'angplank'], 500) then
wait (randomRange(2500,4000));
end;
end;
until false;
end;

begin
clearDebug();
smartEnableDrawing := true;
setupSRL();
declarePlayers();

if not isLoggedIn() then
begin
players[currentPlayer].login();
exitTreasure();
minimap.setAngle(MM_DIRECTION_NORTH);
mainScreen.setAngle(MS_ANGLE_HIGH);
end;

CrossPlank;

end.

When SMART's already open and account is logged in:
—- attempting to spawn smart, attempt #: 1
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
———- smartSetAsTarget(): Succesfully set SMART[2432] as Simba's target
——– Succesfully paired to a existing client, SMART[2432]
—— smartPairToExistingClient(): result = true
—— Succesfully initialized via pairing to a previously spawned client
—- initSmart()
—— smartSetupDrawing(): Succesfully setup SMART drawing
—- Waiting up to 5 minutes for RS to load…

When SMART doesn't exist, it logs in and logs in successfully but then doesn't pick up that it has hit play:
—— Succesfully initialized via spawning a new client
—- initSmart()
—— smartSetupDrawing(): Succesfully setup SMART drawing
—- Waiting up to 5 minutes for RS to load…
—— __setInputBoxes(): Set username and password boxes
—- Client is ready.
—- Setup SRL in 20 Seconds
– setupSRL(): True
– TPlayer.login()
—- TPlayer.loginToLobby()
—— Attempt 1: removed my e-mail ()
——– Entering username…
——– Entering password…
——– Saving screenshot: IP_address.png
—- TPlayer.loginToLobby(): True
—— TRSLobbyWorlds.selectRandomWorld(): Random world is 21
—- TRSLobby.getCurrentTab(): Current tab is 0
—- TRSLobby.getCurrentTab(): Current tab is 0
—- TRSLobby.getCurrentTab(): Current tab is 1
—- TRSLobby.openTab(): Result = True
—- TRSLobby.getCurrentTab(): Current tab is 1
—- TRSLobbyWorlds.selectWorld()
—— TRSLobby.getCurrentTab(): Current tab is 1
——– TRSLobbyWorlds.getCurrentWorld(): Current world is 14
—— TRSLobby.getCurrentTab(): Current tab is 1
—— Scrolled to and found world 21
—— Selected world 21
—- TRSLobbyWorlds.selectWorld(): True
—— TRSLobby.findPlayButton(): result = True
—— TRSLobby.findPlayButton(): result = False
—— TRSLobby.findPlayButton(): result = False
—— TRSLobby.findPlayButton(): result = False
—— TRSLobby.findPlayButton(): result = False
—— TRSLobby.findPlayButton(): result = False
—— TRSLobby.findPlayButton(): result = False

Justin

2015-03-25 21:36:31

Can you take a screenshot of your SMART Client while logged in please, make sure to hide your username

Clutch

2015-03-28 18:52:59

From: Justin
Can you take a screenshot of your SMART Client while logged in please, make sure to hide your username

Below is from a LazyFisher, have exact same settings as my other account.
[ATTACH=CONFIG]25405[/ATTACH]

Below is my PC script I am TRYING to work on…this is the one I get the issue posted above.
[ATTACH=CONFIG]25406[/ATTACH]

KeepBotting

2015-03-28 19:04:54

From: Clutch
Below is from a LazyFisher, have exact same settings as my other account.
[ATTACH=CONFIG]25405[/ATTACH]

Below is my PC script I am TRYING to work on…this is the one I get the issue posted above.
[ATTACH=CONFIG]25406[/ATTACH]


That looks really weird, Slim Headers is supposed to be enabled, but it looks like you've got no headers at all. Check through the interfaces options menus and make sure you haven't accidentally removed headers or something

The Mayor

2015-03-28 19:13:21

From: Clutch
Below is from a LazyFisher, have exact same settings as my other account.
[ATTACH=CONFIG]25405[/ATTACH]

Below is my PC script I am TRYING to work on…this is the one I get the issue posted above.
[ATTACH=CONFIG]25406[/ATTACH]


You need to make sure you can see the logout button in the top right corner.

Justin

2015-03-28 19:22:49

From: Clutch
Below is from a LazyFisher, have exact same settings as my other account.
[ATTACH=CONFIG]25405[/ATTACH]

Below is my PC script I am TRYING to work on…this is the one I get the issue posted above.
[ATTACH=CONFIG]25406[/ATTACH]


Unlock your interface by pushing 'L' or untick the "Hide title bars when locked" in the Interface settings.

Clarity

2015-03-28 19:27:19

SRL-6 supports both locked and unlocked interfaces, as long as you have the hide title bars when unlocked disabled.


Clutch

2015-03-28 21:09:25

Lol holy crap, of course it was something simple. Hide Title bars when locked was on. Thanks guys! Time to get back to testing my PC script!