1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RuneMate Beta 5 Bug Reports

Discussion in 'Client & Site Support' started by Arbiter, Mar 24, 2014.

Thread Status:
Not open for further replies.
  1. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    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!
     
  2. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Code (Text):
    1.  
    2. java.lang.NullPointerException
    3.     at com.runemate.game.api.hybrid.util.calculations.Distance.euclidean(bib:151)
    4.     at com.runemate.f.b.nUl.int(kjb:18)
    5.     at com.runemate.f.b.cON.move(nhb:262)
    6.     at com.runemate.game.api.hybrid.input.Mouse.move(ogb:43)
    7.     at com.runemate.game.api.osrs.c.NUl.interact(bjb:185)
    8.     at com.runemate.game.api.osrs.c.NUl.interact(bjb:248)
    9.     at com.sjbijzitter.runemate.script.yak.Yaks.attackNext(Yaks.java:43)
    10.     at com.sjbijzitter.runemate.script.yak.YakSalvation.onLoop(YakSalvation.java:91)
    11.     at com.runemate.game.api.script.framework.LoopingScript.try(fkb:155)
    12.     at com.runemate.game.api.script.framework.LoopingScript.int(fkb:76)
    13.     at com.runemate.game.api.script.framework.LoopingScript$1.run(fkb:232)
    14.     at java.lang.Thread.run(Unknown Source)
    15.  
    Code on line 43 (Yaks.java):
    Code (Text):
    1.  
    2. npc.interact(String, String);
    3.  
    Note that npc cannot be null.
     
  3. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    @Cloud
     
  4. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Also,
    Code (Text):
    1.  
    2.     private final Filter<Npc> alert_filter = new Filter<Npc>() {
    3.  
    4.         @Override
    5.         public boolean accepts(final Npc n) {
    6.             final Actor a = n.getInteractingEntity();
    7.             return a != null && a.equals(player) && !n.getName().contains("Yak");
    8.         }
    9.     };
    10.  
    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!
     
  5. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    @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
     
  6. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    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
     
  7. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    null o_O Jagex should make the text be "Null" when it's not available. Interesting.
     
  8. Viewer

    Viewer Discretion is advised

    Joined:
    Jan 2, 2014
    Messages:
    306
    Likes Received:
    77
    When I open developer toolkit I get this error
    Gamepack ID: 1454977
    Code (Text):
    1.  
    2. Error switching tabs in development toolkit
    3. java.lang.IllegalArgumentException: Argument is not an array
    4.    at java.lang.reflect.Array.getLength(Native Method)
    5.    at com.runemate.game.api.a.a.aUX.int(fhb:126)
    6.    at com.runemate.game.api.rs3.a.nUl.int(rjb:126)
    7.    at com.runemate.game.api.hybrid.region.Players.getLoaded(ybb:245)
    8.    at com.runemate.a.i.CoM3.update(gkb:387)
    9.    at com.runemate.a.i.coM5.handle(jbb:46)
    10.    at com.runemate.a.i.coM5.handle(jbb:134)
     
    #8 Viewer, Mar 28, 2014
    Last edited: Mar 28, 2014
  9. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    @Salvation fixed
     
  10. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
  11. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
  12. Viewer

    Viewer Discretion is advised

    Joined:
    Jan 2, 2014
    Messages:
    306
    Likes Received:
    77
    @Cloud
    You dont fixed the toplevel_v2_contextwindow_full_close 1 debug message error
     
  13. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It's a message that's being displayed from within RS itself.
     
  14. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Code (Text):
    1.  
    2. java.lang.NullPointerException
    3.     at com.runemate.game.api.hybrid.util.calculations.Distance.euclidean(bib:151)
    4.     at com.runemate.f.b.nUl.int(kjb:18)
    5.     at com.runemate.f.b.cON.move(nhb:262)
    6.     at com.runemate.game.api.hybrid.input.Mouse.move(ogb:43)
    7.     at com.runemate.game.api.osrs.c.NUl.interact(bjb:185)
    8.     at com.runemate.game.api.osrs.c.NUl.interact(bjb:248)
    9.     at com.sjbijzitter.runemate.script.yak.YakSalvation.onLoop(YakSalvation.java:89)
    10.     at com.runemate.game.api.script.framework.LoopingScript.try(fkb:155)
    11.     at com.runemate.game.api.script.framework.LoopingScript.int(fkb:76)
    12.     at com.runemate.game.api.script.framework.LoopingScript$1.run(fkb:232)
    13.     at java.lang.Thread.run(Unknown Source)
    14.  
    Edit: happens when the (in this case npc im interacting with) is not visible.
     
    #14 Salvation, Mar 30, 2014
    Last edited: Mar 30, 2014
  15. Divinity

    Joined:
    Mar 21, 2014
    Messages:
    36
    Likes Received:
    7
    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:

    [​IMG]
     
  16. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Rotating is indeed a bit messed up every now and then haha
     
  17. Divinity

    Joined:
    Mar 21, 2014
    Messages:
    36
    Likes Received:
    7
    @Cloud Another bug, item.interact(String), works for a period of items and then throws an exception:

    [​IMG]

    Line throwing exception:

    [​IMG]
     
  18. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Regarding:
    Code (Text):
    1.  
    2. Environment.getStorageDirectory()
    3.  
    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 bots: A and B, both scripts bots 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 bot author will be left with a valid directory:
    <RuneMate home>\bots\storage\salvation\

    @Cloud <3?
     
    Arbiter likes this.
  19. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    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.
     
  20. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Not actually written because I suck at randoms, just made it be detected.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...