SRL Archive - OSR Help

omgg i did it !@!@!@!@! i got it to low alch


print

2012-08-09 23:40:43

omgggggggggggggg=) im soo happy now i got to get it to have
randomeized clicks or something and i want to know how to make it run forever? like so it doesnt stop after 1 click\\\\


program ScriptName;
{$i SRL\SRL.simba}
begin
ActivateClient;
SetupSRL;

MMouse(569,255,1,1);
ClickMouse2(true);
ClickMouse2(true);
end.

Sin

2012-08-09 23:44:29

repeat
MMouse(569,255,1,1);
ClickMouse2(true);
ClickMouse2(true);
until false

usure you want to do that =X

print

2012-08-09 23:46:22

can you tell me how to make it better?

Nebula

2012-08-09 23:49:00

Well what does it do…?

It moves the mouse then double clicks. Not much to improve..

print

2012-08-09 23:49:44

i want it to repeat

Nebula

2012-08-09 23:51:57

…

READ WHAT I POSTED

http://villavu.com/forum/showthread.php?p=1083911#post1083911


repeat //repeats stuff until "until" is true.
if not FindNormalRandoms then //if your player is stuck in a random, stop the script
break;
GameTab(Tab_Magic); //moves to magic tab
Mouse(x, y, xe, ye, true); //clicks alch symbol at point(x, y) (You have to get the coordinates)
Wait(RandomRange(300, 600)); //waits for between .3 and .6 seconds
GameTab(Tab_Inv); //Makes sure the tab open is inventory;
Mouse(x, y, xe, ye, true) //Clicks item to alch
Wait(RandomRange(1200, 1800)); //waits while your player alches
until (Not loggedIn); //script will end if your player is logged out for whatever reason.


Kyle Undefined

2012-08-09 23:53:29

Don't use MoveMouse and ClickMouse, instead, use MMouse and Mouse. The ones you're using will get you banned.

Nebula

2012-08-09 23:54:55

From: Kyle Undefined
Don't use MoveMouse and ClickMouse, instead, use MMouse and Mouse. The ones you're using will get you banned.




He's using ClickMouse2 it's different than ClickMouse. But yeah don't use MoveMouse.

E:
Wait.. No-one on this thread is using either lol.

Kyle Undefined

2012-08-09 23:59:54

Ah, I didn't see the "2" at the end. ClickMouse2 is fine to use :)

Sin

2012-08-10 00:00:03

Kyle had one of his moments.

P1nky

2012-08-10 01:52:39

Congrats :) the first step makes the next 10 steps easier :) Keep going!

Divus

2012-08-10 18:40:17

Congratz Man :) Keep practicing and who knows what your next script will be

Sirenia

2012-08-10 18:57:20

Looking good, better than my first script :<

Footy

2012-08-10 20:34:22

That great moment when you get to sit back, and watch your first working script work. XD
I still get this feeling when I get large scripts to work, I was so happy when my membership app script first did a sucessfull loop!