SRL Archive - News and General

Players.scar


Death12652

2010-12-20 23:36:45

Not sure where this goes but when I run any script it has a error here…


{*******************************************************************************
function LoggedIn: Boolean;
By: WT-Fakawi
Description: Returns True if Logged In.
*******************************************************************************}
function LoggedIn: Boolean;
var
cx, cy: Integer;
begin
Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);
end;

at this line


Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);

with this error


Compiled succesfully in 1513 ms.
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 141, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 110

I keep getting access violations left and right depending on the script but right after it says "Loaded: blah blah blah" Now I am getting in the new tab called smart. Its really annoying and I can't seem to be able to script without this fix. Please someone post at least whether they are getting the same problem and the dev's are fixing it. I will never be able to release my scripts on time without this working :(.

HAHAHAHAHA I feel so stupid

I DIDNT HAVE JAVA ON THIS COMPUTER.

If anyone gets this problem then install java.