Amberleaf Posted November 15, 2011 Share Posted November 15, 2011 Ok, so i'm trying to free up the mouse while my script is running using SMART but i'm not sure how to implement it into my script do i just throw program New; {$DEFINE RS2} {$DEFINE OSI_Color_Anti_Randoms} {$DEFINE SMART} // Comment out to disable SMART {.include OSI\OSI.scar} procedure ScriptTerminate; begin FreeOSI; end; begin SetupOSI; end. in at the top of my script? because at the minute that isn't working it just disables mouse clicking after opening a window with RS in it and stops the rest of the script. Does my whole script have to be rewrote using the OSI functions in place? Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 15, 2011 Share Posted November 15, 2011 For SMART you have to be using runescape, you can't use it with other games. You should be able to just use any OSI mouse or SCAR mouse functions normally. Quote Link to comment Share on other sites More sharing options...
Amberleaf Posted November 15, 2011 Author Share Posted November 15, 2011 it loads the window but the mouse clicking isn't working.. unless i click the button to disable SMART. any ideas? Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 15, 2011 Share Posted November 15, 2011 When you press disable SMART, you enable manual input, then SCAR can no longer command SMART and you can manually control the client with your mouse and keyboard. When you press enable SMART after that, SCAR can take over again and then you can no longer provide any input aside from keyboard input. Quote Link to comment Share on other sites More sharing options...
Amberleaf Posted November 15, 2011 Author Share Posted November 15, 2011 The problem is that when SMART is enabled it doesn't recognise mouse clicks it moves but won't click? Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 15, 2011 Share Posted November 15, 2011 This is when you run the script with osi included and the SMART and RS2 defines defined? Quote Link to comment Share on other sites More sharing options...
Amberleaf Posted November 15, 2011 Author Share Posted November 15, 2011 yes, it moves as expected but won't click the bank.. trying everything to figure it out.. Quote Link to comment Share on other sites More sharing options...