SRL Archive - OSR Help

Out Of Range in FindNormalRandoms


ForgotMyName

2010-03-02 00:47:39

When I try to call FindNormalRandoms, I get the following error. As far as I know I have the latest SCAR and SRL.

[Runtime Error] : Out Of Range in line 896 in script C:\Documents and Settings\*****\Desktop\scarprerelease\includes\SRL\SRL\Core\AntiRandoms\AntiRandoms.scar


I would appreciate if someone could help me get this to work.

EDIT:

Taking it out, I get a different error:

[Runtime Error] : Exception: Can't allocate the DIB handle in line 545 in script C:\Documents and Settings\*****\Desktop\scarprerelease\includes\SRL\SRL\Core\Text.scar

YoHoJo

2010-03-02 00:52:45

DIB errors are poop.
Either just restart scar and try again OR in scar do Client>Reset Specified Window (drag your crosshair again if you are not using smart, if you are, then just run the script again w/o dragging crosshair)

Remember, when using SMART you DO NOT need to target anything with crosshairs.

:ninja: IceFireBotch!

marpis

2010-03-02 07:13:03

For the Out of range error, you must set NumberOfPlayers(1) and change the number to how many players you're using

ForgotMyName

2010-03-02 11:41:05

Thanks! Could you elaborate further, though? To what extent do I need to set up the users table if my script doesn't use that functionality? I currently have it set to do work assuming you're already logged, rather than any sort of user switching.

Bionicle

2010-03-02 16:01:24

You should have a DeclarePlayers section, do you know how to set one up?

ForgotMyName

2010-03-02 16:29:17

From: bionicle1800
You should have a DeclarePlayers section, do you know how to set one up?


I have the players array working, and I think the error is gone, at least for now. Thanks though.

Bionicle

2010-03-02 16:32:15

From: ForgotMyName
I have the players array working, and I think the error is gone, at least for now. Thanks though.


Yea, you need to have the player stats to use FindNormalRandoms :p