ub3r |<1||3r*1337*
2007-04-26 21:43:24
These are the detectable patterns that I know of for SRL..
- When cancel is the only option in the right-click menu, it clicks cancel, usually, people just move out of the box.
- Mouse is too slow. Some people move their mouse faster/ Mouse speed is the same.
- No mistakes. When the mouse moves to the target coord, it always stops there. No mouse spinning, or a little dancing, as some people occasionally do.
- When moving, the mouse never right-clicks an object. Some people get bored with walking and just randomly right-click objects and sometimes examines them.
- Too many pauses. Not a continuous flow of mouse movement.
- Mouse never moves when an action is taken. Stays there like you let go of the mouse right after you click. Humans never let go of the mouse. Continuous mouse movement, even after a click.
- When mining/woodcutting, after you are done chopping that tree and moving to the next, you usually have the mouse ready on the tree already. The scripts do not move the mouse to the next rock/tree after clicking the targetted tree.
I think the only problem is to this, is that SCAR does not do any multi-processing, and cannot look for colors and move the mouse at the same time, tell me if i'm wrong.
Detectable Procedures I know of..
- Findobj3. In a woodcutter that I used, the procedure tries to look for the tree, but if its not near the character, it will only just keep spiraling out pixel by pixel, and sometimes, when a plant is almost the same color as a tree, it will sometimes go to a plant at the right, then go to the plant to the left, back and fourth.. It will do that, (sometimes) and the mouse will aim exactly where it already moved over, only a little bit farther away. This procedure should be used in mining.
From: ub3r |<1||3r*1337*
I think the only problem is to this, is that SCAR does not do any multi-processing, and cannot look for colors and move the mouse at the same time, tell me if i'm wrong.
Actually, I think you could do something like this:
program Whatever;
{.include SRL/SRL.scar}
function FindThatColor: Boolean;
begin
if(FindColorTolerance(x,y,123123,MMX1,MMY1,MMX2,MMY2,5))then
begin
Result := True;
end;
end;
function MoveThatMouse: Boolean;
begin
while(FindThatColor)do
begin
repeat
SleepAndMoveMouse(2000+random(3000));
AntiBan;
until(not(FindThatColor))
end;
end;
begin
FindThatColor;
MoveThatMouse;
end.
Correct me if I'm wrong, but I'm pretty sure that, or something very similar to what I did, would work.
Infantry001
2007-04-26 22:37:25
Nope, its still not multiprocessing. Its looking for the color, and then moving the mouse. The only thing i know scar can do simultaneously is hold down a key/mouse click with something else :/
bullzeye95
2007-04-26 22:43:29
A very good way to multiprocess is to use 2 SCARs with SendInterSCAR functions. Something like while the flag is up on one, it will tell the other to move the mouse while the first one searches for randoms and stuff.
Smartzkid
2007-04-26 22:50:33
I think scripts should be evaluated on how humanlike they are, not how efficient they are
If only SCAR had threads….
PS: Freddy…would that really be hard to add?
integerx:=MakeNewThread(priority:integer); //1-5;
LoopInThread(integerx:integer; procedure:string); //thread handle and procedure name
StopThread(integerx:integer); //thread handle
RunOnceInThread(integerx:integer; procedure:string); //thread handle and name
KillThread(integerx:integer); //like stopthread, but ends the thread instantly, instead of waiting for the current procedure to execute
RunOnceTimeout(integerx:integer; procedure:string; timeout:integer;); //
Runs a thread once, but kills it after 'timeout' ms
I guess I'm gonna post that in the suggestions section….
ub3r |<1||3r*1337*
2007-04-27 18:12:19
From: bullzeye95
A very good way to multiprocess is to use 2 SCARs with SendInterSCAR functions. Something like while the flag is up on one, it will tell the other to move the mouse while the first one searches for randoms and stuff.
So far, I guess this is the only way to multi-process. But it's ridiculous to push start on two SCAR windows/tabs for the thing to run.
Secet
2007-04-28 07:51:53
From: Smartzkid
I think scripts should be evaluated on how humanlike they are, not how efficient they are
If only SCAR had threads….
PS: Freddy…would that really be hard to add?
integerx:=MakeNewThread(priority:integer); //1-5;
LoopInThread(integerx:integer; procedure:string); //thread handle and procedure name
StopThread(integerx:integer); //thread handle
RunOnceInThread(integerx:integer; procedure:string); //thread handle and name
KillThread(integerx:integer); //like stopthread, but ends the thread instantly, instead of waiting for the current procedure to execute
RunOnceTimeout(integerx:integer; procedure:string; timeout:integer;); //
Runs a thread once, but kills it after 'timeout' ms
I guess I'm gonna post that in the suggestions section….
Yea threads would be very neat…
rkroxpunk
2007-04-28 08:39:17
couldn't u add something like while (chop) do
MMouse(x,y,blahblah) //move it to the tree
and then it would already be there and just waiting…..
I dunno may not work. As for mouse too slow just change the mousespeed in setupSRL
Lorax
2007-04-28 08:43:36
You don't need multi threading..
Just make better scripts, all you said could be done according to my scripting knowledge..
Mutant Squirrle
2007-04-28 10:16:38
haha you dont need multi threads to do what your trying to do, you just need a more advanced script. Most new scripters have no idea how to accomplish any of that where as a scripter such as lorax or Fakawi would be more then capable of doing so if they wanted.
Just find better scripts or write them yourself, don't get all worked up over silly multi-threading. Although that would be a nice feature for our anti-randoms :P
n3ss3s
2007-04-28 14:07:56
ub3r , you should get a rank for that.
Like " SRL Official Detectables Detector" and a picture of binoculars :D
That'd be like for example YoHoJo's CopyBuster thingy
rkroxpunk
2007-04-28 14:19:37
From: JAD
Exactly what I posted :p
o oops lol soz :P Oh well at least we can be sure they saw it now :D
Special Ed
2007-04-28 15:25:30
Well what you could do is run my handy dany QrazyMouseMaqer and make some crazy mouse movement that you can use…
Just run it then press F11 and do the mouse thing then press F12 to stop it, past the coding in SCAR and fill in the procedure and run it!
program QrazyMouseMaqer;
var x,y,a,b:integer;
begin
repeat
Wait(10);
until(isfkeydown(11));
GetMousePos(x,y);
//RandX/Y is the Random-ness of the X/Y - Cord
//Z is the Wait inbetween the moves I reccomend around 15 or so...
Writeln('procedure CrazyMouse(RandX,RandY,z:integer);');
Writeln('var x,y:integer;');
Writeln('begin');
Writeln('GetMousePos(x,y);');
repeat
Wait(10);
GetMousePos(a,b);
if(((a - x) > 0)and((b - y) > 0))then begin Writeln('MoveMouse(x+Random(RandX)+'+inttostr(a - x)+'-RandX,y+Random(RandY)+'+inttostr(b - y)+');'); Writeln('Wait(Random(Trunc(z - (z / (z - 5)))))'); end;
if(((a - x) < 0)and((b - y) < 0))then begin Writeln('MoveMouse(x+Random(RandX)'+inttostr(a - x)+'-RandX,y+Random(RandY)'+inttostr(b - y)+');'); Writeln('Wait(Random(Trunc(z - (z / (z - 5)))))'); end;
if(((a - x) < 0)and((b - y) > 0))then begin Writeln('MoveMouse(x+Random(RandX)'+inttostr(a - x)+'-RandX,y+Random(RandY)+'+inttostr(b - y)+');'); Writeln('Wait(Random(Trunc(z - (z / (z - 5)))))'); end;
if(((a - x) > 0)and((b - y) < 0))then begin Writeln('MoveMouse(x+Random(RandX)+'+inttostr(a - x)+'-RandX,y+Random(RandY)'+inttostr(b - y)+');'); Writeln('Wait(Random(Trunc(z - (z / (z - 5)))))'); end;
until(isfkeydown(12));
Writeln('end;');
end.
Yakman
2007-04-30 12:16:45
From: ub3r |<1||3r*1337*
Humans never let go of the mouse. Continuous mouse movement, even after a click.
not if you're using a laptop touchpad, i think Scar mouse movements are more similar to touchpads than to normal mouses
ub3r |<1||3r*1337*
2007-04-30 16:18:28
From: Yakman
not if you're using a laptop touchpad, i think Scar mouse movements are more similar to touchpads than to normal mouses
Then that changes everything. But there is still some detectable stuff…
I'm gonna update my first post to show the detectable SRL procedures.