By registering with us, you'll be able to discuss, share and private message with other members of our community.
Sign up now!java.lang.NullPointerException
at com.runemate.game.api.hybrid.util.calculations.Distance.euclidean(bib:151)
at com.runemate.f.b.nUl.int(kjb:18)
at com.runemate.f.b.cON.move(nhb:262)
at com.runemate.game.api.hybrid.input.Mouse.move(ogb:43)
at com.runemate.game.api.osrs.c.NUl.interact(bjb:185)
at com.runemate.game.api.osrs.c.NUl.interact(bjb:248)
at com.sjbijzitter.runemate.script.yak.Yaks.attackNext(Yaks.java:43)
at com.sjbijzitter.runemate.script.yak.YakSalvation.onLoop(YakSalvation.java:91)
at com.runemate.game.api.script.framework.LoopingScript.try(fkb:155)
at com.runemate.game.api.script.framework.LoopingScript.int(fkb:76)
at com.runemate.game.api.script.framework.LoopingScript$1.run(fkb:232)
at java.lang.Thread.run(Unknown Source)
npc.interact(String, String);
@CloudCode:java.lang.NullPointerException at com.runemate.game.api.hybrid.util.calculations.Distance.euclidean(bib:151) at com.runemate.f.b.nUl.int(kjb:18) at com.runemate.f.b.cON.move(nhb:262) at com.runemate.game.api.hybrid.input.Mouse.move(ogb:43) at com.runemate.game.api.osrs.c.NUl.interact(bjb:185) at com.runemate.game.api.osrs.c.NUl.interact(bjb:248) at com.sjbijzitter.runemate.script.yak.Yaks.attackNext(Yaks.java:43) at com.sjbijzitter.runemate.script.yak.YakSalvation.onLoop(YakSalvation.java:91) at com.runemate.game.api.script.framework.LoopingScript.try(fkb:155) at com.runemate.game.api.script.framework.LoopingScript.int(fkb:76) at com.runemate.game.api.script.framework.LoopingScript$1.run(fkb:232) at java.lang.Thread.run(Unknown Source)
Code on line 43 (Yaks.java):
Note that npc cannot be null.Code:npc.interact(String, String);
private final Filter<Npc> alert_filter = new Filter<Npc>() {
@Override
public boolean accepts(final Npc n) {
final Actor a = n.getInteractingEntity();
return a != null && a.equals(player) && !n.getName().contains("Yak");
}
};
@Cloud helps if you tag urgent stuff to him directly. He'll take a look and if he doesn't I'll break his knee cap. <3Also,
Code:private final Filter<Npc> alert_filter = new Filter<Npc>() { @Override public boolean accepts(final Npc n) { final Actor a = n.getInteractingEntity(); return a != null && a.equals(player) && !n.getName().contains("Yak"); } };
I was wonder why Npcs.getNearest(alert_filter) always returned null, until I started listing all npcs on screen and noticed that Npc.getInteractingEntity() returns null at all times, might be worth looking into asap as this is an essential method to detect random events!
I'm not a person to rush people <3@Cloud helps if you tag urgent stuff to him directly. He'll take a look and if he doesn't I'll break his knee cap. <3
null Jagex should make the text be "Null" when it's not available. Interesting.npc.getName() seems to return null every now and then too. This wouldn't be an issue normally... except when Npcs.getNearest(String... names) (and similar) throw NPEs all around the place.
I'm not a person to rush people <3
Error switching tabs in development toolkit
java.lang.IllegalArgumentException: Argument is not an array
at java.lang.reflect.Array.getLength(Native Method)
at com.runemate.game.api.a.a.aUX.int(fhb:126)
at com.runemate.game.api.rs3.a.nUl.int(rjb:126)
at com.runemate.game.api.hybrid.region.Players.getLoaded(ybb:245)
at com.runemate.a.i.CoM3.update(gkb:387)
at com.runemate.a.i.coM5.handle(jbb:46)
at com.runemate.a.i.coM5.handle(jbb:134)
@Salvation fixednull Jagex should make the text be "Null" when it's not available. Interesting.
@SalvationThe following random solver activated when someone else received the random event:
http://paste.strictfp.com/40049/daaed49fefe9820bfee1d020bee66281
It's a message that's being displayed from within RS itself.@Cloud
You dont fixed the toplevel_v2_contextwindow_full_close 1 debug message error
java.lang.NullPointerException
at com.runemate.game.api.hybrid.util.calculations.Distance.euclidean(bib:151)
at com.runemate.f.b.nUl.int(kjb:18)
at com.runemate.f.b.cON.move(nhb:262)
at com.runemate.game.api.hybrid.input.Mouse.move(ogb:43)
at com.runemate.game.api.osrs.c.NUl.interact(bjb:185)
at com.runemate.game.api.osrs.c.NUl.interact(bjb:248)
at com.sjbijzitter.runemate.script.yak.YakSalvation.onLoop(YakSalvation.java:89)
at com.runemate.game.api.script.framework.LoopingScript.try(fkb:155)
at com.runemate.game.api.script.framework.LoopingScript.int(fkb:76)
at com.runemate.game.api.script.framework.LoopingScript$1.run(fkb:232)
at java.lang.Thread.run(Unknown Source)
Rotating is indeed a bit messed up every now and then hahaNo stack trace but the clients camera rotation to entity, use to work in BETA 4, however when BETA-5 came out it will consistently try to rotate around one point and never any further, not sure if that's clear enough...
Here's the code:
Environment.getStorageDirectory()
Not actually written because I suck at randoms, just made it be detected.Strange box random event is identified correctly, but is not being solved.
Next to that, the event solver activates while the player is in combat, which is a terrible situation.
We use essential cookies to make this site work, and optional cookies to enhance your experience.