Jump to content

Apaec

Scripter III
  • Posts

    11146
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Apaec

    APA Chest Thiever

    Sure - trial activated And yes you're correct, you get permanent access and it's a one time charge
  2. Yeah The trial restriction is just to prevent people creating new OSBot accounts just to get a trial -Apa
  3. You're correct, he's comparing two Enum values. It will return false for every value of the variable 'currentFishType' apart from when currentFishType has the value FishingType.LEVEL It's a weird way of laying out code -- it is not very good practice to have an enum value which holds falsified/placeholder data, but hopefully you understand why the comparison works now -Apa
  4. Unfortunately, as is the case with all other scripters, I am not allowed to offer trials to users whose OSBot accounts are under a week old (this is an OSBot rule). Sorry about that - please come back in a week! Apa
  5. Hey, I'm not sure if there's much I can do about this but I see the issue and will look into options Thanks for the suggestion! Apa
  6. Both trials activated @droe32 I would strongly suggest against botting on any account you care about losing. No script is safe from bans - please keep this in mind! Apa
  7. Cheers for helping out with the questions Malcolm, really helpful! you're a very good teacher Apa
  8. Looks like the signatures are currently down (i'm working to get them back up!) When they're back up, your signature will be available at this url: http://ramyun.co.uk/sandcrab/oo159oo.png GL Apa EDIT: signatures are back up and running! The link should now work
  9. Sure - trial activated Apa
  10. It would be easier to properly understand the API with a good understanding of Java. That being said, you don't need to understand it to use it Your code is quite odd - it certainly isn't doing what you think that it is doing. It might be worth visiting some very basic java tutorials to get a feel for variables and conditionals before working further on this -Apa
  11. Both trials activated Apa
  12. Apologies, maybe I phrased my first reply a little ambiguously.. You're right in that the while loop will re-check if freeFish is null with each iteration, but my point was that freeFish will never go to null, because you initialise it but never update its value. This is the same reason that the following code will be stuck in a permanent loop: int aNumber = 5; while (aNumber != 0) { system.out.println("aNumber is still not 0!"); } In the second part of your reply, you seem to hint that looping through the whole script just to check if there are some fish to pick up is a bad thing, when in reality, that is exactly the situation we want to be in. Regularly checking the game state and acting on it is the best way to make a responsive and reliable script, and the best way to achieve this is to have onLoop being called very frequently, with all game interaction being non-blocking. It's hard to explain but it comes with practice: keep at it and your understanding will grow You're doing great so far -Apa
  13. Avoid while loops when writing scripts for OSBot, since this is a live game, getting stuck will happen often. The reason the null check doesn't break out of the loop is because you're null checking a variable after you assign it. The variable will never go back to null on its own, unless you change it! (This is fairly basic java, be sure to revisit a tutorial on variables and variable assignment if you feel you need to ) I'd strongly suggest a restructure so you rely on the continuously looping nature of the onLoop method rather than having your own sub-loops and sacrificing game state awareness. However if you really wanted to update your current code to do what you expect, think about re-defining your freeFish variable from within your loop. GL! Apa
  14. Hmm, that's certainly odd. It should check to make sure you're logged in before checking how many casts you have. I'll add this to my list of things to look in to Apa
  15. Unfortunately, as is the case with all other scripters, I am not allowed to offer trials to users whose OSBot accounts are under a week old (this is an OSBot rule). Sorry about that - please come back in a week!
  16. You could always run the setup in a different place, e.g on an old laptop, or in the cloud! Apa
  17. Sure - trial activated !
  18. Hey The object oriented concepts from C# apply with Java, so you can totally learn by trying You can use whatever you want, but I've herd terrible things about visual studio. Much better would be Eclipse or IntelliJ Idea, or a more general editor like Atom, VSCode or Notepad++(I like VSCode) Once you've linked the OSBot jar, yep There's probably a scripting discord but I don't know of it. You can always ask questions in the chatbox, I know lots of scripters hang out there GL Apa
  19. Thanks for the reminder - i'd like to add this, however this script is a little lower down on my list of my priorities for script updates. I hope i'll get around to it in the near future although I cannot make any promises. I'd suggest using an auto-clicker for the time being if you wish to use these new game items Apa
  20. Sure - trial activated! Apa
  21. Hey, Webwalking is no easy task but the OSBot client tackles it well. Due to the scale of its job however, it is understandable that it struggles in some places. As you said, try moving a little closer to sand crabs Apa
  22. Hi, Apologies - I seem to have missed your reply to that thread. I've just started your trial for this script and to compensate for my mistake i've doubled the duration of your trial to 48 hours Best Apa
×
×
  • Create New...