SRL Archive - OSR Help

Help me with srl-6


tocxic1

2013-11-03 17:39:17

I need some help to Declare Players and using the rafiki thing because i added 40 accounts to rafiki stuff and i don'tknow how to use them can anyone give me an example please?

Olly

2013-11-03 18:11:56

From: tocxic1
I need some help to Declare Players and using the rafiki thing because i added 40 accounts to rafiki stuff and i don'tknow how to use them can anyone give me an example please?


https://github.com/SRL/SRL-6/blob/master/lib/core/players.simba#L241

Soo.. players.setup(['woodcutter1'], 'rafikifilenamehere') would load the player that either nickname, display name, or login name with 'woodcutter1'.

tocxic1

2013-11-03 18:49:53

now i'm getting this error….
Exception in Script: No default value for parameter 2 found at line 17, column 11

and i got…
players.setup(['mellamo151@hotmail.com', 'mellamo152@hotmail.com'], 'Spam');

Olly

2013-11-03 20:27:45

From: tocxic1
now i'm getting this error….
Exception in Script: No default value for parameter 2 found at line 17, column 11

and i got…
players.setup(['mellamo151@hotmail.com', 'mellamo152@hotmail.com'], 'Spam');


Compiled successfully in 813 ms. works for me. your error must be on another line..