satyr
-
Posts
17 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by satyr
-
-
When you enter a runecrafting altar, happends like every 2-3 runs.
Any runecrafting alter? If so I will whip up a quick air rune crafter and see if I have an issue.
-
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?
-
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.
-
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.
-
I am using 1.7.24 and it is still broken.
-
Freaky forester is still failing as well. Just killing the wrong pheasant.
- 1
-
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?
-
Sorry repost
-
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.
NPE on getting an object
in Archive
Posted
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.