Bad Boy JH
2010-05-29 23:14:14
is there something wrong with Objects.simba, or am I trying to use it wrong, since Dairy Cows are technically objects, not NPCs, I assume that I need to use Objects to find them Not Characters. BUT when I tried that, it wouldn't find them. Nor will it find any other objects. Which I found out with this script
btw are there simba tags yet?
Everything was returning -1 (which was at tile, (-1, -1)) or 65535 (which is FFFF in Hexidecimal, see the Object.simba for why thats important). Is that something I am doing wrong, or something wrong with Objects.simba?
on a side not, I just cracked 10M gp on my main….W00t…green looks so cool!
{$i srl/srl/reflection/Reflection.simba}
const
SmartWorld = 15; // Which World/Server do you want to use?
SmartMembers = False; // Is it a Members World?
SmartSigned = True; // Signed/UnSigned Client?
SmartSuperDetail = False; // Use Super Detail?
var
I:Integer;
Objects:TRSObjectArray;
begin
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
SetupReflection;
Objects := GetAllObjects(Interactable);
For I := 0 to High(Objects) do
begin
if (Objects[i].ID > -1) and (Objects[i].ID <> 65535) then
begin
Writeln('Object Id is: ' + IntToStr(Objects[i].ID));
Writeln('Object Type is: ' + IntToStr(Objects[i].objType));
Writeln('Tile: '+ ToStr(Objects[i].Tile));
end;
end;
end.
btw are there simba tags yet?
Everything was returning -1 (which was at tile, (-1, -1)) or 65535 (which is FFFF in Hexidecimal, see the Object.simba for why thats important). Is that something I am doing wrong, or something wrong with Objects.simba?
on a side not, I just cracked 10M gp on my main….W00t…green looks so cool!