SRL Archive - OSR Help

RandomEvents


superhuman

2013-03-31 04:27:39

Would someone please guide me on how to add randomevent solvers into scripts, or link me to the guide

thanks

Sjoe

2013-03-31 04:30:52

call FindNormalRandoms; throughout the script.

Just use it at a lot of places :p

superhuman

2013-03-31 04:42:36

From: Sjoekeloe
call FindNormalRandoms; throughout the script.

Just use it at a lot of places :p


:L what do u mean call, im kinda a newfag to this type of stuff sorry

do you mean just add that randomly throughout the script?

can you maybe copy a part from a script you have with the FindNormalRandoms; in it to give me an idea

superhuman

2013-03-31 08:17:29

anyone?….

Rawrr voids

2013-03-31 09:35:31

need help also with this

Total

2013-03-31 09:39:34

From: superhuman
anyone?….


From: Rawrr voids
need help also with this


Pretty much yes, you just add it anywhere you would want to find randoms. For example, if you make a woodcutting script you might want to put it into your loop that you have while waiting for the tree to run out of logs.

Rawrr voids

2013-03-31 09:44:23

is it so hard to give example script where it is shown?

Total

2013-03-31 09:49:34

I gave an example, I guess you want a snippet?


while Woodcutting do
begin
FindNormalRandoms;
Wait(500);
end;

Woodcutting would be a procedure that you use to see if you are woodcutting, such as pixelshift.

superhuman

2013-03-31 18:08:10

thank you^

why dont people who make the script include these anyway ?

Hoodz

2013-03-31 18:13:20

From: superhuman
thank you^

why dont people who make the script include these anyway ?


Not everyone uses osr-srl (most of them the p07include) and not every random is supported yet

Linus

2013-03-31 22:40:53

From: Sjoekeloe
call FindNormalRandoms; throughout the script.

Just use it at a lot of places :p


Or you could just call it once in main if you're lazy

Sjoe

2013-03-31 22:42:05

From: Linus
Or you could just call it once in main if you're lazy


Doesn't work that way :) Call it at every place where a random might pop-up.