SRL Archive - OSR Help

FindNormalRandoms and such


gerauchert

2012-02-08 10:56:18

I was hoping to find out some details about utilizing FindNormalRandoms in my mainloop. As of right now, the script I wrote functions perfectly, but when it deals with randoms it gets screwy.

If I were to do something like this:

if FindNormalRandoms then
ect ect...

does it mean anything other than "a random was detected"? For example, if the random was detected but failed to solve, would it result true or false? I guess I always thought you just had to call FindNormalRandoms, and it the include would do the rest… but I am having times where it just gets stuck in the mainloop without logging out of the random and switching to the next player.

If anyone would care to clarify this for me it would be most appreciated :)

Shuttleu

2012-02-08 11:10:08

FindNormalRandoms does solve the randoms too

it returns true if it found a random and attempted it

its just the random solvers, they are a bit touchy, but hopefully they wont be soon

~shut

gerauchert

2012-02-08 12:44:03

From: Shuttleu
FindNormalRandoms does solve the randoms too

it returns true if it found a random and attempted it

its just the random solvers, they are a bit touchy, but hopefully they wont be soon

~shut


Yup I know it solves 'em, just needed to know what makes it go true or false. Thank you for the clarification. Now I can write a failsafe just in case of the "touchiness" reoccurring.

Expect a release soon ;)