SRL Archive - OSR Help

Failsafes for checking if a teleport was completed


Wetish

2012-10-21 17:18:48

I need ideas for checking if a Ring of Kinship teleport to dung has been completed.
  • There are no symbols at the location
  • DTMs are slow

Sin

2012-10-21 17:25:06

I was doing this for my Nature RC'er, and what I did was I counted the colors in the minimap.

function HasTeled(Color,x:Integer):Boolean;
begin
Result := CountColor(Color,MMX1,MMY1,MMX2,MMY2) > x
end;
procedure WriteColorCount;
var
TPA:TPointArray;
x,y:Integer;
begin
FindColorsSpiralTolerance(x,y,TPA,Color,MIX1,MIY1,MIX2,MIY2,Tolerance);
writeLn('Color Count: ' + Length(TPA));
end;

Run WriteColorCount; first to get the color count and then sub that into x.
You're going to have to use ACA/eyeball a color on the minimap which has a lot though.

Kasi

2012-10-21 17:29:49

There are 2 npc's on the minimap, they stay at the same pos, take advantage of that?

Austin

2012-10-21 17:31:03

Sorry not on topic but, Shay… how did you get your rep. like that lol??

Nebula

2012-10-21 17:31:44

Pixelshift.

Enslaved

2012-10-21 18:01:47

wth is with your rep too neb?

John

2012-10-21 19:02:47

From: Enslaved
wth is with your rep too neb?


They were being… Misbehaved.

OT: Try Object DTMs? You could use pixel shift too or wait until a certain color appears. I personally use ODTMs they work quite well.

riwu

2012-10-21 20:38:40

Can i join TEAM GREEN? :p

Look at my mem app script, TPA detection similar to what Shay did, and i even used that to walk to the bank. There is a great deal of whiteness there so it's extremely rare if it conflicts with your original teleport start point. And TPA walking is extremely reliable.