Jump to content

Camaro

Scripter II
  • Posts

    690
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Camaro

  1. So... in a lot of these methods, you're calling getWidget() multiple times back to back. This stresses the MethodProvider more than it has to as it retrieves an instance of this object every time you call it. You should only call the getWidget() method once in the entirety of the method you're using it in. For example, private boolean isMyWidgetWorking() { RS2Widget wid = getMyWidget(); return wid != null && wid.isVisible(); } Also, having the above method just to check if the widget is working isn't really necessary. Just put it right in the if condition in onLoop(). Finally, I hear getWidget().singleFilter() works pretty nice
  2. Here's a little class to help execute a self-contained loop under a certain condition Usage
  3. Making the account is a completely separate process from doing tut island. First, you would have to make a program that would generate an email address and then register an account on the runescape site. After that is complete, you could start the osbot client through CLI in that same program (think python subprocess module) and pass the email and password as parameters. Along with that, you would pass the name of a script that would complete tutorial island. Multithread, and you have millions of accounts instantly.
  4. The XCharacter interface seems to have some methods related to hitsplats that you could try to mess around with. Once you have a player object, you can access these by player.accessor. I would probably set off an async event to loop over all players and check their hitsplat info individually.
  5. The condition() method gets called in the super class. It stops sleeping as soon as condition() return true. basically; while (condition() == false) { sleep(sleepTime) if (System.currentTimeMillis() > startTime + maxSleepTime) { break; } } And that's coming from the ConditionalSleep class's sleep() method in the decompiled osbot jar
  6. Doesn't have to necessarily be anti botting. Any messages that come up in the chatbox show like that on tutorial island, including when you examine stuff. I think they recently added that unlocking songs generates a game message, but im not sure.
  7. Amazon elastic ip, only I had access. Although there could be the chance that someone used it for that before I allocated it
  8. VirtualBox is a type-2 hypervisor, which means it runs on top of your operating system. A type-1 runs directly on the hardware and requires less resources. It may be worth looking into a type-1 hypervisor if he wants to go down that route https://www.linux-kvm.org/ https://www.funtoo.org/Windows_10_Virtualization_with_KVM
  9. Created account last night on an Amazon EC2 IP, hand did tutorial island, didn't touch overnight. Woke up this morning and the account is now banned. And here I was thinking that using Amazon IP's would save me from my troubles.
  10. That could happen if your hitpoints level is very low. Added a check so that shouldn't happen anymore. v0.11 The defaults (4 lobster, 18 mind bombs) seem to be best for 20 def, 30 hitpoints, and 33 - 40 magic. Less def and hp should use more lobsters, higher magic can use less mind bombs. really whatever you find leaves you with the most wine at the end of a run. Also id be careful about afking with low hp and def, death walking isnt implemented... yet
  11. I actually posted a similar topic not too long ago Seems like most are saying it doesn't make a difference. I have yet to try it out so i'll do that soon and let you know.
  12. Still looking for an answer if anyone knows
  13. Hey guys, made a simple script to telegrab wine of zamorak from the non-wilderness alter on F2P worlds. The only skill requirements are 33 magic (for telegrab) and 20 hitpoints as the monks do some damage when you grab the wines. The script will not work with anything less. Features teleport banking to falador. Option can be set before level 37 and the script will automatically enable teleporting when 37 magic is reached. In order to run, you need to have a staff of air equiped and food of choice, wizard's mind bombs, and law runes in the bank. I plan on adding more features if this becomes popular, upper floor, ge support, and whatever else should be added. CLI args: -script 1101:1-2-3-4-5 where 1, 2, 3, 4, 5 are the worlds to use.
  14. In project structure, go to artifacts. Under available elements, right click the library you want and select "Extract into Output Root". Rebuild.
  15. Are you sure that it's working correctly to begin with? Last time I checked, the http://api.rsbuddy.com/grandExchange?a=guidePrice&i=x link doesn't work anymore.
  16. Oh wow, I had no clue about this. Although, wouldn't the client have to be restarted in order for changes to a script to take effect?
  17. Nope, scripts have to run through the osbot jar which is a separate process from the IDE
  18. Oh though you meant as antiban. Maybe, I've seen that happen. My accounts get banned quickly so I cant make any assumptions.
  19. It means you could have botted for a whole 40 min
  20. Deeply nested if statements are a sign of bad programming styles. nevertheless, people do it. A function should only represent one purpose.
  21. I've told him before, this is the issue. Unfortunately, creating a custom a world-hop class may not help here. The auto-login handler will fire even if a blank script is running and you manually hop through worlds.
×
×
  • Create New...