SRL Archive - Reflection Help

Object IDs


DeSnob

2010-06-06 10:19:49

How can i find an object's id, without using RSBot, or any other kind of bot?

Nava2

2010-06-06 10:32:11

Debug the ID's using DumpObjectEx or something along those lines.

Drakan

2010-06-06 10:53:19

GetObjectIDAt or somethin like that, and use the tile north of you. Then you just stand under the object and click go :P

DeSnob

2010-06-06 11:58:01

I'll check this out once i complete my nooby mmouse xD

fre

2010-06-06 13:09:01

Here is a procedure to find the object.

This one find the specified object at a given tile
[php]
procedure writeobj(whattile:TTile);
var
object1:TRSObject;
begin
object1:=GetObjectAt(whattile,0);
writeln(object1.ID);
end;
[/php]

Narcle

2010-06-06 16:04:01

This reminds me, you can paint on SMART's canvas. If I recall someone made a script so you could see them on SMART while you walked around. If not I could probably do it. ;)

Capricorn

2010-06-06 17:10:36

From: Narcle
This reminds me, you can paint on SMART's canvas. If I recall someone made a script so you could see them on SMART while you walked around. If not I could probably do it. ;)


Unless its been updated you have to have SMART enabled to print onto the screen.

I think it would be better to have it print to the canvas a screenshot and print over that then it would be to print onto SMART.