View Full Version : smart help
grats
04-08-2011, 08:40 AM
Is there a way to make smart not have to reopen when you change a script?
Bobzilla69
04-08-2011, 08:46 AM
set the Smart server to the one thats loaded when the script starts
in my ratinator its
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
Smart_Server := World;
Smart_Signed := Signed;
in my setup procedure
grats
04-08-2011, 08:49 AM
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
Flight
04-08-2011, 08:50 AM
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.
grats
04-08-2011, 08:52 AM
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.
Yea that makes sense (I didn't even think of that) but I'll definitely start putting the same world on all the scripts I use for my main
Bobzilla69
04-08-2011, 08:53 AM
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
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
grats
04-08-2011, 08:54 AM
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
not once have I seen smart load the world I selected on runescape though :blink:
everytime.. it's random, if I choose smart world.. 3 it can be any rs world that I get loaded into
Bobzilla69
04-08-2011, 08:58 AM
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
grats
04-08-2011, 09:04 AM
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
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
Bobzilla69
04-08-2011, 09:12 AM
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
grats
04-08-2011, 09:14 AM
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
Bobzilla69
04-08-2011, 10:40 AM
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.
grats
04-08-2011, 11:35 AM
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.
Yea definitely the multiple tabs causing it... I tried everyway possible with multiple tabs.. and right when I tried a single tab it worked fine :P
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.