SRL Archive - Reflection Help

I need help agin lol


Runescape Pro

2010-07-31 12:22:50

I'm trying to find the ID for the stairs on all the floors of the lumby castle. This is what I have:
program FindStairs;
{$Define SMART}
{$i srl/srl.scar}
{$i srl/srl/reflection/reflection.simba}

var
x, y, StairsX, StairsY: Integer;

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;

procedure SetupTehScript;
begin
LoginPlayer;
wait(2500+Random(1000));
end;

begin
SetupSRL;
SetupReflectionEx(True);
DeclarePlayers;
wait(2500+Random(2500));
SetUpTehScript;
StairsX:=GetMyPos.x;
StairsY:=(GetMyPos.y - 1);
GetInteractableAt(Tile(StairsX, StairsY));
end.

It doesn't tell me the ID… I also tried "Writeln(GetInteractableAt(Tile(StairsX, StairsY)));" with no luck.

i luffs yeww

2010-07-31 15:37:40

Try 36773.

And isn't there like a DumpObjects procedure or something?

Runescape Pro

2010-07-31 15:45:09

There is a dump objects. I'll try that.

i luffs yeww

2010-07-31 15:47:45

36773 should work regardless. :)

Camaro'

2010-07-31 15:55:21

From: Runescape Pro
I'm trying to find the ID for the stairs on all the floors of the lumby castle. This is what I have:
program FindStairs;
{$Define SMART}
{$i srl/srl.scar}
{$i srl/srl/reflection/reflection.simba}

var
x, y, StairsX, StairsY: Integer;

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;

procedure SetupTehScript;
begin
LoginPlayer;
wait(2500+Random(1000));
end;

begin
SetupSRL;
SetupReflectionEx(True);
DeclarePlayers;
wait(2500+Random(2500));
SetUpTehScript;
StairsX:=GetMyPos.x;
StairsY:=(GetMyPos.y - 1);
GetInteractableAt(Tile(StairsX, StairsY));
end.

It doesn't tell me the ID… I also tried "Writeln(GetInteractableAt(Tile(StairsX, StairsY)));" with no luck.


Nice script ;)

Runescape Pro

2010-07-31 16:32:16

Lmao, shut up camero =P

I'm trying to use "GetObjectAt" now but I get this(And it doesn't work):
Error: Out Of Range at line 194
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 31-07-10 4.txt] has not been freed in the script, freeing it now.

i luffs yeww

2010-07-31 16:43:14

Well how do you use it? :p

JPHamlett

2010-07-31 18:12:32

if you wait about a week im going to be relas3eing something very similar to rsbots way of findng ids

i luffs yeww

2010-07-31 18:47:05

Their way of finding IDs or their way of debugging IDs? >_>

Tickyy

2010-07-31 19:07:11

Just use Rsbot?

JPHamlett

2010-07-31 23:28:43

From: i luffs yeww
Their way of finding IDs or their way of debugging IDs? >_>


debugging srry if I confused anyone

pyroryan

2010-08-01 11:21:47

PS that script isn't going to work since no one updated the hooks used.

RS #614
{Class InteractiveObject1}
class_InteractiveObject1 = 'ow';
hook_interactiveobject_GetID = 'w';
I don't know what the 2nd one is.