Alright, so I'm working on a 07scape Port Phastmatys Cball maker and I'm having problems using a steel bar with the furnace. When I go to click on the furnace normally without the steel bar clicked the furnace is found just fine, and it clicks smelt. Now as soon as I add the part where the steel bar is clicked it can never find the furnace, I think this is because of uptext, but i'm not positive. Portion of script I'm having issues with is below(sorry if everything is a bit sloppy this is my first script and I still have to clean it up some):
Simba Code:
Procedure FurnaceAndSmelt;
var
x, y, H, I : integer;
begin
wait(2000 + Random(1000));
SteelBarDTM := DTMFromString('mFQEAAHiclc3LCoAwDETRqIWq0IIvRAR/t1s/2Vs6G5cZOFkkIUlmlnEh4MSCAzc2RAzWMiGpN2u3x6o7UXv11qhene14S6F2Lg/Vy/eh+eUD0vEEjA==');
if (FindDTM(SteelBarDTM, X, Y, MIX1, MIY1, MIX2, MIY2)) Then
begin
MMouse(X, Y, 7, 7);
If (WaitUpText('bar',300)) Then
ClickMouse2(true);
end;
writeln('searching');
FindColorsSpiralTolerance(MSCX, MSCY, TPA, FurnaceColor, MSX1, MSY1, MSX2, MSY2, 20);
ATPA := TPAtoATPA(TPA, 25);
If Length(ATPA) = 0 Then
Exit;
H := High(ATPA);
For I := 0 To H Do
Begin
MiddleTPAEx(ATPA[I], X, Y);
MMouse(X, Y, 3, 3);
Wait(50 + Random(50));
If WaitUpText('urnace', 400) Then
Begin
writeln('Furnace Found');
Mouse(X, Y, 5, 5, true);
wait(50 + Random(50));
FreeDTM(SteelBarDTM);
break;
end;
end;
end;