Log in

View Full Version : How to remove smart from a script



Footy
06-26-2012, 07:13 PM
Hey guys, So some of you probably know from my exessive questions that my smart doesent work right now. I know whats wrong, but I cant fix it atm. Is there a way to make a script that was made for smart into a script compatible with the browser? someone told me to remove the {smart/srlxxx} whatever that stuff is at the top, but that didnt work. Suggestions?
Thanks!
Foooty

Based Lord
06-26-2012, 07:27 PM
Hey guys, So some of you probably know from my exessive questions that my smart doesent work right now. I know whats wrong, but I cant fix it atm. Is there a way to make a script that was made for smart into a script compatible with the browser? someone told me to remove the {smart/srlxxx} whatever that stuff is at the top, but that didnt work. Suggestions?
Thanks!
Foooty
Comment out the {DEFINE SMART} at the top by adding // before it
And then use the crosshair tool on the RS Window you are wanting to work with

Footy
06-26-2012, 07:59 PM
I try that, but it usually doesent work... I'll try again when I get back to my computer

Based Lord
06-26-2012, 08:07 PM
Well that is what tells the bot to start SMART if that is not working I don't know what to tell you.

Footy
06-26-2012, 08:30 PM
I just tried it with your alcher, it opens the magic tab, then freezes as if it cant find the alch button.

P1ng
06-26-2012, 11:43 PM
I actually did a large part of my testing with smart commented out and running in my normal browser on my alcher.
You have to make certain you grabbed the right window with the crosshair and have the smart include commented out but apart from that most scripts will work fine unless they have a paint debug...

Footy
06-27-2012, 11:06 AM
I did try yours, but I'll try it again later. Maybe my settings in RS are wrong.

P1ng
06-27-2012, 01:19 PM
Make sure everything is off, low detail and highest brightness. Also, perhaps try closing closing and re-opening simba.

EDIT: Saw your post on my thread.

wantonman
06-28-2012, 07:53 AM
only reason 2 not use smart is if you lag or have low ram... other than that your experimenting or just not wanting to use it you can comment out define smart at top and also comment out anything smart related... usually your debug box will let you know... when doing so make sure you manually target the client and log in yourself...


//{$define SMART} this is commenting out
{$i srl/srl.simba}

begin
// wrap what i wrapped {} like that no need anything smart related

{
Smart_Server := 30;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
}
ClearDebug;
SetupSRL;
// DeclarePlayers; dont need this
// LoginPlayer; dont need this

end.

P1ng
06-28-2012, 09:11 AM
You don't need to comment out the SMART setup, just by commenting out {$DEFINE SMART} at the top will do.

Also declareplayers and loginplayer still work in clients other than smart so there is no need to comment them out or login yourself.

Sir Ducksworthy
06-28-2012, 12:56 PM
P1ng, is correct you certainly can use the benefits of Declare Player for Multi Player usage and Automatic Logins + Breaks.

But I am sure you should do away with the Smart setup in case any errors pop up.

P1ng
06-28-2012, 01:53 PM
But I am sure you should do away with the Smart setup in case any errors pop up.

Yet to have run into any errors without the SMART setup commented out during use and/or testing of any script I've used/written. But I can imagine it might speed things up/it wouldn't hurt to do so.