SRL Archive - OSR News and General

[tip] old school running trick


Nebula

2013-06-15 15:36:22

I see a lot of people using SetRun(true) to run in old-school runescape, Ex:

procedure move;
begin
SetRun(true);
mouse(x, y, 2, 2, true); //or whatever function you're using to walk
end;

Holding the control key while clicking to move makes your player run, removing the need to switch to the settings tab.

Simply add KeyDown(17) before and KeyUp(17) after your movement click. Ex:


procedure move;
begin
KeyDown(17);
mouse(x, y, 2, 2, true); //or whatever function you're using to walk
KeyUp(17)
end;

Thank you for your time.
~nebula

samerdl

2013-06-16 00:43:02

Nice, never really liked the Control Key for running and never used it :), but this is useful

Deni_mulic

2013-06-16 18:11:16

Pretty much a crutch for me when I pk, always assumed it was common knowledge

samerdl

2013-06-17 02:23:21

From: Deni_mulic
Pretty much a crutch for me when I pk, always assumed it was common knowledge



Is it possible to walk using this? like the only reason i don't use this is because once you press control + mouse_left your suspended in running, and the only way to walk again - while your running towards the red flag on minimap is to go to the run tab and set run off.

Anyway around this?

Deni_mulic

2013-06-17 14:39:27

I just click the square in front of my char if I want to stop running.

gotilo12

2013-07-26 15:00:19

From: Deni_mulic
Pretty much a crutch for me when I pk, always assumed it was common knowledge


never knew that and ive played since 04… im dumbfounded

cause

2013-07-28 22:34:29

You should probably add some random waits in there ya? (between depressing and releasing the key that is)

Nebula

2013-07-28 22:36:54

From: cause
You should probably add some random waits in there ya? (between depressing and releasing the key that is)


probably, but what I posted was just an example of how to include the trick in your script. I didn't go crazy with anything

cause

2013-07-28 23:48:09

From: Nebula
probably, but what I posted was just an example of how to include the trick in your script. I didn't go crazy with anything


Gotta hand hold a little around here eh ;)

mcbain

2013-08-28 21:28:16

From: gotilo12
never knew that and ive played since 04… im dumbfounded


Yepp me too haha!