SRL Archive - OSR Help

Finding Doors with Reflection


Bad Boy JH

2010-06-15 01:50:26

How do I find the doors with reflection. I believe that all doors have a unique ID, which also changes when doors are open or shut. The only problem I have is that I don't know how to get the IDs, also when I have the ID, how should I open the door?

mormonman

2010-06-15 02:07:39

offsets with compass set a certain direction…unless we randomly decide to hook models…but that probably won't happen anytime soon.

Narcle

2010-06-15 03:03:01

(Once you get the IDs to open)

TileToMS(DoorTile, ModX, ModY, Height);

ModX is 0.1 to 0.9 same with ModY, depends what side it is on for these.

North = 0.5, 0.9
East = 0.9, 0.5
South = 0.5, 0.1
West = 0.1, 0.5

I believe.

(actually the smallest is 1/512) ~0.00195 - ~0.99805

Bad Boy JH

2010-06-15 04:06:45

how do i get the IDs though?

i luffs yeww

2010-06-15 04:09:12

RSBot? :p

Capricorn

2010-06-16 17:50:43

T := GetMe;
Writeln(GetObjectAt(Me.Tile.X + 1, Me.Tile.Y)

Or something along that way is another way to get ID's in Simba instead of using RSBot.

Bad Boy JH

2010-06-17 07:16:06

I tried basically running a script that Got ALL ids, and then waited 5 seconds so i could open the door, and then got all IDs again, then did a InIntArr to see if any IDs changed, and none had…