mcMMO Weapon Skills
javacraft opened this issue ยท 8 comments
Running on latest dev build #2447 with ecoCreatures 0.1.2 and latest McMMO build. Using default configurations for ecoCreature.
It seems that mcMMO's weapon skills are generating additional entity death events that are not recognized by ecoCreature and show up as
You slayed a using a
Ran a minimal install with the following configurations:
- CraftBukkit-1.4.2-R0.2 (build #2455)
- iConomy 6
- Vault 1.2.19-b248
- mcMMO v1.3.11
- ecoCreature v0.1.2-b211
I doubt it makes a difference, but equipped weapon was a Diamond Sword (no enchants). Set time to night and start killing mobs. Eventually you will get the You slayed a <crt> using a <itm> message. It happens infrequently but it does happen.
A better testing scenario is to enable Essentials - or similar plugin - set god mode. Also max out mcMMO weapon skills to increase chance of special attacks. Set nighttime and spawn two dozens Zombies. Have at them and you should see the message. If not, spawn another set of mobs.
I'm in the middle of upgrading our production server at Veterancraft. Once that's done, I'll see about download the ecoCreature source and track the errant message to its root cause.
What's the story with the ci.herocraftonline.com repo? Thought I would have a chance to do some more serious debugging and I'm fighting with Maven build issues. Had to resort to adding systems directives for Vault and DeathTpPlus to get a clean install. Not sure if I'll have time now, but I'll see if I can discovery some more details tomorrow.
With a fresh cup of coffee in hand and a buildable ecoCreature, I was able to nail down the issue fairly quickly. The errant message is a result of a McMMOPlayerLevelUpEvent, not entity death events due to mcMMO skills as I had originally suspected.
The You slayed a <crt> using a <itm> message appears to be the default NoReward_Message for a mcMMOLeveled configuration. Setting NoReward_Message to an empty string resolves the issue. It would be prudent to set the default NoReward_Message to an empty string unless otherwise specified in a configuration file.
There's a similar bug with Heroes leveling. Thanks for debugging the issue.
Try out this build and see if it's fixed.
Everything works as expected using the latest release on Bukkit Dev. There no longer is a need to specifically set NoReward_Message for a mcMMOLeveled event. Always glad to help and thank you for resolving the issue.
Best,
Frelling