Log in

View Full Version : RuneScape crash



J J
03-08-2012, 05:27 PM
I've never had this error before and I have no idea what is wrong.

New window: 394796
[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'X' never used at line 527
[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(528:3): Variable 'Y' never used at line 527
[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\demon.simba(167:3): Variable 'C' never used at line 166
Compiled successfully in 468 ms.
SRL Compiled in 0 msec
Exception: Range check error at line 36
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

And this pops up
Function rs_GetCompassAngleRadians: Extended;
var
TPA: TPointArray;
T, M: TPoint;
B: TBox;
begin
B := IntToBox(529, 9, 557, 39);
with B do
FindColorsSpiralTolerance(T.x, T.y, TPA, 65536, x1, y1, x2, y2, 0);
if Length(TPA) < 1 then
Exit;
M := MiddleBox(B);
T := MiddleTPA(TPA);
Result := ArcTan2(-(T.Y - M.Y), T.X - M.X+0.5) + Radians(90);
Result := fixRad(Result - Pi);
end;

This part is red: B := IntToBox(529, 9, 557, 39);

What is the problem?

Daniel
03-09-2012, 08:22 AM
What are lines 35-37 of the script you are using? :)

Getdropped
03-10-2012, 03:09 AM
Wasn't this part of an anti-leech in someones code...... they didnt declare variables and something else.... I may be wrong.

Usually when it says
The following DTMs were not freed: [SRL - Lamp bitmap, 1]The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

for me all I need to do is close the script and re-run it. What that usually means is you force stopped the script by hitting stop and quickly hitting the X then try to run it again. Hope you can figure it out ;)

elmotheskaat
03-10-2012, 05:35 PM
Awnser (worked for me)

http://villavu.com/forum/showthread.php?p=848708