Jump to content

Camaro

Scripter II
  • Posts

    692
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Camaro

  1. Check what the logger says
  2. You would have to store the value in a variable when opening the bank. There is no way to tell without having it open.
  3. If youre fine with having no gui, you could use windows cotnainers. If you figure out how to run mirror mode on linux, theres a pretty convenient docker extension the uses x11 https://github.com/mviereck/x11docker I think docker's native proxy settings use http proxies, not socks. Although programs such as proxychains can help out proxy only the osrs client on linux
  4. You can find it here https://osbot.org/mvc/sdn2/scripts/22
  5. Lend an account with a cannon and I'll see what I can do
  6. Wouldnt it be easier for a 'Packet' to only contain one String which senders and receivers can parse accordingly? That way, the protocal can know even less about the data being sent and theres no need to define multiple 'Packets'
  7. You could also fix that by calling MP.exchangeContext(getBot()) in onStart()
  8. Seems to work fine for me. Print userChoice to the logger at the end of onStart and see if you see the result.
  9. Very strange that both of them would log out. Can you post what is in the logger?
  10. Camaro

    Proxy

    Scripts have the ability to change the top bar to whatever they want
  11. private final BotMouseListener listener = new BotMouseListener() { @Override public void checkMouseEvent(MouseEvent mouseEvent) { //do stuff } }; @Override public void onStart() { getBot().addMouseListener(listener); } @Override public void onExit() { getBot().removeMouseListener(listener); }
  12. Set artifact build output directory to osbot\scripts folder, set artifact to build on project build, map ctrl+s to be a build project hotkey, boom 1 second rebuilds. But either way, interesting stuff, good job.
  13. I dont see why not, are you having issues?
  14. you're supposed to PM the scripters in the private script section, not make your own post. Try again, maybe you'll have better odds.
  15. Click that button until it looks just like that.
  16. new ConditionalSleep(MethodProvider.random(10000, 10000)) { @Override public boolean condition() throws InterruptedException { return CurrentWorld == HoptoWorldfinal; } }.sleep(); that will never work since you never update the values. do this instead new ConditionalSleep(MethodProvider.random(10000, 10000)) { @Override public boolean condition() throws InterruptedException { return script.getWorlds().getCurrentWorld() == HoptoWorldfinal; } }.sleep();
  17. Not possible yet
  18. You have to enable human input on the actual osbot client. Then you can draw an area on the screen
  19. Not sure exactly how that works, but this might Player p = getPlayers().singleFilter(p -> p != null && p.getName().replace(" ", "").equals("namewithoutspaces"))
  20. Why do you need to take the spaces out in the first place?
  21. Just realized what youre trying to do Player Name = getPlayers().closest("Example Name"); Name = Name.replace(' ', '_'); Name is a Player instance. Youre trying to call a String function Player player = getPlayers().closest("Example Name"); String name = player.getName().replace(' ', '_'); also forget what I said above, single quotes work fine
  22. need double quotes Name.replace(" ", "_");
  23. fix is submitted, will be ready by tomorrow
  24. Ive used this at hill giants, moss giants, lesser demons, and tzhaar successfully. @omgpros @Lol_marcus I know you two have used this a ton, which locations seemed to work the best?
  25. Last thing, you should only sleep if the interact was successful if (FISH.interact("Bait")) { new ConditionalSleep(Script.random(10000, 15000)) { public boolean condition() throws InterruptedException { return !myPlayer().isAnimating(); } }.sleep(); }
×
×
  • Create New...