SRL Archive - OSR Help

Made this kinda autologger to log every bot in to same world but need help!


arthuro

2012-05-06 17:46:39

So the problem is the mouse doesnt move fast enough and it only logs about 5 of the clients in.

(clients must be set on same coordinates everytime)

EDIT: Yes I tried lots of different numbers as mouse speed. And at some point it just stopped working.

program ArthuroLogin;

{$i srl/srl.simba}



begin
mousespeed:=9999;
mouse(2300, 980, 0, 0, mouse_Left);
mouse(2300, 870, 0, 0, mouse_Left);
mouse(2300, 775, 0, 0, mouse_Left);
mouse(2300, 665, 0, 0, mouse_Left);
mouse(2300, 570, 0, 0, mouse_Left);
mouse(1290, 988, 0, 0, mouse_Left);
mouse(1290, 880, 0, 0, mouse_Left);
mouse(1290, 775, 0, 0, mouse_Left);
end.

Tried to google found this…
[YOUTUBE]http://www.youtube.com/watch?v=Z7B7I-g0Au0[/YOUTUBE]

NKN

2012-05-06 19:57:53

Explain what this does…?

If you open each SMART on a seperate server, it should let you log in, always lets me.

Total

2012-05-06 20:00:33

I think he's trying to log into 8 accounts at once in the same world by clicking play now on every one of them. No clue why you would wanna do this but it should work if the coordinates are correct.

putonajonny

2012-05-06 20:00:58

Set up multiple simbas and tell them to all click different clients at a specified time

nickrules

2012-05-06 20:27:04

MoveMouse(500,500);
clickmouse(500,500,1);

note, you MUST move the mouse before you click the mouse, otherwise it'll just click where the mouse is (as in, clickmouse does not move the mouse - I have no idea what it asks for coordinates).

also note, that if that isn't fast enough, then you either need to get your buttons closer, or nothing will be.

Daniel

2012-05-07 03:48:22

Use this :)


procedure InstantMouse(const x, y, rx, ry: Integer; Mouse: Byte);
var
tP: TPoint;
begin
tP := Point(x + Random(rx), y + Random(ry));
MoveMouse(tP.x, tP.y);
ClickMouse(tP.x, tP.y, Mouse);
end;

Just replace all instances of "Mouse" in your script with "InstantMouse" (without the quotes, of course). ;)

arthuro

2012-05-07 20:59:39

From: putonajonny
Set up multiple simbas and tell them to all click different clients at a specified time


This sounds interesting, how could I get simba to read system time and click coordinate at some exact system time?

EDIT: I got win7 if it makes difference.