script updated!
Just need some quick help with this, new to RS07 botting... how do i pick the colours? It doesnt let me select a colour when I alt + tab to the smart window
Alt + Tab lets you switch windows. When I have Simba open it takes up my whole screen, therefore smart is running in the background. I click the colour dropper and then have to switch to the smart v8.0 window. If I click the window it will pick the colour so I hold alt and hit tab to switch to it. But im unable to use the colour dropper
Last edited by lilterrell; 05-22-2013 at 07:28 PM.
hey man gj on latest release i like it more now.
just curious to know why you use middletpa is the box barrier for monsters instead of GetTPABounds + Tbox. when i draw it, it gives me a small area around the npc and there is really no way for it to find my monster's hp bar ;S
edit: i could be actually wrong and am not seeing things correctly, forgive me i haven't really eaten/worked out today ;S
deadly red spiders ( they are default )
there is barely someone there, sometimes i saw someone using my script haha :P
they dont hit often on full rune and 44 def, i can stay there for hours.
they are 35 hp and they are decent xp. deadly red spiders are found at the end of varrock sewers.
Ughh.. Am on a marathon to get this stuff sorted for fight caves.. I dont know why i even bother, like 10 people are going to use it.. Even less.. Probably two people..Sorry if this post is confusing.. yeah i'll go eat in a bit.. Well been saying taht for 6 hours haha
Anyway... its stuff like.
Simba Code:Function LocateMonster(Color:TintegerArray; Tol,CTS:integer; hMoD,sMoD:Extended; Uptext: Array of String; WaitUptextWait,WaitUptextRandom,X1Width,Y1Hight,X2Width,Y2Hight: Integer): Boolean;
var
ii,X,y,i,tmpcts:integer;
TPA:Tpointarray;
ATPA:T2DPointArray;
TempBox,Box:Tbox;
begin
if (not(Loggedin)) then exit;
if (findbanksymbol) then exit;
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(hMoD, sMoD);
FindColorsTolerance(TPA, Color[ii], MSX1, MSY1, MSX2, MSY2, Tol)
if Length(TPA) > 0 then
begin
ColorToleranceSpeed(tmpCTS);
setColorSpeed2Modifiers(0.2, 0.2);
SplitTPAWrap(TPA,10,ATPA);
Box := GetATPABounds(ATPA);
TempBox.x1 := Box.x1-X1Width; //the bigger the monster is, the bigger you make this box
TempBox.y1 := Box.y1-Y1Hight;
TempBox.x2 := Box.x2+X2Width;
TempBox.y2 := Box.y2+Y2Hight;
if (DebugMonsterBox) then
SMART_DrawBox(TempBox);
if FindColorTolerance(x,y,255,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,192,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,16777215,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,65280,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) then
PanAttackScreen;
exit;
end
else
begin
SplitTPAWrap(TPA,10,ATPA);
SortATPAFromFirstPoint(ATPA,IntToPoint(MSCX,MSCY));
for I := 0 to HIGH(ATPA) do
begin
MiddleTPAEx(ATPA[i], X, Y);
MMouse(x, y, RandomRange(-5, 5), RandomRange(-5, 5));
if WaitUpTextMulti(['tta'],25+random(25)) then
Begin
if FindColorTolerance(x,y,255,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,192,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,16777215,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,65280,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) then
PanAttackScreen;
clickmouse2(mouse_left);
if DidClick(True,2000) then
begin
Result := True;
waithumanclick2;
exit;
end;
end
else
begin
Mouse(x,y,RandomRange(-5, 5), RandomRange(-5, 5),mouse_move);
if WaitUpTextMulti(Uptext,WaitUptextWait+random(WaitUptextRandom)) then
if ChooseOption('tta') then
begin
if FindColorTolerance(x,y,255,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,192,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,16777215,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) or FindColorTolerance(x,y,65280,Box.X1-X1Width,Box.Y1-Y1Hight,Box.X2+X2Width,Box.Y2+Y2Hight,3) then
PanAttackScreen;
ClickMouse2(mouse_left);
Result := True;
waithumanclick2;
Exit;
end;
end;
end;
end;
end
else
begin
ColorToleranceSpeed(tmpCTS);
setColorSpeed2Modifiers(0.2, 0.2);
end;
end;
So my final result looks like... Ugh...
The final stuff 12/12/12/12 is how define it for every npc, the bigger they are, the more bits of box i add on top of them, then i also added a rotation movement (PanAttackScreen) which flips the camera around..Simba Code:LocateMonster([1323659],4,2,0.11,0.87,['tta'],25,25,12,12,12,12);
Also, there is something thats really helpful but yet SIMPLE, it works kinda of, its like timing... Would need many of it!.
Simply make a timer:
Not saying you have to use this for SPEC but you can tell it if it already did the action in the last 10 secs (since Didclic(true,time) doesn't really help) then it wont do it again, preventing false clicks, but then to consider... Yeah i need to go eatSimba Code:public var
spectimer:integer;
procedure SpecTiming;
begin
SpecTimer := GetTimeRunning + RandomRange(ReSpecTime1,ReSpecTime2);
end;
procedure ReSpec;
begin
if (not(loggedin)) then exit;
if (GetTimeRunning >= SpecTimer) then
begin
writeln('Time To Re-Spec, five minutes have passed');
DoSpec;
end;
end;
Either way.. It only works on big monsters, i think you should check the stuff shatteredHand posted on your topic before, its really creative (but tbh i never managed to get it to work :P), his hp utility tho WORKS PERFECTLY! check it out:
http://villavu.com/forum/showthread.php?t=99350
Anyway.. This draws box around the hole monster's bounds - given the premise the user is like me and ONLY USES ACA FOR EVERY COLOR, if its picking like a color of the eyes then the user will have to draw a very very big BOX
edit: what i mean pan screen simple
Simba Code:procedure PanAttackScreen;
begin
if (not(loggedin)) then exit;
case random (3) of
0..1: makecompass(randomrange(80,130));
2: makecompass(randomrange(240,300));
end;
end;
Just flips it east/west anyway man gona go make some pastaaaaa and salad..
edit just saw again that i split it twice, i copied this from a function i made in the past i no longer use.. U dont have to split twice thats pointless lmao so retarded
HoodzFighter_osr-srl16.simba (44.9 KB, 14 views)
HoodzFighter_osr-srl16browser.simba (30.2 KB, 3 views)
whats the difference?
Tbh you should add ACA option to your script and maybe include a small tut for it. Like how to pick colors correctly and how to reset color picks if it gets messed up, ACA is veryy powerful for RS, i can pinpoint a red color that doesn't find even my d scim, or set a length that it wont find it at least (but find some 1 like mejtok in fight caves).
really (i use aca for ur script just to make it accurate) but would really empower srl's leecher community, waiting for the pasta atm
aca = auto color aid sadasdasgasmog
updated what ya told me to and it still eats when it wants to =P, idk bubba.
HoodzFighter_osr-srl16 use the smart client. The browser lets you use this script in your browser.
Haha goodand im not going to add aca because like nobody knows how it works (new people)
Try updating your fonts? I have no idea but its not a script fault i think.. For a lot of people its working flawless. (99's are rolling in) good luck.
There are currently 1 users browsing this thread. (0 members and 1 guests)