grats
2011-04-08 04:40:32
Is there a way to make smart not have to reopen when you change a script?
2011-04-08 04:40:32
2011-04-08 04:46:42
const
World = 0; //world to load ( 0 will load random) <------ THIS ONE HERE
Signed = True; //signed client(true) or unsigned (false)
SRLStats_UserID = ''; // Your SRL Stats Username (ID didnt work for me)
SRLStats_Password = ''; // Your SRL Stats Password
WorldSwitching = True; //want to world switch?
SmartDebugReport = True; // will paint report on smart (10 players for this to work best)
Smart_Server := World;
Smart_Signed := Signed;
2011-04-08 04:49:00
2011-04-08 04:50:42
2011-04-08 04:52:20
From: Flight
I think Bob is right about that, if you have multiple scripts and you load smart in, let's say, world 103, then stop that script and load another that has the world defined at 103, Smart will stay. Atleast that's how it works for me.
2011-04-08 04:53:20
From: grats
So if all of mine are 0 (or any other number) it won't reopen?
even though 0 is random?
or do I have to use a non random world
and is there any blunt explanation on what "smart servers" are, originally (long time ago) I thought the smart server = the runescape server it loaded.. but that's not the case
2011-04-08 04:54:45
From: Bobzilla69
smart world = smart server = runescape server.
0 is a random world, so if you change that to 80 it will load server 80 all the time and smart wont close. if you leave it at 0, each time it will load a random world so smart will reopen
2011-04-08 04:58:30
WorldInfo := [False, -1, False]; //members, world (-1 is random), pvp
SelectWorld(RandomWorld(Players[CurrentPlayer].WorldInfo[0], Players[CurrentPlayer].WorldInfo[2] ));
2011-04-08 05:04:05
From: Bobzilla69
Just because you load server 80 dosnt mean your going to enter world 80, the server is independent of the world.
if you want the same world all the same you need to use
WorldInfo := [False, -1, False]; //members, world (-1 is random), pvp
thats in your declared players and specifies what world to log into.
edit:
SelectWorld(RandomWorld(Players[CurrentPlayer].WorldInfo[0], Players[CurrentPlayer].WorldInfo[2] ));
this will log in a different player into a different world if your using a multiplayer script.
i think normal loginplayer should do the same, not sure
2011-04-08 05:12:13
2011-04-08 05:14:04
From: Bobzilla69
Smart_Server := 48;
has to be the same in each script thats the important one.
as long as you use the same simba window to rune a different script it should be fine, well its always fine for me.
try simply coping the script instead of using open and see if that makes a difference.
edit:
yes i think different tabs matter
2011-04-08 06:40:01
2011-04-08 07:35:33
From: Bobzilla69
Ok good to hear its working :)
i think it might have been the multiple tabs that caused the problem, i usually only use one tab and one script over and over when testing.