SRL Archive - SRL Archives

Undetectable Mouse?


ub3r |<1||3r*1337*

2006-06-28 14:29:47

Well, i've Experimented with the SCAR function called: MoveMouseSmoothEx(yadayadayada) and I think it could be useful. Well, i've made a 'X' Detecter with the 'UMouse' that I made. I've simply made MoveMouseSmoothEx, into a more simpler function. Well, here is what i got…


This must go before the UMouse.
[php](******************************************************************
UMMouse(hx, hy, Speed);
Description: Moves the Mouse Humanly to a location.
By: Ub3r |<1||3r
******************************************************************)
Procedure UMMouse(hx, hy, Speed:integer);
begin
MoveMouseSmoothEx(hx + random(4), hy + random(4), 1, 1, Speed + Random(2), 2, 2);
end;[/php]
This then goes afterUMMouse…
[php](*********************************************************************
UMouse(hx,hy, Speed:integer;)
Description: Mouse Procedure that Moves and clicks the mouse Just like a human and
Checks to see if The yellow Or red 'X' is True. If none are true, the
result will be false (UMMouse(hx, hy, Speed) = False). Booleans are Red or Yellow. (Red = True/False) (yellow = True/False)
To use this function, you must declare both Yellow and red as a boolean
In your variables. Low Speed Number for slower mouse movings, Higher number for faster movings.
By: Ub3r |<1||3r *1337*
**********************************************************************)
Function UMouse(hx, hy, Speed:integer) :Boolean;
Var
Red1, Yellow1, m, n:integer;
begin
UMMouse(hx, hy, Speed);
GetMousePos(hx, hy);
wait(10 + random(30))
HoldMouse(hx, hy, True);
wait(50 + random(50))
ReleaseMouse(hx, hy, True);
wait(50)
Yellow1 := BitmapFromString(3, 3, 'z78DA3330000243030CD20D' +
'080C0C2024A608002E120B86');
Red1 := BitmapFromString(3, 3, 'z78DA3330000243030CD2CD0D4' +
'441484C1100236A0AD6');

If ( FindBitmapIn(yellow1, m, n, hx - 15, hy - 15, hx + 15, hy + 15)) then
Yellow:= True else
Yellow:= False
FreeBitmap(Yellow1);
If ( FindBitmapIn(Red, m, n, hx - 15, hy - 15, hx + 15, hy + 15)) then
Red:= True else
Red:= False
FreeBitmap(Red1);
If (Red = False and Yellow = False) then
Result:= False else
Result:= True
wait(10 + random(40))
UMMouse(hx + Random (100) - Random(100), hy + Random (100) - Random(100), Speed);
end;[/php]

Remember, to use UMouse, Declare Yellow, and Red in your variables as booleans. UMouse Returns Yellow as True if found, false if not. Same with red. If none are found, then Umouse = False.
Hope this is good use…

Test it out… Mabye it wont get you banned… i'm not that sure, but the mouse moves like an old man is moving it. so mabye when you make your 'army' you should make their ages at least 60 or something… jagex will then think that you are moving the mouse kinda, krazy like an old man…

Bebe

2006-06-28 14:41:44

I'v been looking into a mouse method myself, and I find that the use of Exponential Decay/Growth can be very usefull, you should look into it. The problem with that is it sometimes curves a bit weird, and sometimes human mouse movment tends to be more linear, but it could be somthing nice you could look into (just type in Exponential regression in google or something). :)

I don't have time to test your procedure, but it looks alright. The only question I have is, what will you do if the bitmaps fail?

Also, Ben, nice work with your SplineMethod, I watched it the other day and I noticed it doubled back and such, I was impressed. Now if only you could add a vertex controll option ;)