Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

RuneMate Beta 5 Bug Reports

Status
Not open for further replies.
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
You guys know the drill by now. Dump all your Beta 5 bugs and stack traces here and we will respond/patch ASAP. Love ya guys!
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
Code:
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):
Code:
npc.interact(String, String);
Note that npc cannot be null.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
Code:
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):
Code:
npc.interact(String, String);
Note that npc cannot be null.
@Cloud
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
Also,
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!
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
Also,
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!
@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
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
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.
@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
I'm not a person to rush people <3
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
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
null o_O Jagex should make the text be "Null" when it's not available. Interesting.
 
Discretion is advised
Joined
Jan 2, 2014
Messages
306
When I open developer toolkit I get this error
Gamepack ID: 1454977
Code:
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)
 
Last edited:
Discretion is advised
Joined
Jan 2, 2014
Messages
306
@Cloud
You dont fixed the toplevel_v2_contextwindow_full_close 1 debug message error
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
Code:
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)

Edit: happens when the (in this case npc im interacting with) is not visible.
 
Last edited:
Joined
Mar 21, 2014
Messages
36
No 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:

7Q19Z.png
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
No 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:

7Q19Z.png
Rotating is indeed a bit messed up every now and then haha
 
Joined
Mar 21, 2014
Messages
36
@Cloud Another bug, item.interact(String), works for a period of items and then throws an exception:

7Q3KL.png


Line throwing exception:

7Q3Ns.png
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
Regarding:
Code:
Environment.getStorageDirectory()

I recommend appending the author's name, instead of the scriptid. This has several advantages aside from its better pleasing aesthetics.

Imagine I have two scripts: A and B, both scripts have individual needs but also share several needs, such as a locally stored image for the mouse, or perhaps an icon for the GUI. I would believe the following solution would work best:

<RuneMate home>\bots\storage\salvation\a\settings.ini
<RuneMate home>\bots\storage\salvation\b\settings.ini
<RuneMate home>\bots\storage\salvation\mouse.png
<RuneMate home>\bots\storage\salvation\icon.png

Next to that, #getStorageDirectory currently does not ensure the directory exists, which is a bit annoying. Please let it create the required directories (#mkdirs) before returning the File instance. After that, the script author will be left with a valid directory:
<RuneMate home>\bots\storage\salvation\

@Cloud <3?
 
First Bot Author
Joined
Aug 7, 2013
Messages
262
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.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
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.
Not actually written because I suck at randoms, just made it be detected.
 
Status
Not open for further replies.
Top