SRL Archive - Reflection Help

Best way to get tiles?


P1nky

2009-04-30 06:43:40

i havent scripted and when i use to make scripts with reflection walking, i use to use the Sumilions pathwalker now it seems to not work for me. and i dont want to Download RSBOT.

So i was wondering how do i get the best 100% tiles. Thanks and if you have to make a small piece of code, could you please post it.
Thank You

Sandstorm

2009-04-30 06:45:07

program New;
{.include srl/srl/misc/Smart.scar}
{.include SRL\SRL.scar}
{.include SRL\SRL\Reflection\Reflection.scar}
const
SmartWorld = 144;
Members = True;

Function RecordPos : String;
var
TP : Tpoint;
begin
ClearDebug;
Result := 'TilePath := [';
While Not IsFkeyDown(8) Do
Begin
If IsFkeyDown(9) Then
Begin
TP := GetMyPos;
Result := Result + ', Point('+Inttostr(TP.x)+', '+IntToStr(TP.y)+')';
Wait(500);
End;
End;
Result := Result + '];';
end;

procedure SetupSmart;
begin
SmartSetupEx(SmartWorld, Members, true, false);
while not SmartActive do wait(100);
SetTargetDC(SmartGetDC);
end;

begin
SetupSRL;
SetupSmart;
WriteLN(RecordPos);
WriteLn(' ');
end.

~Sandstorm

superbatman

2009-04-30 23:07:03

I think the best way is RsBot, but thats just me. It also can tell you other info like NPCs and animations.

P1nky

2009-05-01 05:14:55

Though it gives me the same tile look:

TilePath := [, Point(33554853, 33554430), Point(33554853, 33554430), Point(33554853, 33554430)];

Whyyy?

Blumblebee

2009-05-01 05:18:19

your reflection is outdated.

P1nky

2009-05-01 05:20:18

From: Blumblebee
your reflection is outdated.


but but but… i did do SVN update and Reflection is right now 222?

mormonman

2009-05-01 05:22:52

Call SetupReflection; right after a
While not RSReady do Wait(250);

Edit: PWNT! senrath!

senrath

2009-05-01 05:23:04

Call SetupReflection; after SMART loads in your main loop.

Edit: Curse you mormonman!

ZaSz

2009-05-01 05:25:01

For Svn update you used regular reflection svn..

For best fix's and such use the dev svn.

P1nky

2009-05-01 05:37:47

Thanks guys SetupReflection was the problem

glad yall helped. <3 yall(no homo )