Welcome!

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

Sign up now!

Resolved getProjectedPolygons NPE

Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
Code:
java.lang.NullPointerException
at com.runemate.Qm.getProjectedPolygons(bpb:96)
at com.runemate.game.api.hybrid.local.hud.CompositeModel.getProjectedPolygons(msb:219)
at com.runemate.game.api.hybrid.local.hud.Model.getInteractionPoint(ylb:128)
at com.runemate.CM.getInteractionPoint(lnb:45)
at com.runemate.CM.getInteractionPoint(lnb:107)
at com.runemate.yl.move(sqb:33)
at com.runemate.game.api.hybrid.input.Mouse.move(txb:11)
at com.runemate.CM.interact(lnb:257)
at com.runemate.CM.interact(lnb:39)
at com.runemate.fM.interact(fxb:246)
at com.runemate.maxiscripts.looping.chickenkiller.MaxiChickenKiller.loot(MaxiChickenKiller.java:289)
at com.runemate.maxiscripts.looping.chickenkiller.MaxiChickenKiller.onLoop(MaxiChickenKiller.java:237)
at com.runemate.game.api.script.framework.LoopingScript.run(rfb:59)
at com.runemate.game.api.script.framework.AbstractScript.start(xhb:53)
at com.runemate.nj.run(pkb:106)

A user of my chickenkiller received this stacktrace. line 289 in my script is
Code:
if (item.interact("Take")) {
Null and visibility checks have already been performed prior to this interact statement.
@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Can you loan me an OSRS account that I can use to test your script on a development build of runemate, that way I can get the exact line that the error is occurring at?
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
Can you loan me an OSRS account that I can use to test your script on a development build of runemate, that way I can get the exact line that the error is occurring at?
I don't know how often it happens, he reported it on monday and i've only just gotten around to looking into it. I'll pm him and see if we caqn get some more info. In the mean time i can make a fresh account and run it over to the chickens for you
 
Top