Jump to content

Nebulae

Lifetime Sponsor
  • Posts

    37
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Nebulae

  1. Quote

    Even though, - could just this work? The conditions for the different methods are already set in each one. Am I wrong? :o 

    
    @Override
    public int onLoop() throws InterruptedException {
    
        if(myPlayer.exists()) {
    
            walking();
            levelUpWhile();
            mining();
            banking();
        }
    
        return 1000;
    }

    Thanks for being so helpful :) :) I know I'm asking many questions haha :D getting really into it

    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. 22 hours ago, Juggles said:

    isn't it gRandom(standard Deviation, mean) ?
    Should only give you 1006 every time then 

     

    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.

  3. 9 hours ago, Juggles said:

    It has a margin of +-6 

    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...

  4. 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?

  5. 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.

  6. 4 hours ago, baileyr12 said:

    You don't buy something waiting for future features. That's an idiotic way of logic.

    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.

  7. 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.

  8. 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.

  9. 4 hours ago, Pali said:

    Why is everyone hating? People buy this bot for the current quests features. Not for gurenteed future quests. It's still one of the best quests scripts in all the Botting sites? I think it is. $20 is a small fee to pay if I don't need to do like 40 quests myself.  Per account

    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.

    • Like 2
  10. 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.

  11. 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.

  12. 45 minutes ago, Snucer said:

    hey man, went to run this today and the bot won't click on the doors..

    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.

    • Like 1
  13. 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.

    • Like 1
  14. 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.

×
×
  • Create New...