Is there a way to make smart not have to reopen when you change a script?
Is there a way to make smart not have to reopen when you change a script?
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
set the Smart server to the one thats loaded when the script starts
in my ratinator its
Simba Code: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)
which is linked to
Simba Code:Smart_Server := World;
Smart_Signed := Signed;
in my setup procedure
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
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
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.
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
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
Simba Code:WorldInfo := [False, -1, False]; //members, world (-1 is random), pvp
thats in your declared players and specifies what world to log into.
edit:
Simba Code: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
Last edited by Bobzilla69; 04-08-2011 at 09:00 AM.
hmm idk how to get it from not closing my smart then..
I tried two scripts with
Smart_Server := 48;
Smart_Members := True;
Smart_Signed := True;
& they closed every time I tried (tried a few times) when I switched the scripts.. but if I stopped the script I loaded smart with and then restarted it would run fine
even when I tried to do the smart_server=the world I am on
didn't work either
I run them in separate tabs on simba (not a different simba) if that matters
Last edited by grats; 04-08-2011 at 09:06 AM.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
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
yea all the scripts are = 48
do you mean just copying the script into the same tab? (deleting the other script in there) & having them the same world? I'll try that now
alright sweet! it worked second time I tried it (not sure what I did first time)
but thanks so much, hopefully it continues to work :P
Last edited by grats; 04-08-2011 at 09:19 AM.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
There are currently 1 users browsing this thread. (0 members and 1 guests)