[FUN] MobArena v0.96.8 - Become a mob-fighting gladiator! [1.7.x, 1.8.x]

Discussion in 'Archived: Plugin Releases' started by garbagemule, May 30, 2011.

  1. Offline

    garbagemule

    [​IMG]

    MobArena - Become a mob-fighting gladiator!
    [​IMG] Latest build: v0.96.7 (1.7.x)
    [​IMG] Wiki
    [​IMG] IRC Channel
    [​IMG] Source

    BukkitDev Project Page - Find MobArena on dev.bukkit.org here: LINK.

    ------------------------------

    Old description (open)
    If you enjoy fighting monsters for glorious prizes or just the sheer thrill of battle, you and your friends can now join forces against hordes of Minecraft evils in the exciting gladiator-style survival mini-game MobArena!

    Heavily inspired by Deminetix' Fight-plugin, MobArena is a PvE-take on arena-gameplay, with a similar class-based system. Instead of fighting other players, you team up with them to beat oncoming waves of monsters, earning rewards in the process. MobArena can be played alone, or with as many friends as you like!


    Features:
    • Fight oncoming waves of monsters
    • Play alone or team up with friends
    • Earn glorious prizes
    • Customizable classes, rewards and waves
    • Easy to set up
    • Extremely easy to use
    • Very few user commands
    • Supports Permissions and all major economies
    • Supports Spout
    • Supports Heroes
    Note: When you post a bug report, please provide a stacktrace/error from the server log/console window. Post this stacktrace in either a pastebin, a pastie, or a CODE-block! The same applies for config-files, permissions-files, etc! Please don't put them directly in your posts, as they become gigantic and annoying to read. If you don't follow this guideline, I might ignore your post!


    Wiki - Instructions, commands, FAQ, etc.
    I have set up a Wiki for MobArena. It contains a bunch of information and guides on how to set up and customize arenas, an overview of all the commands, how to set up Permissions, as well as frequently asked questions.

    New: MobArena now has its own IRC channel (#mobarena @ EsperNet). Click here for a web-based IRC client. Feel free to stop by to get help setting everything up if you really don't understand the Wiki and the instructional video, or to have a chat about MobArena (or anything else, for that matter) :)

    Relevant links:
    Videos:
    Getting started with MobArena, by Flamers
    Flamers made this really easy-to-follow, simple video of how to get started with MobArena. It covers installing the plugin, defining an arena region and setting up basic leaderboards, as well as a few pointers for arena design.
    Old instructional video (open)
    Instructional video for setting up MobArena:

    Note: This video was made for v0.67, but all the in-game instructions still work the same for the latest versions. The config-file has changed, so make sure to read the Wiki on how to set it up.
    More Videos (open)
    Review of MobArena by plugin reviewer jamescosten (v0.84):

    Note: My nickname "garbagemule" is pronounced "garbage mule", as in "trash donkey" ;)

    Hilarious showcase of MobArena by Daniel James and Daniel Cherry (v0.92.3):


    Delios showing off his beautiful arena setup:


    slowmonkey1227 in his interesting "island" arena: YouTube
    French video by avalondrey (v0.87.3): YouTube
    German video by blutherz and his friends (v0.91.2): YouTube



    Troubleshooting:
    To avoid wasting not only your own time, but mine as well, I expect everyone to do some extensive troubleshooting before posting bug reports. What does this mean?

    Try MobArena on a fresh server.
    MobArena works perfectly fine when I release it. Sure, there are a few bugs, but it works. If it doesn't work for you, something is most likely wrong on your end. Set up a local test-server, and verify that MobArena works before claiming that it doesn't. When you have verified that MobArena does indeed work, you can start adding other plugins and settings until something conflicts.

    Disable other plugins.
    The first thing you need to do is disable all other plugins. If you can't reproduce the bug with other plugins disabled, you know that you have a conflicting plugin. Now perform a binary search on the other plugins, or if you don't know how to do that, just add a couple of plugins back to the plugins-folder, try to reproduce the bug, and if you can't, the conflicting plugin must be in the remaining set of plugins.

    Write down reproduction steps.
    Figure out the exact steps to reproduce/trigger the bug. I need precise steps, and as much information as possible, because there are often many things that could be going on. An example of reproduction steps could be:
    1. Type /ma join
    2. Punch the Archer class sign
    3. Wait for someone else to join
    4. Punch the iron block
    5. Type /ma leave before the other player picks a class

    Check the console window/server.log
    Make sure you check the server.log file for any MobArena errors or exceptions. If you find any, copy the ENTIRE exception (including all the lines that say "at com.garbagemule.MobArena...") and paste it (with the other information) in a CODE-tag here in the thread.


    Donations:
    I develop MobArena for the fun of it and the positive feedback is all it takes to make me happy, but a few people have asked for a link, so if you're one of them, here's a link: Donate - You can donate as much as you want, even down to a few cents! If I get enough donations, I will spend the money on an extra Minecraft account to aid me in developing/testing/debugging MobArena :)


    Changelog:

    Version 0.94.3.24
    • Updated for CB 1337.
    • The repair-delay node is now unused! The reason for this is that it is now possible (with the release of 1317) to cancel block damage in explosions, and still retain the animation and sound! This also means that arenas should be fully pistons-compatible (for arenas that don't use soft-restore or force-restore)! I'm hoping to see some screenshots and videos of shifting arenas! :)
    • You can now right-click signs in the lobby! I finally found a super easy solution to the improperly updating inventory issue with right-clicking class signs. The result is that players can now left- or right-click as they please. This should solve all issues related to players not being able to choose classes, due to spawn region and WorldGuard/Factions/whatever conflicts.
    • It is no longer possible to warp out of the lobby.
    • New per-arena setting: final-wave - Allows for setting a final wave, meaning on that wave, the arena will end, regardless of how many players are alive.
    Version 0.94.3.11 (open)

    • v0.94.3.11 - Updated Register, built against CB 1240.
    • v0.94.3.8 - Added basic leaderboards.
    • v0.94.3.6 - Fixed MagicSpells support - MobArena no longer supports MagicSpells pre-v1.1!
    • v0.94.3.5 - Fixed a bunch of bugs introduced with CB 1185, as well as a couple of minor MobArena bugs.
    • Updated for CraftBukkit #1185
    • Updated economy support (now supports iConomy 6).
    • Added the three new mob types, Enderman/Endermen, CaveSpider/CaveSpiders, Silverfish. They can be used just like the other mob types in the waves.
    • Endermen cannot pick up arena blocks (this is why).
    • Endermen cannot place blocks in arena regions.
    • The per-class permission syntax has been fixed and changed slightly. The Wiki has been updated (clicky).
    • Fixed MagicSpells issues.
    Version 0.94.2 (open)

    • Redstone circuits now work properly in arenas.
    • Lightning now properly strikes on spawnpoints on special waves.
    • Fixed an issue where players somehow warping/cheating out of the arena world get kicked from the server when discovered.
    • Added MagicSpells support. Use the magicspells.yml file to ban certain spells from the arena either for the whole session, or only during boss waves.
    • Fixed the Heroes death conflict. MobArena and Heroes should now play nice together. Further Heroes support is planned for upcoming releases.
    • [COLOR=#1000000]MobArena will no longer support the discontinued Permissions 2.x and 3.x permission systems.[/COLOR] Recommended permissions systems include PermissionsBukkit (defacto standard) or PermissionsEX.
    Version 0.94.1 (open)

    • Added two new boss abilities: 'shuffle-positions' and 'flood'. Try them out!
    • Players disconnecting/crashing during an arena session no longer get corrupted data files due to economy rewards.
    • Weapon durability is now correctly set to "unlimited".
    • Item sub-types (cocoa beans, bonemeal, colored wool, etc.) now work again.
    • Players can no longer join the arena without first picking a class.
    • MobArena now works with spawn-monsters=false again.
    Version 0.94 (open)

    • Completely revamped the waves system! Undeniably the biggest feature in MobArena since multiple arenas in v0.92, the new customizable waves are guaranteed to bring much more awesomeness to your MobArenas. The waves system brings two new wave types, swarm waves and boss waves. The latter is a very elaborate feature, and the whole waves system has been given its own page on the Wiki. Note: MobArena will ignore all old wave settings, but use sane defaults.
    • Revamped the logging system. Instead of logging: true, you can now use logging: yml/xml. The logging system will now keep track of the last session only, but also maintain a collection of 'totals' for each arena. The idea behind these easy-to-parse files is making the stats available on server web pages.
    • Added SuperPerms/PermissionsBukkit support. Note that specifying mobarena.arenas.* and mobarena.classes.* probably won't work, but these nodes are given to everyone by default.
    • Added Spout support. Currently, the only Spouty thing MobArena does is print (some) announcements as notifications/achievements. This should limit the amount of "chat spam" that MobArena produces. Other Spout-features are planned, but don't expect something crazy. Note that MobArena does NOT require Spout!
    • Monsters will no longer target pet wolves. This is a major nerf to pet classes, but they were very overpowered as it was.
    • Fixed item amounts greater than 64 sometimes bugging out. You should now be able to put arrow:1024 for your Archer classes :)
    • Fixed players losing their stored items and/or earned rewards upon disconnecting from the arena.
    • Fixed blocks not restoring when burned by fire.
    • Fixed an issue with entry fees. They should no longer cause any problems.
    • Fixed slimes. That's right! Slimes that spawn as a result of bigger slimes splitting upon death are now considered arena monsters. This also means that Slimes no longer drop slime balls; as intended.
    • Revamped the repairing algorithm. It is now MUCH more sophisticated, and is capable of repairing not only signs and containers, but also torches, doors and beds. Redstone -should- repair properly as well, but it is still slightly buggy.
    • Added support for restorable containers. Registered chests, dispensers, and furnaces will have their contents stored upon arena start, and restored at arena end. This is useful for providing the arena players with chests with e.g. upgrades or food.
    • Added new commands (for the feature above) - /ma addcontainer <name>, /ma delcontainer <name>, /ma containers. These commands work much like the the spawnpoint commands. To add a container, simply look at the container and type /ma addcontainer <name>.
    Changelog (continued)
     
    apes, chakyl, Steffion and 64 others like this.
  2. Offline

    DevRW

    Downloaded your silent update (and I am only getting this on 0.93 - 0.92 runs without issue) and am still getting the issue Delois is. Basically, if a user uses the command /ma l, instead of dying in the arena, the arena gets confused and keeps on spawning waves. This rendered a bunch of chunks unusable on my server as I had over 3000 mobs spawned in a tiny space. On top of that, if a user crashes or disconnects for any reason in any way, I get the same issue as using /ma l.

    Attaching paste bin of my server log once it finishes downloading.
     
  3. Offline

    garbagemule

    @DevRW - No need to post the entire server log. Just the few exceptions thrown by MobArena. I'll look through the code and get back in a bit.
     
  4. Offline

    Magners

    I'll test it out looks really good!
     
  5. Offline

    Delois

    To add to what DevRW said, you cant even /ma force end the game. Strangely, it only let me force end a game after I /butcher'ed all the mobs. Not sure if that helps you at all. I will redownload in a few, uploading my arena video to youtube atm, its slowing my PC down alot (Will show yah it in 1-2hours, its nothing special with editing, I may do something fancy at one point if you want it :3 )

    EDIT: .92 worked always for me too.
     
  6. Offline

    columb

    Could you add placed blocks limit for per class/per team/per arena?
    To prevent making walls vs mobs and farming points
     
  7. Offline

    dillpickle71099

    I had the same problem as Delois and DevRw. I think that the slime specialwave causes it.
    The other thing it might be is monsters not dropping anything
    in case you need the server log here it is.

    [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
    at com.garbagemule.MobArena.Arena.playerDeath(Arena.java:408)
    at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1003)
    at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.Explosion.a(Explosion.java:143)
    at net.minecraft.server.World.createExplosion(World.java:1458)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
    at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
    at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
    at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
    at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
    at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-16 12:42:39
     
  8. Offline

    columb

    And when player left arena zone,he should be like 'dead'

    And what about restore ammo per X wawes?
    After 0 arrows,archer became useless class

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  9. Offline

    Daniel Few

    Yes please :) Thanks
     
  10. Offline

    garbagemule

    @Delois - Agnate pointed out to me that the leave-bug is most likely a result of the other bug I fixed in the silent update. Please update me ASAP on whether the bug persists in the newest build. Thanks for the extra information :)

    @columb - Block limit is hard to control, so it's probably not going to be added. Definitely not until the bugs are weeded out. As for Archer, add more arrows for now! :)

    @dillpickle71099 - Thank you for the stacktrace, although next time (let's hope there is no next time ;)), please post it in a CODE-block or a pastie/pastebin :) This specific bug is indeed a result of the special slimes wave. Can I get you to re-download MobArena and try with only slime special waves? Maybe try to force the bug to happen?

    @Daniel Few - Consider it done! :)
     
  11. Offline

    Daniel Few

    @garbagemule
    Thanks a lot for your help and support. Means a lot :p
    You are obviously very helpful to the people who use your plugin and we are lucky to have you here :)
    -Dan
     
  12. Offline

    Ratchet

    I don't know what is happening when this occurs but there's a few spread out in my log;
    Code:
    2011-07-16 14:51:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.93
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:299)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:174)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    and also my server just crashed and looks like the cause was mob arena:
    Code:
    2011-07-16 15:01:20 [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
        at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
        at com.garbagemule.MobArena.Arena.playerDeath(Arena.java:408)
        at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1003)
        at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
        at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.Explosion.a(Explosion.java:143)
        at net.minecraft.server.World.createExplosion(World.java:1466)
        at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
        at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
        at net.minecraft.server.EntityTNTPrimed.m_(EntityTNTPrimed.java:66)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
        at net.minecraft.server.World.cleanUp(World.java:1104)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-16 15:01:20 [INFO] <*Console*>: Server is restarting. World is being saved.
     
  13. Offline

    Delois

    My arena, and the reason I dont talk in videos: Do with it what you want.
     
  14. Saw this fly by:

    Code:
    22:52:45 [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
            at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:380)
            at com.garbagemule.MobArena.Arena.playerDeath(Arena.java:408)
            at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1003)
            at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
            at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
            at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
            at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
            at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
            at net.minecraft.server.Entity.ab(Entity.java:303)
            at net.minecraft.server.Entity.R(Entity.java:274)
            at net.minecraft.server.EntityLiving.R(EntityLiving.java:113)
            at net.minecraft.server.Entity.m_(Entity.java:195)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:217)
            at net.minecraft.server.EntityHuman.m_(EntityHuman.java:96)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:192)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:294)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Ah I see someone else pasted it.

    We didn't crash though, Arena went on fine as well.

    And another one:

    Code:
    22:58:36 [WARNING] Task of 'MobArena' generated an exception
    java.lang.NullPointerException
            at com.garbagemule.MobArena.MASpawnThread.addReward(MASpawnThread.java:132)
            at com.garbagemule.MobArena.MASpawnThread.run(MASpawnThread.java:92)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  15. Offline

    garbagemule

    @Ratchet - The first exception is fixed in the latest silent update (pushing v0.93.1 in a bit), and the second one was fixed in an earlier silent update.

    @Joy - Download v0.93.1 in a minute :)

    Updated to v0.93.1
    Quick bugfix release. Not much more to say. Hopefully this eliminates some of peoples player leave and player death errors.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  16. And a third one:

    Code:
    23:10:28 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.93
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:299)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:144)
            at com.laytonsmith.aliasengine.AliasCore$1.done(AliasCore.java:92)
            at com.laytonsmith.aliasengine.Script.run(Script.java:99)
            at com.laytonsmith.aliasengine.AliasCore.alias(AliasCore.java:83)
            at com.sk89q.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:88)
            at com.sk89q.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:132)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
            at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:380)
            at com.garbagemule.MobArena.Arena.playerLeave(Arena.java:368)
            at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:218)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 23 more
    
     
  17. Offline

    dillpickle71099

    i Would love to force the slime bug i will get back ina day or 2 or hopefully today
     
  18. Offline

    Ratchet

    maybe you should make releases and not silent updates so people know there are fixes D:!
     
    bothersome likes this.
  19. Offline

    R4TH4CK3R

    Permission nodes?
     
  20. Offline

    garbagemule

    @Joy - Third one is fixed in v0.93.1

    @dillpickle71099 - Thanks! :)

    @Ratchet - The point of silent updates is to attempt to intercept the bugs. I only push silent updates when I haven't confirmed that the fixes work. Consider the silent updates a way to let people with bugs test attempts at bugfixes, without the bugfixes promising anything at all.

    @R4TH4CK3R - Wiki? :)
     
  21. Offline

    DevRW

    Doesn't seem to be throwing out an exceptions or errors on my test server - guess I'll give it a shot on the real deal. Thanks. :)

    On the Wiki.
     
    garbagemule likes this.
  22. Offline

    KrazyBonez

    New problem, nocheat updated to fix the "you cannot warp while the arena is in progress" spam, but now the MA itself is bugging out without the conflict. When my members join, they can play just fine, until the game ends. When the game ends, they are all dead and in the spectator area since they died in the arena, but, the arena does not stop. It keeps going, racking up more and more rewards for the team that is not even in the MA anymore. They will never get these rewards due to the arena NEVER ENDING but its still adding up monsters like crazy and not stopping when a team is finished. Any ideas?
     
  23. Offline

    Flamers

    @garbagemule no problem, this thread is my link into the bukkit forums :p
     
  24. Offline

    DevRW

    v0.93.1

    As you can see, after executing the command /ma l (I being the only person in the arena), it went into the same state as before. Mobs just keep on spawning until I reload the server and butcher them all.

    Code:
    2011-07-16 15:57:03 [INFO] DevRW used command "/ma l"
    2011-07-16 15:57:03 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.93.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.garbagemule.MobArena.MAUtils.listToString(MAUtils.java:989)
        at com.garbagemule.MobArena.MAUtils.listToString(MAUtils.java:1042)
        at com.garbagemule.MobArena.ArenaLog.end(ArenaLog.java:100)
        at com.garbagemule.MobArena.Arena.endArena(Arena.java:223)
        at com.garbagemule.MobArena.Arena.playerLeave(Arena.java:385)
        at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:219)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  25. Offline

    garbagemule

    @KrazyBonez @DevRW - Are you guys using the logging feature? It looks like the problem is with the reward map getting cleared prematurely. Can you try setting logging to false, if it's on true? Otherwise, please post your config-files.
     
    DevRW likes this.
  26. Offline

    DevRW

    I am indeed using logging; let me switch that to off and I'll get back to you ASAP!

    //EDIT: So far, from a few test runs with forced disconnects, kicks, bans and /ma l - it seems to be functioning properly. No errors in the console at all, and arena waves are ending when they should.

    Figures the one thing I did not test on my test server was with logging:true.

    Suppose I'll hold off on that feature until you squash the bug! Thank you!

    -----

    One question: When an arena has grass on the spawn points [for mobs], it seems that sometimes animals spawn instead of what is defined in the config file. Is this a bug you are aware of? Or is it unique and just my server; didn't thoroughly test it yet, but my arenas without grass don't have the issue.

    //EDIT2: Could we get permission nodes for pay.exempt?

    So certain groups/players would not require to pay the fee to get in - namely admins, moderators and a few select groups on my server [testers, VIP].
     
    garbagemule likes this.
  27. Offline

    KrazyBonez

    My logging is not enabled, and never has been, but i do have the issue still where ma nonstop spawns mobs no matter what. Here is my config.

    Show Spoiler
    # MobArena Configuration-file
    # Please go to https://github.com/garbagemule/MobArena/wiki/Installing-MobArena for more details.
    global-settings:
    enabled: false
    update-notification: true
    allowed-commands: /list, /pl
    classes:
    Chef:
    items: iron_sword, bread:5, grilled_pork:4, mushroom_soup, cake:2, cookie:10
    armor: 314,315,316,317
    Tank:
    items: iron_sword, grilled_pork:3, apple
    armor: 310,311,312,313
    Knight:
    items: diamond_sword, grilled_pork:2
    armor: 306,307,308,309
    Archer:
    items: wood_sword, bow, arrow:128, grilled_pork
    armor: 298,299,300,301
    Druid:
    items: stone_sword, grilled_pork, bone:2
    armor: 298,299,300,301
    arenas:
    default:
    settings:
    enabled: true
    world: eyeofwisdom
    protect: true
    auto-equip-armor: true
    clear-wave-before-next: false
    detonate-creepers: false
    detonate-damage: false
    lightning: false
    force-restore: false
    soft-restore: false
    soft-restore-drops: false
    require-empty-inv-join: true
    require-empty-inv-spec: true
    hellhounds: false
    pvp-enabled: false
    monster-infight: false
    allow-teleporting: false
    repair-delay: 5
    first-wave-delay: 5
    wave-interval: 16
    special-modulo: 3
    max-idle-time: 0
    player-limit: 0
    logging: false
    max-join-distance: 0
    spectate-on-death: true
    share-items-in-arena: true
    entry-fee:
    coords:
    lobby: -116,65,-40,0.0,0.0
    p2: -68,68,-23,137.94838,74.09999
    arena: -85,53,-39,0.0,0.0
    p1: -102,49,-55,-27.351562,59.100002
    spectator: -108,65,-39,0.0,0.0
    spawnpoints:
    s1: -89,52,-39,-89.45094,40.349983
    s2: -80,52,-39,-269.7509,38.099983
    s3: -85,52,-31,-258.05084,21.29998
    s4: -90,52,-44,-15.800797,65.84998
    s5: -85,52,-48,-327.20074,28.199986
    s6: -93,52,-47,-56.60083,62.54998
    s7: -93,52,-32,-72.50085,29.549978
    s8: -76,52,-31,-191.45084,14.099977
    s9: -77,52,-47,-279.0508,21.899979
    s10: -73,52,-45,-215.75061,32.39998
    s11: -81,52,-51,-263.00067,29.999977
    s12: -89,52,-51,-271.2506,43.049984
    s13: -98,52,-38,-2.4506226,31.799984
    s14: -86,52,-27,-88.70068,33.89998
    s15: -72,52,-35,-169.40088,30.599977
    s16: -90,52,-35,-176.84998,53.249996
    waves:
    default:
    spiders: 10
    creepers: 5
    skeletons: 10
    wolves: 10
    zombies: 10
    special:
    ghasts: 0
    zombie-pigmen: 10
    slimes: 10
    powered-creepers: 5
    giants: 0
    humans: 10
    angry-wolves: 10
    rewards:
    waves:
    every:
    '3': iron_ingot:1, iron_ingot:1, coal:4
    '10': gold_ingot:1, gold_ingot:1
    '15': diamond:1, diamond:2
    after:
    '20': diamond:2, diamond:4, diamond:3
    '30': diamond:5, diamond:4, diamond:3


    Edit: If anyone steals my druid class name instead of it being wolfmaster, ill kill you =O
     
  28. Offline

    garbagemule

    @DevRW - Thanks for testing! I definitely have a bug to squash with regards to logging then. As for animals spawning instead of monsters - this could be the result of another plugin. MobArena doesn't touch the spawn events beyond checking that they are "allowed" in the arena. Another plugin could easily change the mob type, however.

    @KrazyBonez - Could you please post the stacktrace from the server log/window when the bug happens for you? I can't really do anything about it without a stacktrace.
     
  29. Offline

    KrazyBonez

    What is a stacktrace, just the log of the console when it happened? Ill find that and edit it in.

    Show Spoiler
    2011-07-16 17:28:47 [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
    at com.garbagemule.MobArena.Arena.playerDeath(Arena.java:408)
    at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1003)
    at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.EntitySlime.b(SourceFile:126)
    at net.minecraft.server.EntityHuman.i(EntityHuman.java:219)
    at net.minecraft.server.EntityHuman.v(EntityHuman.java:211)
    at net.minecraft.server.EntityPlayer.v(EntityPlayer.java:280)
    at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    at net.minecraft.server.EntityHuman.m_(EntityHuman.java:96)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:192)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-16 17:28:47 [INFO] [HeroicDeath] CaptainDemm was killed by an angry Slime
    2011-07-16 17:28:50 [INFO] [g] Elephant_Boss: k thanks
    2011-07-16 17:28:53 [INFO] [g] mex1995: tty
    2011-07-16 17:29:00 [INFO] [g] CaptainDemm: lol thata awesome
    2011-07-16 17:29:11 [INFO] [g] mex1995: sky me and fish still wonna buy our shop
    2011-07-16 17:29:14 [INFO] /96.126.97.111:40691 lost connection
    2011-07-16 17:29:14 [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
    at com.garbagemule.MobArena.Arena.playerDeath(Arena.java:408)
    at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1003)
    at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.EntityWolf.a(EntityWolf.java:346)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
    at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
    at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
    at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
    at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-16 17:29:14 [INFO] [HeroicDeath] slimnim was killed by an angry Wolf
    2011-07-16 17:29:23 [INFO] Whitelist: Player Warguyful1 is trying to join...
    2011-07-16 17:29:23 [INFO] allow!
    2011-07-16 17:29:23 [INFO] Warguyful1 [/75.139.136.169:49687] logged in with entity id 213689 at ([eyeofwisdom] -440.09375, 22.0, 305.1875)
    2011-07-16 17:29:33 [INFO] [g] [GM] KrazyBonez<Owner>: alright ele, try /pw and /workbench
    2011-07-16 17:29:35 [INFO] [g] [GM] KrazyBonez<Owner>: all good?
    2011-07-16 17:29:43 [INFO] [g] slimnim: after what waves do u win stuff?
    2011-07-16 17:29:48 [INFO] [g] [GM] KrazyBonez<Owner>: yes slim
    2011-07-16 17:29:52 [INFO] [g] [GM] KrazyBonez<Owner>: iron gold diamond and coal
    2011-07-16 17:29:59 [INFO] [g] slimnim: after what wave?
    2011-07-16 17:30:07 [INFO] [g] Elephant_Boss: thanks krazy
    2011-07-16 17:30:08 [INFO] [g] [GM] KrazyBonez<Owner>: every 3 waves is iron or coal
    2011-07-16 17:30:15 [INFO] [g] [GM] KrazyBonez<Owner>: every 10 is gold possibly
    2011-07-16 17:30:18 [INFO] [g] slimnim: didn't win anything made it to round 12
    2011-07-16 17:30:18 [INFO] [g] [GM] KrazyBonez<Owner>: every 15 diamond
    2011-07-16 17:30:21 [INFO] Connection reset
    2011-07-16 17:30:21 [INFO] Sky_Droid lost connection: disconnect.quitting
    2011-07-16 17:30:23 [INFO] [g] [GM] KrazyBonez<Owner>: hmm
    2011-07-16 17:30:29 [INFO] [g] [GM] KrazyBonez<Owner>: intersting
    2011-07-16 17:30:30 [INFO] [g] CaptainDemm: yeah
    2011-07-16 17:30:32 [INFO] [g] slimnim: and its still going..
    2011-07-16 17:30:36 [INFO] [g] [GM] KrazyBonez<Owner>: :confused:
    2011-07-16 17:30:37 [INFO] Whitelist: Player Sky_Droid is trying to join...
    2011-07-16 17:30:37 [INFO] allow!
    2011-07-16 17:30:37 [INFO] Sky_Droid [/74.178.195.159:52788] logged in with entity id 233014 at ([eyeofwisdom] -905.5682461106991, 64.0, 310.1119801382083)
    2011-07-16 17:30:46 [INFO] [g] CaptainDemm: and its still goin even though we both died
    2011-07-16 17:30:52 [INFO] [g] [MiniMod] williamhall10: 0.o
    2011-07-16 17:30:56 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.93
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
    at com.garbagemule.MobArena.Arena.playerLeave(Arena.java:368)
    at com.garbagemule.MobArena.Arena.forceEnd(Arena.java:294)
    at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:440)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    2011-07-16 17:30:58 [INFO] [g] Elephant_Boss: sky got any lava
    2011-07-16 17:30:59 [INFO] [g] [GM] KrazyBonez<Owner>: grr
    2011-07-16 17:31:11 [INFO] [g] mex1995: krazy did u do it
    2011-07-16 17:31:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.93
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    at com.garbagemule.MobArena.MASpawnThread.updateTargets(MASpawnThread.java:378)
    at com.garbagemule.MobArena.Arena.playerLeave(Arena.java:368)
    at com.garbagemule.MobArena.Arena.forceEnd(Arena.java:294)
    at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:440)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    When it says it couldnt pass command 'ma' or whatever, i had used /ma force end
     
  30. Offline

    garbagemule

    @KrazyBonez - Yep! Pretty much. Look at some of the other stacktraces that people have posted if you're unsure what to include. I basically need all the lines where it says something about "couldn't pass event..." or "NullPointerException" or something along those lines. Most important are the lines that have to do with com.garbagemule.MobArena, because those are the lines that tell me where in my code the thing blew up.
     
  31. Offline

    KrazyBonez

    @garbagemule ive updated the previous post.

    Edit: I notice in my spoiler above, it says the version, but it says 0.93 not 0.93.1, or does it not use the .1?
     

Share This Page