Hi, I'l try writing script for hunting in taverly. After login i use code
:
Simba Code:
Procedure GetPoints();
var
x,y:integer;
begin
p1:=SPS_GetMyPos;
x:=p1.x;
y:=p1.y;
p2.x:=x+20;
p2.y:=y+20;
p3.x:=x-20;
p3.y:=y-20;
end;
and it give me error in SPS.simba:
Simba Code:
Error: Exception: Access violation at line 305
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, 3]
In line 305 - i find code:
Simba Code:
FoundMatches := SPS_FindMapInMap(P.x, P.y, SPS_AreaMaps, SmallMap, SPS_Tolerance);
How to fix it?
Simba ver. 990.