chuchi-chaschtli / King-of-the-Hill

King of the Hill is a Minecraft Plugin.
2 stars 2 forks source link

Not Recognising Hills #2

Closed DanSpedey closed 10 years ago

DanSpedey commented 10 years ago

I have done /koth set hill Test 1 however when I play the Test arena and go to the hill it doesn't recognise players are there!

DanSpedey commented 10 years ago

[19:31:57] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to King_of_the_Hill v1.2.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at org.bukkit.craftbukkit.v1_7_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:195) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.PlayerInteractManager.interact(PlayerInteractManager.java:374) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:629) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] Caused by: java.lang.NullPointerException at com.valygard.KotH.listener.GlobalListener.onPlayerInteract(GlobalListener.java:94) ~[?:?] at sun.reflect.GeneratedMethodAccessor674.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] ... 15 more [19:33:09]

chuchi-chaschtli commented 10 years ago

Can I see your config file? This error is being thrown because there seems to be no current hill according to the arena. Just put your config file in a pastebin.com paste.

DanSpedey commented 10 years ago

The arena is called Test: http://pastebin.com/Sfu87Da8

chuchi-chaschtli commented 10 years ago

This error is being thrown when a hill locator (compass) is used and I think has been fixed. Until testing is done (and a new version is out); if you are still receiving errors try and disable the hill-compass. It seems that you only having one hill is causing the issue, so alternatively make a second hill at the same spot. Granted, if this fixes the issue, you will keep seeing "hill has switched" messages, etc, when it really has not.

DanSpedey commented 10 years ago

Ok i removed the compass finder and it works fine. I now have 3 different hills and I see the beacon feature is a great idea. However some times the message of the hill has changed and the beacon doesn't show up. Even though the hill has changed.

Any idea when the new update will be out?

chuchi-chaschtli commented 10 years ago

Well I need som emore insight to this "However some times the message of the hill has changed and the beacon doesn't show up. Even though the hill has changed." issue

DanSpedey commented 10 years ago

there is no error. however i believe its when the server says [koth] remaining

When this comes up the beacon and the [koth] the kill has changed try and come on at the same time. However it doesn't.

chuchi-chaschtli commented 10 years ago

How many hills do you have? How much time is remaining? How many rotations (approximately) are left before and after it's supposed to change?

DanSpedey commented 10 years ago

I have 3 hiils, there was 800 secs remaining, it did it on 1st change. And there wasn't a clash with a message, so it must have nothing to do with that

chuchi-chaschtli commented 10 years ago

I still don't know what the exact issue is .. can you paste a config file? You are sure there is no exception in the console?

DanSpedey commented 10 years ago

No there are no errors whilst playing

Sent from my iPod

On 22 May 2014, at 10:34 pm, AoHRuthless notifications@github.com wrote:

I still don't know what the exact issue is .. can you paste a config file? You are sure there is no exception in the console?

— Reply to this email directly or view it on GitHub.

chuchi-chaschtli commented 10 years ago

Could you please paste a new config file, even if it is the same as the previous one.

DanSpedey commented 10 years ago

http://pastebin.com/6j8h7zbs

DanSpedey commented 10 years ago

Do you want to come onto my server where I can show you? Its probably easier to see the problem visually.

chuchi-chaschtli commented 10 years ago

After several months, I have yet to see this bug in testing and until more information is provided or more error reports of this nature are provided by you or other users, bug is unconfirmed.