Autorank

Autorank

380k Downloads

PlayerJoinEvent

Opened this issue ยท 12 comments

commented

Environment:
Java version: 1.7.0_03 Oracle Corporation
Operating system: Linux 2.6.38-8-server amd64
Bukkit version: git-Bukkit-0643caa (MC: 1.8)

Autorank v3.4-Dev-318.
Mcmmo version 1.5.0.1 via https://ci.drtshock.net/job/MCMMO/23/

Noticed the issue with following:
WARN Skill 'Axes' is not a valid skill!
WARN Skill 'Archery' is not a valid skill!
WARN Skill 'Acrobatics' is not a valid skill!
WARN Skill 'Herbalism' is not a valid skill!

13.01 00:07:45 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_03]
13.01 00:07:45 [Server] INFO at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.listeners.PlayerJoinListener.onPlayerJoin(PlayerJoinListener.java:41) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.playerchecker.PlayerChecker.checkPlayer(PlayerChecker.java:64) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.playerchecker.RankChange.applyChange(RankChange.java:35) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.playerchecker.RankChange.checkRequirements(RankChange.java:99) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.playerchecker.requirement.McMMOPowerLevelRequirement.meetsRequirement(McMMOPowerLevelRequirement.java:33) ~[?:?]
13.01 00:07:45 [Server] INFO at me.armar.plugins.autorank.hooks.mcmmoapi.McMMOHandler.getPowerLevel(McMMOHandler.java:48) ~[?:?]
13.01 00:07:45 [Server] INFO at com.gmail.nossr50.api.ExperienceAPI.getPowerLevel(ExperienceAPI.java:701) ~[?:?]
13.01 00:07:45 [Server] INFO at com.gmail.nossr50.api.ExperienceAPI.getPlayer(ExperienceAPI.java:1097) ~[?:?]
13.01 00:07:45 [Server] INFO Caused by: com.gmail.nossr50.api.exceptions.McMMOPlayerNotFoundException: McMMOPlayer object was not found for: N00667718 635fcd31-d72a-4d2a-ba5f-39735521b245
13.01 00:07:45 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_03]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:506) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:598) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:718) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.ServerConnection.c(SourceFile:151) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:150) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.LoginListener.c(LoginListener.java:41) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.LoginListener.b(LoginListener.java:81) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerList.a(PlayerList.java:134) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerList.onPlayerJoin(PlayerList.java:249) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:297) ~[custom.jar:git-Bukkit-0643caa]
13.01 00:07:45 [Server] INFO org.bukkit.event.EventException
13.01 00:07:45 [Server] ERROR Could not pass event PlayerJoinEvent to Autorank v3.4-Dev-318

commented

Can you try the latest recommend build of MCMMO?

commented

Trying https://ci.drtshock.net/job/MCMMO/8/ now, will try get back to you how it works out

commented

Still getting:

14.01 00:32:22 [Server] WARN Skill 'Archery' is not a valid skill!
14.01 00:32:22 [Server] WARN Skill 'Acrobatics' is not a valid skill!
14.01 00:32:22 [Server] WARN Skill 'Herbalism' is not a valid skill!

And all of the rest

commented

Sure, testing it now.

But why not use http://www.spigotmc.org/resources/mcmmo.2445/ ?

People can download it also for free at https://ci.drtshock.net/job/MCMMO/ if they dont want to buy it

commented

I'll look at supporting the newer version

commented

It looks like it's working with the version, but would really appreciate it if we could use the new ones (At least one of the released ones)

commented

So I got a bug today as you can se below. Of what I know, it's fixing in newer release's from the 1.5.1+ versions

16.01 00:43:47 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:295) ~[custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_03]
16.01 00:43:47 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_03]
16.01 00:43:47 [Server] INFO at sun.reflect.GeneratedMethodAccessor417.invoke(Unknown Source) ~[?:?]
16.01 00:43:47 [Server] INFO at com.gmail.nossr50.listeners.PlayerListener.onPlayerFishHighest(PlayerListener.java:222) ~[?:?]
16.01 00:43:47 [Server] INFO at com.gmail.nossr50.skills.fishing.FishingManager.exploitPrevention(FishingManager.java:186) ~[?:?]
16.01 00:43:47 [Server] INFO at com.gmail.nossr50.skills.fishing.FishingManager.unleashTheKraken(FishingManager.java:136) ~[?:?]
16.01 00:43:47 [Server] INFO Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R1.entity.CraftSquid cannot be cast to org.bukkit.entity.Creature
16.01 00:43:47 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_03]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:506) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:598) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:643) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_03]
16.01 00:43:47 [Server] INFO at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [?:1.7.0_03]
16.01 00:43:47 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_03]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:80) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:50) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:666) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerInteractManager.useItem(PlayerInteractManager.java:370) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.ItemStack.a(ItemStack.java:199) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at net.minecraft.server.v1_8_R1.ItemFishingRod.a(ItemFishingRod.java:23) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:297) ~[custom.jar:git-Bukkit-e6f9fd4]
16.01 00:43:47 [Server] INFO org.bukkit.event.EventException
16.01 00:43:47 [Server] ERROR Could not pass event PlayerFishEvent to mcMMO v1.5.00-b3547

commented

Ah, so the older version of mcmmo is giving you errors? I'll try to add support for mcmmo as soon as possible!

commented

Could you try version 320? PLEASE BACKUP SERVER FOLDER FIRST THOUGH. It could be very buggy and I don't want you losing any stuff.

commented

Looks al-right at the time

commented

Closed due to inactivity.