Dead_Photos
2013-09-28 17:24:12
Okay, I'm pretty new/old to all of this; I left the botting scene after the Bot Nuke a looooong time ago.
Now there's no randoms, SRL6 just came out and RS3 is growing on me..
I'm trying to write a simple Fletcher, and I can't even get passed the Lobby screen. ;(
Current Code(Don't laugh lol):
I have everything set up as should be, and it seems to recognize the Client as well as input boxes for login. Just not the lobby :s
Now there's no randoms, SRL6 just came out and RS3 is growing on me..
I'm trying to write a simple Fletcher, and I can't even get passed the Lobby screen. ;(
Current Code(Don't laugh lol):
Program DeadFletcherBeta;
{$Define SMART}
{$I SRL-6/SRL.Simba}
procedure declarePlayers();
begin
players.setup(['WUZPLAYERHERE', '33333'], 'N00b');
currentPlayer := 0;
with players[0] do
begin
integers[0] := 50;
integers[1] := 25;
booleans[0] := true;
players[currentPlayer].loginToLobby(); //Added this + Wait below it to see if maybe the login(); function would recognize lobby.
wait(100);
players[currentPlayer].login();
end;
end;
begin
SetupSRL();
declarePlayers();
end;
Simba debug:---- Client is ready.
---- Setup SRL in 218ms.
-- setupSRL(): True
-- TPlayerArray.setup()
---- Loaded player: **************
---- Loaded player: in
-- TPlayerArray.setup(): Success
-- TPlayer.loginToLobby()
---- ********* (*****)
---- Entering username...
---- Entering password...
---- WARNING: Unknown color count: 0
---- HINT: Please report this issue in the SRL bugs section of the forum
------ Saving screenshot: unknown_login_count.png
---- Login response: One minute as passed...
------ Switching to player 1 (in)
---- TPlayer.login()
------ TPlayer.loginToLobby()
-------- ********** (*******)
-------- Entering username...
-------- Entering password...
Exception in Script: Runtime error: "You passed a wrong xe to a finder function: 960. The client has a width of 960, thus the xe is out of bounds." at line 145, column 23 in file "C:\Simba\Includes\SRL-6\lib\utilities\wrappers.simba"
File[C:\Simba\Includes\SRL-6/logs/SRL log (29-09-13 at 05.14.02 PM).txt] has not been freed in the script, freeing it now.I have everything set up as should be, and it seems to recognize the Client as well as input boxes for login. Just not the lobby :s