Solzhenitsyn Posted October 12, 2016 Share Posted October 12, 2016 (edited) Does anyone know how to do this? There are some get methods in the client class, but I don't see any way to modify their values. Edit: Specifically, I want to be able to force the client to ignore user inputs and to force random dismissal on. Edited October 12, 2016 by Solzhenitsyn Quote Link to comment Share on other sites More sharing options...
Alek Posted October 12, 2016 Share Posted October 12, 2016 You will not be able to modify any settings set by the botter, they have the higher privileges. Edit: Example: breaks, human input, f2p/p2p world, etc. 1 Quote Link to comment Share on other sites More sharing options...
Team Cape Posted October 12, 2016 Share Posted October 12, 2016 I want to be able to force the client to ignore user inputs thats really, really sketchy 2 Quote Link to comment Share on other sites More sharing options...
Solzhenitsyn Posted October 12, 2016 Author Share Posted October 12, 2016 (edited) thats really, really sketchy It's because I'm using a mouse listener to to add user input to the event queue so that they will not interrupt the script logic. I wish you wouldn't assume the worst about my intentions, especially considering I typically make scripts for my own personal use. Edited October 12, 2016 by Solzhenitsyn Quote Link to comment Share on other sites More sharing options...
dmmslaver Posted October 13, 2016 Share Posted October 13, 2016 It's because I'm using a mouse listener to to add user input to the event queue so that they will not interrupt the script logic. I wish you wouldn't assume the worst about my intentions, especially considering I typically make scripts for my own personal use. I would like to see an answer to this as well. The bots over obfuscation really limits script flexibility for fully automated farms. Quote Link to comment Share on other sites More sharing options...
Alek Posted October 14, 2016 Share Posted October 14, 2016 Was my answer not good enough for you @dmm_slayer? Quote Link to comment Share on other sites More sharing options...
Abuse Posted October 14, 2016 Share Posted October 14, 2016 (edited) I don't see any reason why it's hindering you. Break handler in the way? Make your own Login Handler override? It's possible Dismiss randoms? Enable it once, quit client, restart and it's on until the next time you disable it, or write your own Capture user input? Paint a canvas sized element that is transparrent and captures clicks ... Edited October 14, 2016 by Abuse 1 Quote Link to comment Share on other sites More sharing options...
Lemons Posted October 15, 2016 Share Posted October 15, 2016 (edited) From what I understand you want to capture if a user clicks somewhere, and add it to the event queue to the bot will execute that sometime in the future. Capturing the user input is actually easier than you'd think: private BotMouseListener listener = new BotMouseListener() { // Required funcs @ Override public void mouseReleased(MouseEvent e) {} @ Override public void mousePressed(MouseEvent e) {} @ Override public void mouseExited(MouseEvent e) {} @ Override public void mouseEntered(MouseEvent e) {} @ Override public void mouseClicked(MouseEvent e) { if (e.getPoint().equals(getMouse().getPosition())) return; // The bot generated this click, ignore it if (getClient().isHumanInputEnabled()) return; // Ignore incase they have human input enabled // Queue human interaction or w/e } } // Then add these lines to script startup getBot().getCanvas().addMouseListener(listener); // Then add these lines to script stop getBot().getCanvas().removeMouseListener(listener); From here you can make a queue that your script can process when it is ready. Edit: Also in the future, its usually easier to explain your end-game (in this case queuing user actions to be performed by the bot). Tends to get more possible solutions quicker. Edit2: OSBot don't like my "@ Override" (references some banned dude lol), so had to add spaces. Heres a pastebin: http://pastebin.com/kVzsuAba Edited October 15, 2016 by Lemons Quote Link to comment Share on other sites More sharing options...