SRL Archive - General Botting Help

OpenGL scripting error


Yush Dragon

2015-05-30 10:11:05

Heya, tried to run a basic script… but there's a problem.

After it popped up a message that it couldn't find C:\Program Files (x86)\Java\jre1.7\bin\javaw.exe. I went to the Variables area and setup the following line there:

C:\Program Files (x86)\Java\jre1.8.0_31\bin

[ATTACH=CONFIG]26043[/ATTACH]

[ATTACH=CONFIG]26044[/ATTACH]

And when I did that, it gave me this:

Error: "0.26179938779915" is an invalid float at line 773

Any leads?

Yush Dragon

2015-05-30 10:17:11

My script:

program ogLibScript;
{$i ogLib\lib\core\core.simba}

begin
ogl.setup();
end.

Twinki

2015-05-30 12:00:59

You have to change the Java path manually in oglib/lib/misc/smart.simba on line 41: Self.__Target := SmartSpawnClient('Java Path here',


I'd re-download ogLib again, delete the ogLib folder completely, then extract it, and change the Java Path again.

Then just try


program new;
{$i ogLib\lib\core\core.simba}

begin
ClearDebug();
ogl.setup(0, 0, false);
end.

Yush Dragon

2015-05-30 12:02:48

Tried that, still gave me this:
Compiled successfully in 922 ms.
Error: "0.26179938779915" is an invalid float at line 773
Execution failed.
From: Twinki
You have to change the Java path manually in oglib/lib/misc/smart.simba on line 41: Self.__Target := SmartSpawnClient('Java Path here',


I'd re-download ogLib again, delete the ogLib folder completely, then extract it, and change the Java Path again.

Then just try


program new;
{$i ogLib\lib\core\core.simba}

begin
ClearDebug();
ogl.setup(0, 0, false);
end.

Twinki

2015-05-30 12:04:29

From: Yush Dragon
Tried that, still gave me this:
Compiled successfully in 922 ms.
Error: "0.26179938779915" is an invalid float at line 773
Execution failed.


and what file does it error to? It should open a file where the error occurred. If not, it might be a Simba issue. Try a script for SRL-6?

Yush Dragon

2015-05-30 12:05:53

Alright, the previous shizzle is solved.

Now it gives me this:

** Smart Cannot Spawn Clients **
Successfully executed.

Yush Dragon

2015-05-30 12:17:07

Loading SMART: http://world48.runescape.com/
Error: Access violation at line 784
Execution failed.
The following bitmaps were not freed: [0]

This is the line of code' glxSetColourCapture(false); '

Yush Dragon

2015-05-30 12:18:50

Ok, problems solved.

I had the last error because the ogl.setup(0, 0, false) cannot be used. It's better to leave the 'false' away.

Thank you for the help!

Yush Dragon

2015-05-30 12:31:23

New problem occured.

Error: Access violation
Execution failed.
The following bitmaps were not freed: [0]

Any idea's?

program new;
{$i ogLib\lib\core\core.simba}

procedure trying();
begin
Writeln('Keep trying nub.');
end;

begin
ClearDebug();
ogl.setup();
ogl.setDebugMode('models');
repeat
trying();
until(false);
end.

Yush Dragon

2015-05-30 12:38:18

Ok works. No idea what I'm doing but it worked xD