SRL Archive - OSR Help

Client Issue


exo89

2013-03-27 05:46:03

Hello guys. First off, I am new here so please go easy. I am still very much new to the language and simba. I am working on my first script and have filed down the errors to just one that I cannot seem to figure out.

in this line of code I get the error:

begin
Smart_Server := 0; // If I comment out these first two lines of code
Smart_Members := True; // the script will work but it loads the wrong client...
ActivateClient; // Not the oldschool client
SetupSRL;
Declareplayers;

The oldschool client pops up on other scripts so I know that is not the issue. I assumed it lied within 'ActivateClient;' but could not figure out any commands on how to call the old school server directly in the script. Any advice is greatly appreciated as I fully plan on sticking around and releasing some scripts.

Thanks

Sjoe

2013-03-27 06:02:33

I assume u have SRL-OSR and P07Include installed.

If using SRL-OSR then call it on the top of your script with {$i SRL-OSR\SRL.simba}

if using P07Include then call it on the top of your script with {$I P07Include.Simba}
and
call SetupP07Include; in your script after SetupSRL; (mainloop)

exo89

2013-03-27 21:56:14

From: Sjoekeloe
I assume u have SRL-OSR and P07Include installed.

If using SRL-OSR then call it on the top of your script with {$i SRL-OSR\SRL.simba}

if using P07Include then call it on the top of your script with {$I P07Include.Simba}
and
call SetupP07Include; in your script after SetupSRL; (mainloop)


tyvm for your help, I really appreciate it.

Now onto more errors w00h00! lol