vwxz
2013-12-16 03:58:13
Update: While I am still unsure what the root cause was, this issue has gone away for now, after some time and a reboot of my computer. Hopefully, then, this is resolved.
I have been following the tutorials to set up Simba and SRL and to write my first script. Specifically, I have completed this tutorial and I am working on this tutorial.
I tried to run this modified example script.
It gets stuck on the screen after the login screen. It should click the "PLAY" button to enter the game, but there is no mouse movement on this screen. Due to the print statements, it looks like it entered the login() call but never left it, and that it is stuck inside the login() call.
I get the following debug output.
Could someone please help me figure out the error here and what I should do next? Thank you very much!
EDIT:
I tried running the Phase 1 example script verbatim from the tutorial (with player nickname changed out). It similarly gets stuck on the PLAY button screen.
The debug output is as follows.
I have been following the tutorials to set up Simba and SRL and to write my first script. Specifically, I have completed this tutorial and I am working on this tutorial.
I tried to run this modified example script.
program Stuff;
{$DEFINE SMART}
{$i srl-6/srl.simba}
procedure declarePlayers
begin
players.setup(['zee'], 'default');
players[0].world := 0;
players[0].isActive := true;
end
begin
clearDebug();
setupSRL();
declarePlayers();
print('before login');
players[0].login();
print('after login');
mainscreen.setAngle(MS_ANGLE_HIGH);
exitSquealOfFortune();
end.It gets stuck on the screen after the login screen. It should click the "PLAY" button to enter the game, but there is no mouse movement on this screen. Due to the print statements, it looks like it entered the login() call but never left it, and that it is stuck inside the login() call.
I get the following debug output.
– setupSRL()
—- Setting up SRL…
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
——– Failed to pair to SMART[432]
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
——– getJavaPath()
——– Using parameters [http://world14.runescape.com/, f3075097000829594980]
——– Using plugins "OpenGL32.dll"
——– Succesfully spawned a client, attempting to target
———- smartSetAsTarget(): Succesfully set SMART[10780] as Simba's target
—— smartCreateClient(): result = true
—— Succesfully initialized via spawning a new client
—- initSmart()
—- Waiting up to 5 minutes for RS to load…
—— __setInputBoxes(): Set username and password boxes
—- Client is ready.
—- Setup SRL in 17300ms.
– setupSRL(): True
– TPlayerArray.setup()
—- Loaded player: zee
– TPlayerArray.setup(): Success
– before login
– TPlayer.login()
—- TPlayer.loginToLobby()
—— ******** (*******)
—— Entering username…
—— Entering password…
Could someone please help me figure out the error here and what I should do next? Thank you very much!
EDIT:
I tried running the Phase 1 example script verbatim from the tutorial (with player nickname changed out). It similarly gets stuck on the PLAY button screen.
The debug output is as follows.
– setupSRL()
—- Setting up SRL…
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
——– Failed to pair to SMART[6024]
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
——– getJavaPath()
——– Using parameters [http://world72.runescape.com/, f191871509803335140]
——– Using plugins "OpenGL32.dll"
——– Succesfully spawned a client, attempting to target
———- smartSetAsTarget(): Succesfully set SMART[11440] as Simba's target
—— smartCreateClient(): result = true
—— 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 14305ms.
– setupSRL(): True
– TPlayerArray.setup()
—- Loaded player: zee
– TPlayerArray.setup(): Success
– TPlayer.login()
—- TPlayer.loginToLobby()
—— ********* (*******)
—— Entering username…
—— Entering password…