powerbot/RSBot — Issue #680: RSPlayer.getMyPlayer() : Returns null
Author: RedDevil505
Created: 2011-10-15 20:21:22+00:00
State: open

This just started happening. Probably just a broken hook. I found this out because getMyPlayer().isMoving() caused this error :

[WARNING] Sat Oct 15 14:27:02 CDT 2011: LegendaryFighterExt3: Uncaught exception from task: java.lang.NullPointerException
at org.rsbot.script.wrappers.RSCharacter.isMoving(RSCharacter.java:225)

RSCharacter.java.225 :

return getAccessor().isMoving() != 0;

My first guess was that RSCharacter.getAccessor() was broken. But I'm only having the error's when I use getMyPlayer()