View Full Version : Help with SRL 4 error
!bezo!
08-29-2007, 07:06 AM
Hey, i am reciving this error.
[Runtime Error] : divide by Zero in line 80 in script D:\Program Files\SCAR 3.11\includes\SRL/SRL/Core/Mouse.scar
I am sure ive installed SRL 4 correctly and have also tried re-installing it. Does anybody know what it could be?
juessx
08-29-2007, 08:01 AM
Could it be the script itself? What are you using?
!bezo!
08-29-2007, 09:07 AM
here it is, i dont think its due to the script... or is it??
program BankSorter;
{.include SRL/SRL.scar}
var Notes,rx,ry,x,y:integer;
Procedure SortingBank;
begin
Notes := DTMFromString('78DA639466626038CDC8800C02837CC1344 C9' +
'4F127907508554D514A20AA1A4526C26A8C816A0EA2AAD1D3 5646' +
'55E30C5473828039F640359709A85106AAB944C05FBC40355 751D' +
'5F8FA7AA2AAF9C648D8AECF40D649026A0408870F00D9F518 48');
OpenBankFast ('veb')
if FindDTM(Notes,x, y,1, 1, 200, 200) then
MMouse(x, y, 2, 2);
end;
begin
SortingBank
end.
juessx
08-29-2007, 09:28 AM
program BankSorter;
{.include SRL/SRL.scar}
var
Notes, rx, ry, x, y :integer;
procedure SortingBank;
begin
Notes := DTMFromString('78DA639466626038CDC8800C02837CC1344 C9' +
'4F127907508554D514A20AA1A4526C26A8C816A0EA2AAD1D3 5646' +
'55E30C5473828039F640359709A85106AAB944C05FBC40355 751D' +
'5F8FA7AA2AAF9C648D8AECF40D649026A0408870F00D9F518 48');
OpenBankFast ('veb')
if (FindDTM(Notes,x, y,1, 1, 200, 200)) then
MMouse(x, y, 2, 2);
end;
begin
SetUpSRL;
SortingBank;
end.\
Standerdized; and you forgot SetupSRL. :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.