CitizensDev/Citizens — Issue #770: Guards are not workin for me
Author: gunblast
Created: 2012-02-05 20:28:48+00:00
State: open

I know you probably wont get to this for there is a billion tickets... but guards are not working. i can make then, assign them flags and types, but they wont attack anything, move, or follow my commands (soldiers).

I use PermissionsEx, Essentials, Factions, qQuest, bookworm, courier, magicspells, heavyarmor, handytorch, portecoulissante, superlog, dragonshouts, terraincontrol, worldedit, vault, vaultslots

ERROR LOG:
net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
05.02 06:43:02 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
05.02 06:43:02 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
05.02 06:43:02 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.TickTask.run(TickTask.java:30)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:213)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:146)
05.02 06:43:02 [Server] INFO java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getPlayer()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
05.02 06:43:02 [Server] WARNING Task of 'Citizens' generated an exception
05.02 06:43:02 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
05.02 06:43:02 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
05.02 06:43:02 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
05.02 06:43:02 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.TickTask.run(TickTask.java:30)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:213)
05.02 06:43:02 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:146)
05.02 06:43:02 [Server] INFO java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getPlayer()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
05.02 06:43:02 [Server] WARNING Task of 'Citizens' generated an exception
05.02 06:42:57 [Server] INFO Local: hes supposed to follow me
05.02 06:42:57 [Server] INFO Local: thats weird ya cam
05.02 06:42:57 [Server] INFO Connected players:~Jarl_Kanonbrand_of_Shorehaven, ~Jarl_skoglund, ~Northhawk_Guildmaster
05.02 06:42:57 [Server] INFO Local: its cam
05.02 06:42:57 [Server] INFO [Citizens] Below is the stacktrace that has been transmitted to the developers, no other information has been included other than Citizens version information.
05.02 06:42:57 [Server] INFO [Citizens] Below is the stacktrace that has been transmitted to the developers, no other information has been included other than Citizens version information.
05.02 06:42:57 [Server] INFO [Citizens] An error occurred whilst sending your error report.
05.02 06:42:57 [Server] INFO [Citizens] An error occurred whilst sending your error report.
05.02 06:42:57 [Server] INFO [Citizens] An error has occurred, please wait while it is sent to the developers...
05.02 06:42:57 [Server] INFO ... 15 more
05.02 06:42:57 [Server] INFO at net.citizensnpcs.guards.types.Soldier$SelectionHooks.onPlayerInteractEntity(Soldier.java:82)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.guards.types.Soldier$SelectionHooks.attack(Soldier.java:100)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:45)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:39)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:33)
05.02 06:42:57 [Server] INFO Caused by: java.lang.NullPointerException
05.02 06:42:57 [Server] INFO ... 10 more
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
05.02 06:42:57 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601)
05.02 06:42:57 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
05.02 06:42:57 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
05.02 06:42:57 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
05.02 06:42:57 [Server] INFO Caused by: java.lang.reflect.InvocationTargetException
05.02 06:42:57 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
05.02 06:42:57 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
05.02 06:42:57 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
05.02 06:42:57 [Server] INFO at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
05.02 06:42:57 [Server] INFO org.bukkit.event.EventException
05.02 06:42:57 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEntityEvent to Citizens
05.02 06:42:57 [Server] INFO [Citizens] An error has occurred, please wait while it is sent to the developers...
05.02 06:42:57 [Server] INFO ... 15 more
05.02 06:42:57 [Server] INFO at net.citizensnpcs.guards.types.Soldier$SelectionHooks.onPlayerInteractEntity(Soldier.java:82)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.guards.types.Soldier$SelectionHooks.attack(Soldier.java:100)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:45)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:39)
05.02 06:42:57 [Server] INFO at net.citizensnpcs.utils.PathUtils.target(PathUtils.java:33)
05.02 06:42:57 [Server] INFO Caused by: java.lang.NullPointerException
05.02 06:42:57 [Server] INFO ... 10 more
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
05.02 06:42:57 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601)
05.02 06:42:57 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
05.02 06:42:57 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
05.02 06:42:57 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
05.02 06:42:57 [Server] INFO Caused by: java.lang.reflect.InvocationTargetException
05.02 06:42:57 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
05.02 06:42:57 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
05.02 06:42:57 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
05.02 06:42:57 [Server] INFO at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
05.02 06:42:57 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
05.02 06:42:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
05.02 06:42:57 [Server] INFO org.bukkit.event.EventException
05.02 06:42:57 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEntityEvent to Citizens

ALSO: I restarted my server and THIS came up

05.02 12:26:23 [Server] INFO /66.186.99.68:49719 lost connection
05.02 12:26:18 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
05.02 12:26:18 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
05.02 12:26:18 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
05.02 12:26:18 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.TickTask.run(TickTask.java:30)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:206)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.updateTarget(PathNPC.java:327)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.isWithinAttackRange(PathNPC.java:182)
05.02 12:26:18 [Server] INFO at net.citizensnpcs.resources.npclib.PathNPC.isHoldingBow(PathNPC.java:171)
05.02 12:26:18 [Server] INFO java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getPlayer()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
05.02 12:26:18 [Server] WARNING Task of 'Citizens' generated an exception