SRL Archive - OSR Help

Pottermore ?


sothisiswhereiputmyname

2012-07-07 06:16:07

i tried maing a bot for Pottermore, but eventhough i put that mouse speed to 0, it moves really fast, to win at this game, you need to wait betwwen clicks and i can't firgure out how to do that. Here is my script so far

program new;

var
x, y:integer;
//MouseSpeed :=0;
begin

Movemouse(486, 418);
Holdmouse(486, 418, 1);
ReleaseMouse(486, 418, 1);
HoldMouse(486, 418, 1);
ReleaseMouse(486, 418, 1);
Movemouse(393, 524);
Holdmouse(393, 524, 1);
releasemouse(393, 524, 1);

riwu

2012-07-07 06:30:59

MouseSpeed is't going to affect MoveMouse, MoveMouse moves the cursor to the destination instantly no matter ur speed. MouseSpeed does affect MMouse (srl version of MoveMouse) though.

But if u just want to wait between clicks, use Wait(1000)? where 1000 means 1000milliseconds=1sec.

Also u can replace the HoldMouse and ReleaseMouse with ClickMouse2(true). Be sure to put {$I SRL/SRL.Simba} at the start of script below program name, and call SetupSRL before mainloop too.

sothisiswhereiputmyname

2012-07-07 06:33:04

no it needs to be a certain amount of time, it needs 2 clicks before in can move on

http://www.youtube.com/watch?v=ZIPFqRrVvBI that is what i want (a little more accurate)

riwu

2012-07-07 06:39:52

Yeah u simply use MMouse to move ur mouse there, then either do a Wait, or some ClickMouse (if u need to click it multiple times), before MMouse to another coordinate again.

sothisiswhereiputmyname

2012-07-07 06:47:22

i want it to move after the click and that move should only take like 2 seconds ? i need to click it once for the ring to come out, and then click again when it is biggest, then it takes a few seconds to move to the next letter, :D not sure how i should go about this

riwu

2012-07-07 07:06:31

Can be simplified with a for loop but that may be too complicated for u at this point. Read more tutorials/videos will help u start off more easily.
program new;
{$I SRL/SRL.Simba}

procedure OneRound(x,y: integer);
begin
MMouse(x,y,0,0); //move the mouse to x,y
ClickMouse2(true); //click once
Wait(); //input how many second u need to wait
ClickMouse2(true); //click 2nd time)
end;

procedure MoveNext;
begin
OneRound(121,121); //change 121,121 to the actual coordinate;
OneRound(232,212); //the next point
OneRound(352,231); //3rd point
//and so on depending on how many circles u are clickin before restarting
end;

begin
SetupSRL;
repeat
MoveNext;
until(false);
end.

sothisiswhereiputmyname

2012-07-07 19:04:23

thanks! as it lookjs now it dosen't wanna run even though it says it is compiled

current script

program new;
//{$I SRL/SRL.Simba}


procedure OneRound(x,y: integer);
begin
//MMouse(x,y,494,414);
//ClickMouse1(true);
Wait(2500);
//ClickMouse1(true);
end;

procedure MoveNext;
begin
OneRound(494,414);
OneRound(392,525);
OneRound(487,617);
OneRound(581,533);
OneRound(708,518);
OneRound(837,529);
OneRound(895,622);
end;

begin
//SetupSRL;
repeat
MoveNext;
until(false);
end.

riwu

2012-07-07 21:40:45

Why did u comment out the procedures? Remove all the //

sothisiswhereiputmyname

2012-07-08 05:56:57

i get an error when i do so


Exception in Script: Unable to find file 'SRL/SRL.Simba' used from ''

and when i put // in front of that an error occurs with something else

riwu

2012-07-08 06:32:30

Make sure u have the latest SRL.
http://villavu.com/forum/showthread.php?t=47714

Master BAW

2012-07-08 08:12:49

is pottermore a fun game? :p
fun to hear that simba is not only used for runescape but also for other things/games.

sothisiswhereiputmyname

2012-07-08 08:37:33

im only trying to create for experimental purposes :D but i do have the latest version of simba,downloaded it myself 2 days ago :D and pottermore isn't really a game, it's more of a competition :D which involves some game but not in a big scale

sothisiswhereiputmyname

2012-07-13 22:06:55

my mous erefuses to move to the spots…i double checked the cordinates but it just spasms around for some reason