Is it possible to change the cursor that's loaded with SMART? The red dot? Would be cool if we can change the cursor to our customization![]()
Is it possible to change the cursor that's loaded with SMART? The red dot? Would be cool if we can change the cursor to our customization![]()
Tsunami
Dang, want to help me? I like the p-bot mouse cursor with the tracer
Tsunami
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Been looking through RS3 outdated, no cursor methods by DannyRS is their, he has a Wildy agility but it doesn't have the custom cursor, checked a few other agility courses as well with no luck, their was something maybe of use in DannyRS's Fletcher, but still not what xevo1 is after, i will keep looking. I remeber a long time ago a member by the name of "jeffrey" had one in his ash collector script back in 2012.
This might help for an idea of using directx/opengl: https://villavu.com/forum/showthread...ghlight=cursor
Maybe try looking into some of Brandons older work:
https://villavu.com/forum/showthread.php?t=108229
He talks to a guy about it here:
https://villavu.com/forum/showthread...ghlight=cursor
-CRASH.
Last edited by The Mayor; 07-07-2014 at 10:35 AM.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Nice, didn't even think to check mouse.simba!
Would is use much of the CPU?
I think a few of these would help, imagine if it was visible if disabledebug=false in all scripts?
We can make scripts and see the trail and make it more human like, sort of how jagex does with their screensweeper to ban players.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Yeah! I reckon if we had a few Constants of trails made, in mouse.simba and then had a new function that would let you select one of the trail constants i reckon we could all improve our mouse functions.
^ kinda thought that![]()
modify mouse.simba? (for locally)
or just do a...and then do the same for _humanWindMouse. (for a per-script basis)Simba Code:procedure _brakeWindMouse(xs, ys, xe, ye, gravity, wind, minWait, maxWait,
targetArea: extended; double: boolean); override;
var
veloX,veloY,windX,windY,veloMag,dist,randomDist,lastDist,D: extended;
lastX,lastY,MSP,W,TDist,T: integer;
sqrt2,sqrt3,sqrt5,PDist,maxStep,dModA,dModB,nModA,nModB: extended;
begin
MSP := mouseSpeed;
sqrt2:= sqrt(2);
sqrt3:= sqrt(3);
sqrt5:= sqrt(5);
//////////////////////////////////////////////////////////////////////////////
smartImage.clear();
TDist := distance(round(xs), round(ys), round(xe), round(ye));
if (TDist < 1) then
TDist := 1;
dModA := 0.88; //.80
dModB := 0.95; //.90
if (TDist > 220) then
begin
nModA := 0.08;
nModB := 0.04;
end else if (TDist <= 220) then
begin
nModA := 0.20;
nModB := 0.10;
end;
t := getSystemTime() + 5000;
repeat
if (getSystemTime() > t) then
break;
dist:= hypot(xs - xe, ys - ye);
wind:= minE(wind, dist);
if (dist < 1) then
dist := 1;
PDist := (dist/TDist);
if (PDist < 0.01) then
PDist := 0.01;
if double then
begin
if (PDist <= dModA) then
begin
D := (round((round(dist)*0.3))/5);
if (D < 20) then
D := 20;
end else if (PDist > dModA) then
begin
if (PDist < dModB) then
D := randomRange(5, 8)
else if (PDist >= dModB) then
D := randomRange(3, 4);
end;
end;
if (PDist >= nModA) then
begin
D := (round((round(dist)*0.3))/5);
if (D < 20) then
D := 20;
end else if (PDist < nModA) then
begin
if (PDist >= nModB) then
D := randomRange(5, 8)
else if (PDist < nModB) then
D := randomRange(3, 4);
end;
if (D <= round(dist)) then
maxStep := D
else
maxStep := round(dist);
if dist >= targetArea then
begin
windX:= windX / sqrt3 + (random(round(wind) * 2 + 1) - wind) / sqrt5;
windY:= windY / sqrt3 + (random(round(wind) * 2 + 1) - wind) / sqrt5;
end else
begin
windX:= windX / sqrt2;
windY:= windY / sqrt2;
end;
veloX:= veloX + windX;
veloY:= veloY + windY;
veloX:= veloX + gravity * (xe - xs) / dist;
veloY:= veloY + gravity * (ye - ys) / dist;
if (hypot(veloX, veloY) > maxStep) then
begin
randomDist:= maxStep / 2.0 + random(round(maxStep) div 2);
veloMag:= sqrt(veloX * veloX + veloY * veloY);
veloX:= (veloX / veloMag) * randomDist;
veloY:= (veloY / veloMag) * randomDist;
end;
lastX:= round(xs);
lastY:= round(ys);
xs:= xs + veloX;
ys:= ys + veloY;
////////////////////////////////////////////////////////////////////////////////
if (lastX <> round(xs)) or (lastY <> round(ys)) then
begin
moveMouse(round(xs), round(ys));
smartImage.drawCircle(point(round(xs), round(ys)), random(1, 6), true, random(10000, 20000));
end;
////////////////////////////////////////////////////////////////////////////////
W := (random((round(100/MSP)))*6);
if (W < 5) then
W := 5;
if double then
if (PDist > dModA) then
W := round(W*2.5)
else
W := round(W*1.2);
wait(W);
lastdist:= dist;
until(hypot(xs - xe, ys - ye) < 1)
////////////////////////////////////////////////////////////////////////////////
if (round(xe) <> round(xs)) or (round(ye) <> round(ys)) then
begin
moveMouse(round(xe), round(ye));
smartImage.drawCircle(point(round(xe), round(ye)), random(1, 6), true, random(10000, 20000));
end;
////////////////////////////////////////////////////////////////////////////////
mouseSpeed := MSP;
end;
PS: code not tested.
PPS: Started attempting to write one that dynamically updated the line earlier today. left. came back drunk, contemplated doing it. meh. whatever.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Nop, Did it in Simba.
I could probs do it if @Brandon's DXI (pascal) plugin worked.. but it has some dumb bug which sucks.
Last edited by Olly; 07-13-2014 at 05:41 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)