SRL Archive - Help

Help Plox <3


Mat

2012-02-25 03:35:47

Okay.

Repeat
Wait(350+Random(50));
Until((InArea(Point(185, 205),Point(290, 325)))Or(FindBlackChatMessage('fail'))OR(FindBlackChatMessage('reach that'))Or(TimeFromMark(T) > 12000));
Okay Here whats happen I'm trying to speed my abyss up and I have this saying If it picks up on the chatbox message then redo the function only problem it spams the object, until its in the area, Any Idea's around this? I don't think there is :(
Mat

Nebula

2012-02-25 03:56:37

Does it consistently spam click the object because one of those messages is already in the chat box?

Post some more of the code.

Mat

2012-02-25 04:06:35

Thats the problem exactly the problem I can't find anyother way of making it fast apoon object finding.

Function MiningEnter:Boolean;
Var
T:Integer;
Begin
SPSPoints;
if FindObj_Mx(pX, pY,5400966,10,800,200,50,0.04,0.47,'Mine','ock')then
begin
Result:=True;
Report(7);
ClickMouse2(True);
MarkTime(T);
Repeat
Wait(350+Random(50));
Until((InArea(Point(185, 205),Point(290, 325))) Or (FindBlackChatMessage('fail'))Or(FindBlackChatMessage('reach that'))Or(TimeFromMark(T) > 16000));
If FindBlackChatMessage('reach that')then
Result := False;
end else
Result := False;
end;
Theres the whole function, I have 3 for different objects.
Mat

Nebula

2012-02-25 04:24:25

Try using pixelshift to detect when your player is done mining.

Otherwise I'm idea-less.

Mat

2012-02-25 04:25:13

Though about that many times, but the thing is being attacked :/

Nebula

2012-02-25 04:37:38

Don't you get agility xp when you use the agility shortcut?

Mat

2012-02-25 05:02:53

you get xp for wc mining etc, but its not saying if I'm in thats sps doing that, if saying Haven't I mined the object. which is why I though picking up on game text, but then though shit, that anit gonna work:/
Mat