Jump to content

satyr

Members
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by satyr

  1. Do you have any delay when entering the alter before getting objects? Maybe it's trying to get objects before they have loaded into the client. 

     

    I would imagine that part of the validate statement saying whether or not we are ready to execute involves making sure the character is within a certain area which means the area and objects should have loaded. 

    • Like 1
  2. I tried that but didn't work.

    Throws an error while trying to get all object. (org.osbot.rs07.api.Objects.getAll())

    I'm guessing the mirror returns a null Objects object. Will be investigating this.

     

     

    Hm, I will look into it as well. Where are you when it happens for you? 

  3. Agreed you have to do other things to learn more. 

    Watching videos and tutorials on java in general is useful if you are interested in more than just coding.

     

    Those videos and tutorials don't really touch what I think is important most times. What one should really focus on is learning methodologies of software development, learning how to gauge software quality, learning how to conduct software tests, project management, etc. 

  4. I can confirm this issue similarly as well. In order to consistently NOT get NPE I null check the name, and definition using stream.

     

    So something like: 

    objects.getAll().stream().filter(w -> w.getDefinition() != null && w.getDefinition().getName() != null)
    

    Then you can obviously add something to the effect of

    w.getDefinition.getName().equalsIgnoreCase("your filter")

    From there you can use .sorted() and a good lamda expression to sort by distance however you may like. 

     

    Hope that helps.

  5.  

    How do you want us to help with the grave digger, do we contact you when we have it? Then what? I want to help, dunno how. 

    PM me with the details. Depending if I'm on or not, you might have to wait a couple of hours.

     

    By details do you mean the account details or object ids and such? Do you want us to leave it in there for you to solve?

×
×
  • Create New...