Log in

View Full Version : Help Plox <3



Mat
02-25-2012, 08:35 AM
Okay.

Repeat
Wait(350+Random(50));
Until((InArea(Point(185, 205),Point(290, 325)))Or(FindBlackChatMessage('fail'))OR(FindBlack ChatMessage('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
02-25-2012, 08:56 AM
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
02-25-2012, 09:06 AM
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')th en
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(FindBlackChatMess age('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
02-25-2012, 09:24 AM
Try using pixelshift to detect when your player is done mining.

Otherwise I'm idea-less.

Mat
02-25-2012, 09:25 AM
Though about that many times, but the thing is being attacked :/

Nebula
02-25-2012, 09:37 AM
Don't you get agility xp when you use the agility shortcut?

Mat
02-25-2012, 10:02 AM
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