elementalelf
2007-09-07 23:37:31
new wierd error:
[Runtime Error] : Exception: Access violation at address 006FEDBE in module 'scar.exe'. Read of address 00000000 in line 224 in script C:\Program Files\SCAR 3.11\includes\SRL/SRL/Core/Object.scar
note: first 2 reply's are to a different problem.
after i changed findguy procedure to:
[Runtime Error] : Exception: Access violation at address 006FEDBE in module 'scar.exe'. Read of address 00000000 in line 224 in script C:\Program Files\SCAR 3.11\includes\SRL/SRL/Core/Object.scar
note: first 2 reply's are to a different problem.
after i changed findguy procedure to:
procedure findguy(uptexta,uptextb:string);
var clll: integer;
heheheheh: boolean;
begin
findobjectdeformed(lulx,luly,uptexta,uptextb,mini,MSX1,MSY1,MSX2,MSY2);
repeat
wait(300);
clll := clll + 1;
if (findnpcchattext('tinue')) or (findnpcchattext('cook')) then heheheheh := true;
until (heheheheh = true) or (clll = 10);
if (heheheheh = false)
then
begin
wait(500);
findguy(uptexta,uptextb);
end;
end;