SRL Archive - S.M.A.R.T. Tutorials

SMART - signs into non-member world??


Laughinn

2011-02-25 02:10:59

Hello , I have ran my Simba/script for a month now perfectly .All the sudden everytime i run my script it says everything correct to go into a members world , but SMART itself always selects a non-member world. why is this? please help

Using: Multifighter.

Train

2011-02-25 02:29:20

Do you set your WorldInfo correct?

Laughinn

2011-02-25 02:59:19

Const
World = 151; // World number?
Members = True; // Members world?
Signed = True; // Signed client?

Wanted

2011-02-25 03:14:01

I'm positive it is because you haven't set WorldInfo or Members for your player so by default it is False (Free worlds)

You haven't noticed it before since I recently updated SRL's worldswitcher to work.

You can fix this one of a few ways

.Member := True;

.WorldInfo := [Memebrs(true/false], -1, PVP Allowed (true/false)];

.WorlddInfo := [Members[true/false), WorldNo];

The first one is just a random members world that uses the global variable AllowPVP. The 2nd one is a random world with set pvp per player. And the third is a specific world number.

Laughinn

2011-02-25 03:49:29

Wow! , thanks so where exactly would i put this code? and if i wanted it on world 131 what would i do?

Laughinn

2011-02-25 04:05:38

i have this

Const
World = 151; // World number?
Members = True; // Members world?
Signed = True; // Signed client?

so how would i change it to work again?

Laughinn

2011-02-25 04:12:36

or which line will i have to put it as?

Echo_

2011-02-25 07:21:48

Put it in the DeclarePlayers procedure.
  Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
Players[0].Pin := '';
Players[0].Member := True;
{use this for randomized world switching}
Players[0].WorldInfo := [Members(true/false], -1, PVP Allowed (true/false)];
{or this to switch to a specific world}
Players[0].WorldInfo := [Members[true/false), WorldNo];

Please refrain from triple posting next time.