Wanted Posted September 19, 2011 Share Posted September 19, 2011 Rev 41+ These scripts all show you different proper ways to use SMART with OSI. Edit: Updated way to use SMART with OSI http://wiki.scar-divi.com/osi/index.php?title=Using_SMART_with_OSI Each different way serves a different purpose. Test script 1 [sCAR]{$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} {.include OSI\OSI.scar} begin SetUpOSI; FreeOSI; end.[/sCAR] Test script 2 [sCAR]{$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} {.include OSI\OSI.scar} begin SMART_Server := 1; SMART_Members := False; SMART_Signed := True; SMART_SuperDetail := False; SetUpOSI; FreeOSI; end.[/sCAR] Test script 3 [sCAR]{$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} {.include OSI\OSI.scar} begin NonAutomaticSMART := True; SetUpOSI; //SomeStuff InitiateSMART; FreeOSI; end.[/sCAR] Test Script 4 [sCAR]{$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} {.include OSI\OSI.scar} begin NonAutomaticSMART := True; SMART_Server := 1; SMART_Members := False; SMART_Signed := True; SMART_SuperDetail := False; SetUpOSI; //SomeStuff InitiateSMART; FreeOSI; end.[/sCAR] Test Script 5 [sCAR]{$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} {.include OSI\OSI.scar} begin NonAutomaticSMART := True; SetUpOSI; //SomeStuff SmartSetupEx(1, False, True, False); FreeOSI; end.[/sCAR] Quote Link to comment Share on other sites More sharing options...
Zyt3x Posted September 19, 2011 Share Posted September 19, 2011 Would be nice if you added what purpose you'd use the different ways in Quote Link to comment Share on other sites More sharing options...
Wanted Posted September 20, 2011 Author Share Posted September 20, 2011 Anyone who has a reason to use anything other than test script 1 should be able to figure that out intuitively. Quote Link to comment Share on other sites More sharing options...
Zyt3x Posted September 21, 2011 Share Posted September 21, 2011 Would be nice if you added what purpose you'd use the different ways in ..... Quote Link to comment Share on other sites More sharing options...
Wanted Posted September 22, 2011 Author Share Posted September 22, 2011 I thought it was pretty obvious but I guess I am going to write the documentation for it on the wiki manual anyways. Script 1 is standard usage. Define SMART, SMART opens when you call SetupOSI. Yes I solved the stupid SRL problem where SMART closes when you stop and rerun a script. Why SRL hasn't solved that I have no idea. Script 2 is for people who for some reason like to mess with SMART_Server etc. SMART opens when you call SetupOSI; Script 3 demonstrates the use of NonAutomaticSMART where if you want to do something after SetUpOSI but before SMART comes up you can. Script 4 combines the idea of Script 2 and Script 3 Script 5 is the same as Script 4 but you can use SmartSetupEx directly. Useful to this thread.... Does anyone know any details about SMART not using safemode? Quote Link to comment Share on other sites More sharing options...
Zyt3x Posted September 22, 2011 Share Posted September 22, 2011 Useful to this thread.... Does anyone know any details about SMART not using safemode? Well what are you wondering about?The last param in SmartSetup (the 's' one) tells SMART to hold down the key 's' during runescape is setting up, which causes it to go into safemode. To disable this just remove the param. SMART should work just fine with other game modes, but AFAIK you'll still have to be in 'Fixed' game mode E: Nice @ Explanations Maybe combine them with the OP? Quote Link to comment Share on other sites More sharing options...
Wanted Posted October 2, 2011 Author Share Posted October 2, 2011 http://wiki.scar-divi.com/osi/index.php?title=Using_SMART_with_OSI Quote Link to comment Share on other sites More sharing options...