Secet
06-17-2007, 06:09 PM
I'm using my own woodcutting script (SecetCutter, check woodcutting section), but after new SRL it doesn't work fully:
It compiles and stuff, but after minute or two it just gives Runtime error:
[Runtime Error] : Exception: Access violation at address 006A8E70 in module 'scar.exe'. Read of address 00000034 in line 316 in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Text.scar
On that line in Text.scar:
{************************************************* ******************************
procedure CloseWindow;
By: Stupid3ooo
Description: Closes frontmost window.
************************************************** *****************************}
procedure CloseWindow;
begin
if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then
Mouse(x + 8, y + 3, 3, 1, True);
end;
if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then is the exact line.
Anyone else having the same problem, or is it just me?
It compiles and stuff, but after minute or two it just gives Runtime error:
[Runtime Error] : Exception: Access violation at address 006A8E70 in module 'scar.exe'. Read of address 00000034 in line 316 in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Text.scar
On that line in Text.scar:
{************************************************* ******************************
procedure CloseWindow;
By: Stupid3ooo
Description: Closes frontmost window.
************************************************** *****************************}
procedure CloseWindow;
begin
if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then
Mouse(x + 8, y + 3, 3, 1, True);
end;
if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then is the exact line.
Anyone else having the same problem, or is it just me?