Jump to content

Nebulae

Lifetime Sponsor
  • Posts

    37
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Nebulae

  1. That should work so long as all of your conditionals are correct. Easiest way to test that would be to just do it. The main things you have to ask yourself is calling any of those other methods while another one is happening going to screw with what your script tries to do? For instance if you call levelUpWhile() and the script is actually banking etc.. As for your second question regarding why sticking else in front of that if statement doesn't work i'm not sure why it isn't working, as logically it should as long as it's formatted like this: @Override public int onLoop() throws InterruptedException { if(!miningArea.contains(myPosition()) || !Banks.LUMBRIDGE_UPPER.contains(myPosition())) { walking(); } else if (miningArea.contains(myPosition())) { levelUpWhile(); mining(); } else if (Banks.LUMBRIDGE_UPPER.contains(myPosition())){ banking(); } return 1000; }
  2. Nevermind.. Just need to wait for OSBOT to update deleting my comment.
  3. Putting a post down for a trail if some of these people don't claim them, been looking into setting up some bots so let me know if they fall through. Looks good though.
  4. Output from log(gRandom(0, 1)) [INFO][Bot #1][09/26 11:36:37 PM]: 1 [INFO][Bot #1][09/26 11:36:37 PM]: 0 [INFO][Bot #1][09/26 11:36:38 PM]: 0 [INFO][Bot #1][09/26 11:36:38 PM]: 2 [INFO][Bot #1][09/26 11:36:40 PM]: 1 [INFO][Bot #1][09/26 11:36:40 PM]: 1 [INFO][Bot #1][09/26 11:36:41 PM]: 0 [INFO][Bot #1][09/26 11:36:41 PM]: 1 [INFO][Bot #1][09/26 11:36:43 PM]: 1 [INFO][Bot #1][09/26 11:36:43 PM]: 0 [INFO][Bot #1][09/26 11:36:44 PM]: 1 [INFO][Bot #1][09/26 11:36:44 PM]: 2 Just to verify doing gRandom(0, 0.5) works the way I want it to.
  5. Hey, I can't seem to figure out another weird bug wondering if you have any input on it kind of related to this I guess. When using gRandom (I know it's deprecated) I set it using gRandom(0, 6) sometimes it appears to generate 10 or other numbers outside of its bounds. An example of what I was doing would be like (1000 + gRandom(0, 6)) this will sometimes output 1011 etc...
  6. Hello, I can't seem to figure out why my script will not move my camera yaw to the exact position I want. I never noticed an issue with this before and it seemed to work fine but now it will sometimes be off ~6 degrees give or take. This is weird because in my script every loop I have it check to make sure the getCamera().getYawAngle() is equal to my desired angle. This is why I find itw eird it won't move the camera because I even put a logger into the section and it should be executing the moveYaw method but it doesn't appear to do anything. This results in repeated camera yaw check fails and throws off clicking spots. Is there anyway like with creating a walking destination that you can set the min move to 0 so it will exactly move to it?
  7. This is more if you do get perm banned it may have been because you didn't do quests, not that you need to have quests done to not get perm banned.
  8. Hey, so as I was making my script I realized that the exchangeContext method is deprecated I wanted to know why it's deprecated and if there is a cleaner way to achieve the same result. I know I can pass the MethodProvider from my main class into my other classes and use it that way but I was wondering if there was a cleaner way that doesn't involve cramming the constructor with stuff.
  9. I should of spent more time poking around before posting this found it just before refreshing. Thank you for the help.
  10. Hey, I would like any advice on how to get a script to actually click onto the Minigame tab, aside from hard coding the mouse clicks into the client.
  11. Nebulae

    Stealth Quester

    Yes it is. But if you ask the owner of the script if it's getting more features and they are saying "Yes" and you buy it on those claims it's not idiotic. Please use some thought before replying to things it will get you further in life.
  12. draw.io is a gift sent from heaven for programming even outside of osbot. Great way to show people a little insight into proper software development which can help streamline your code immensely and make the process a lot more pain free.
  13. Notable Stats: Attack: 70 Strength: 70 Defence: 68 Hitpoints: 69 Ranged: 49 Magic: 60 Notable Quests: Only 2 minor F2P quests not completed, has Dragon Slayer done. Has ava accumulator quest done just needs 1 more ranged level to upgrade. Other information: Received a moderate botting ban making the account basically useless for me as I'm only getting into botting so I figure someone else would want to buy it that might use it as a main or wants to suicide bot it. Any replies are helpful.
  14. Nebulae

    Stealth Quester

    Because he's lying to people saying he's going to add more but he isn't. Some people aren't buying it just for the quests it has now, they're buying it also anticipating more quests being added. I'm surprised it hasn't even been removed off the SDN due to the misleading nature of the script owner and lying to his customers. It still is a great script for what it offers, but like it has been posted 16+ months without an update while telling people you are adding more features is kind of bullshit. He hasn't even added simple quests to at least back up his claims, he just keeps saying "yes" without any proof. Just tell people you aren't updating it, don't lie about it.
  15. I found out how to replicate the bot getting stuck. When ever the camera is angled just right before going into the Flesh Crawler room and a flesh crawler is standing right by the entrance door, as soon as the bot go through the door it will try to click on the flesh crawler instantly and up backing back up through the door. Once this happens it will just start spam pressing constantly on the door. This basically is forcing me to do this in worlds with other people in it due to it happening almost every run if the room isn't being killed by other people as well.GP/h seems to be messed up right now or at least for me when using the Stronghold plugin.
  16. GP/h seems to be messed up right now or at least for me when using the Stronghold plugin. It seems to almost double count some of the items it picks up off the ground. Kind of annoying when doing tasks making GP to not be able to accurately track it. It's saying i'm making 500k an hour off of Flesh Crawlers lol. edit: I can confirm this is legit doubling the GP it's obtained. You also really have to update your pathing in stronghold it gets stuck a lot. It seems whenever the camera is rotated to a downward angle the bot will get stuck on the doors when it clicks on it.
  17. This is why you should learn how to CLI your scripts. Resetting up 15 clients can be done from one notepad saved with everything in it in under 5 seconds.
  18. The bot works fine for me (running it right now). On that topic I think i've found a bug to report. Currently when it's on its last food item and an item drops it wants to pick up it will eat the last food, it appears to detect it's out of food, and starts the banking process without picking up the last item from the floor. This may be a bug or just a random occurrence thought I would point it out though since it should be easy to spot in the code if that's happening. Thanks.
  19. Can I try perfect stronghold and perfect fighter interested in purchasing either or? Also wouldn't it make more sense for me to just buy the perfect fighter and use that in stronghold? correct me if that sounds crazy since I could also use that script in other places.
  20. Nebulae

    Stealth Quester

    Hey, if I could get a trail that would be sweet.
  21. Wow, thanks for this can't believe I never thought of that.
  22. Wow, thanks a lot for this.
  23. I'm making a combat script right now which kill mobs, and if the user requests it will pick up bones and bury them. I wait for the inventory to fill up and then do a check for all of the drop / banking needs of the script. I want to make a method which will work for future uses as well and you can just give it a specific item and interact option and it will iterate over each item in the inventory and execute the interact command. Currently the script has a problem where it will detect all of the bones, it will do the interact command but it gets way ahead of its self. Say if the inventory has 6 bones, it will spam click really bad on the first bone, and sometimes click the second bone and just stop. I didn't want to use a while loop checking to make sure the inventory doesn't have anymore of that item in it since I wanted to make this method as I said more robust and not just for burying bones. So I can use it for multiple commands whenever they come up besides just burying. I was wondering if there's a more elegant way of making sure the command has executed through the client vs just doing random sleeping amounts and hoping the script doesn't miss an item.
  24. Got me on the path to programming for OSBot, this is nice to have all of these resources in one place to get going (especially for people who know java already, having a basic thing to look at is great !) Thanks for putting the time in.
×
×
  • Create New...