SRL Archive - RS has been updated.

SPS is outdated - New RS area added!


KeepBotting

2012-06-04 18:30:26

There's a new Tz-Tok-Jad entrance or something right beside the Karamja Volcano.
OLD:

NEW:

Main

2012-06-04 18:32:04

You mean the fighting kiln or this is a new new thing?

DRose

2012-06-04 18:32:44

I think it's been there since Kiln update if you're talking about the seperated entrance :P

KeepBotting

2012-06-04 18:33:49

From: Main
You mean the fighting kiln or this is a new new thing?


From: DRose
I think it's been there since Kiln update if you're talking about the seperated entrance :P
I just noticed it and it's not on runescape_surface.png
SPS messed up while trying to walk to the old entrance, go look.

Main

2012-06-04 18:35:25

Just use symbol walk for volcano entrance.

It would be much faster and better anyways :)

KeepBotting

2012-06-04 18:36:28

From: Main
Just use symbol walk for volcano entrance.

It would be much faster and better anyways :)
How would I go about doing this? They have the same symbol.

Main

2012-06-04 18:38:08

You Find the one furthest to the west.

I'll post a code

Sin

2012-06-04 18:38:18

From: KeepBotting
How would I go about doing this? They have the same symbol.


Maybe make a DTM of it?

KeepBotting

2012-06-04 18:44:34

From: Shay
Maybe make a DTM of it?
I don't use DTMs, don't know how. XD

Main

2012-06-04 18:46:00

Actually you find the symbol but not with the FindSymbol(); Function.

You use the Symbols via TPA (Using the white background of the DUngeon symbol)
And

Use
Function PolToPt( A, H: Integer; C: Tpoint): TPoint;
Var
P: TPoint;
Rh: Integer;
Begin
A := 360 - A;
P.X := Round( - 100 * Sin( Radians( Compas + A )));
P.Y := Round( - 100 * Cos( Radians( Compas + A )));
Rh := Round( Hypot( P.X, P.Y));
P.X := C.X + H * P.X / Rh
P.Y := C.Y + H * P.Y / Rh;
Result:= P;
End;


In your script and use


SortATPAFrom( ATPA, PolToPt( 90, 75, Point( MMCX, MMCY)));

Remember ATPA is the white background color of the dungeon symbol.

You can find the ATPA Via



Procedure FindDungeon;
Var
TP: TPoint;
TPA: TPointArray;
Begin
FindColorsTolerance( T.P.X, TP.Y, TPA, DUNGCOL, MMX1, MMY1, MMX2, MMY1, DUNGTOL);
End;








EDIT:

Full version:

Function PolToPt( A, H: Integer; C: Tpoint): TPoint;
Var
P: TPoint;
Rh: Integer;
Begin
A := 360 - A;
P.X := Round( - 100 * Sin( Radians( Compas + A )));
P.Y := Round( - 100 * Cos( Radians( Compas + A )));
Rh := Round( Hypot( P.X, P.Y));
P.X := C.X + H * P.X / Rh
P.Y := C.Y + H * P.Y / Rh;
Result:= P;
End;

Procedure FindDungeon;
Var
TP: TPoint;
TPA: TPointArray;
Begin
FindColorsTolerance( T.P.X, TP.Y, TPA, DUNGCOL, MMX1, MMY1, MMX2, MMY1, DUNGTOL);
SortATPAFrom( ATPA, PolToPt( 90, 75, Point( MMCX, MMCY)));
TP := ATPA[ 0];
Mouse( TP.X, TP.Y, 0, 0, True);
End;

KeepBotting

2012-06-04 18:49:18

From: Main
Actually you find the symbol but not with the FindSymbol(); Function.

You use the Symbols via TPA (Using the white background of the DUngeon symbol)
And

Use
Function PolToPt( A, H: Integer; C: Tpoint): TPoint;
Var
P: TPoint;
Rh: Integer;
Begin
A := 360 - A;
P.X := Round( - 100 * Sin( Radians( Compas + A )));
P.Y := Round( - 100 * Cos( Radians( Compas + A )));
Rh := Round( Hypot( P.X, P.Y));
P.X := C.X + H * P.X / Rh
P.Y := C.Y + H * P.Y / Rh;
Result:= P;
End;


In your script and use


SortATPAFrom( ATPA, PolToPt( 90, 75, Point( MMCX, MMCY)));

Remember ATPA is the white background color of the dungeon symbol.

You can find the ATPA Via



Procedure FindDungeon;
Var
TP: TPoint;
TPA: TPointArray;
Begin
FindColorsTolerance( T.P.X, TP.Y, TPA, DUNGCOL, MMX1, MMY1, MMX2, MMY1, DUNGTOL);
End;
Hmm. Thanks. I guess I'll have to use this until marpis releases SPS2, right? I seem to recall he said he would no longer be updating SPS anymore. Something about focusing time and energy on SPS2.

Main

2012-06-04 18:54:02

Indeed, but as long as you can get to the volcano then
Function PolToPt( A, H: Integer; C: Tpoint): TPoint;
Var
P: TPoint;
Rh: Integer;
Begin
A := 360 - A;
P.X := Round( - 100 * Sin( Radians( Compas + A )));
P.Y := Round( - 100 * Cos( Radians( Compas + A )));
Rh := Round( Hypot( P.X, P.Y));
P.X := C.X + H * P.X / Rh
P.Y := C.Y + H * P.Y / Rh;
Result:= P;
End;

Procedure FindDungeon;
Var
TP: TPoint;
TPA: TPointArray;
Begin
FindColorsTolerance( T.P.X, TP.Y, TPA, DUNGCOL, MMX1, MMY1, MMX2, MMY1, DUNGTOL);
SortATPAFrom( ATPA, PolToPt( 90, 75, Point( MMCX, MMCY)));
TP := ATPA[ 0];
Mouse( TP.X, TP.Y, 0, 0, True);
End;

should work perfect (if you just add the missing parts).

Google

2012-06-04 21:42:11

Not really making a custom SPS Minimap walkpath is super simple and extremely easy, where are you trying to walk from?

Olly

2012-06-05 16:26:23

From: GOOGLE
Not really making a custom SPS Minimap walkpath is super simple and extremely easy, where are you trying to walk from?


^ If you think SPS is good using the default maps, try it with custom ones :D