Log in

View Full Version : SRL/SRL/core/users.scar



rotflmfwao
07-02-2007, 12:45 AM
I keep getting this error when I try to include SRL/SRL.scar, please help me.

Failed when compiling
Line 81: [Error] (539:1): Unknown identifier 'BoolToStr' in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Users.scar

BTW, i did copy the plugins to the plugin folder, if that helps any =P
I know it has something to do with not having the BoolToStr function defined in the SRL/SRL/core/users.scar file (the one about logging in and out)

WriteFileString(charsfile, 'active' + IntToStr(f) + '=' +
BoolToStr(players[f].active) + Chr(13)); //----------THIS LINE
if (FormOption[0]) then

NinjaTerrorist
07-02-2007, 01:10 AM
Im guessing that version of SRL is for Divi and your using SCAR 2.03, thats why it isn't compiling, get SRL 3.7.

Get SRL 3.7 here. (http://www.villavu.com/forum/showthread.php?t=9331?t=10537)

rotflmfwao
07-02-2007, 01:30 AM
Actualy, I think thats right! Thanks a lot Ninja!

NinjaTerrorist
07-02-2007, 01:35 AM
Np. ;)