[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

    garbagemule

    @KrazyBonez - It looks like you're using v0.93, and not v0.93.1? If so, please update to v0.93.1, as the problem you're having should be fixed.
     
  3. Offline

    Delois

    Minor issue I noticed: 'Hellhounds' dont stay on fire after they get wet the first time.

    Did you see the video on last page? I since have updated since then, all tall trees due to abuse and a few patches of slowsand to make things intrusting. may make a patch or 2 of fire...
     
  4. Offline

    bothersome

    I've been getting TONS of errors with mob arena installed. This is one of them.

    2011-07-17 19:31:56 [SEVERE] java.io.EOFException
    2011-07-17 19:31:56 [SEVERE] at java.i:confused:bjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
    2011-07-17 19:31:56 [SEVERE] at java.i:confused:bjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
    2011-07-17 19:31:56 [SEVERE] at java.i:confused:bjectInputStream.readStreamHeader(ObjectInputStream.java:797)
    2011-07-17 19:31:56 [SEVERE] at java.i:confused:bjectInputStream.<init>(ObjectInputStream.java:297)
    2011-07-17 19:31:56 [SEVERE] at com.garbagemule.MobArena.MAUtils.restoreInventory(MAUtils.java:387)
    2011-07-17 19:31:56 [SEVERE] at com.garbagemule.MobArena.MAUtils.storeInventory(MAUtils.java:347)
    2011-07-17 19:31:56 [SEVERE] at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:165)
    2011-07-17 19:31:56 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-07-17 19:31:56 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-17 19:31:56 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:299)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-17 19:31:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-17 19:31:56 [INFO] [MobArena] ERROR! Could not restore inventory for Oiram988
    2011-07-17 19:31:57 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-17 19:32:06 [SEVERE] java.io.EOFException
    2011-07-17 19:32:06 [SEVERE] at java.i:confused:bjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
    2011-07-17 19:32:06 [SEVERE] at java.i:confused:bjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
    2011-07-17 19:32:06 [SEVERE] at java.i:confused:bjectInputStream.readStreamHeader(ObjectInputStream.java:797)
    2011-07-17 19:32:06 [SEVERE] at java.i:confused:bjectInputStream.<init>(ObjectInputStream.java:297)
    2011-07-17 19:32:06 [SEVERE] at com.garbagemule.MobArena.MAUtils.restoreInventory(MAUtils.java:387)
    2011-07-17 19:32:06 [SEVERE] at com.garbagemule.MobArena.MAUtils.storeInventory(MAUtils.java:347)
    2011-07-17 19:32:06 [SEVERE] at com.garbagemule.MobArena.MACommands.onCommand(MACommands.java:165)
    2011-07-17 19:32:06 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-07-17 19:32:06 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-17 19:32:06 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:299)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-17 19:32:06 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-17 19:32:06 [INFO] [MobArena] ERROR! Could not restore inventory for Oiram988
     
  5. Offline

    garbagemule

    @Delois - Whoa! That is one badass arena! I really, really love what you've done with the whole thing. The fact that it is so huge makes me so happy I changed the spawn algorithm to only spawn monsters near players :) The spectator area is amazing! It might be a little crowded to really see everything going on, but I think the top-down approach from such a high point is a really good idea! Very nice video; adding it to the list :)

    @bothersome - Looks like there are some problems with inventory storing. Perhaps your server is a little too strict with file permissions? Try setting require-empty-inv-join: true.
     
  6. Offline

    KrazyBonez

    Well after much testing, it was working great since i updated. Then just now, i had another instance where all players were done, and the arena kept going. This time its different though, there were zero errors in my console, and a /ma force end did fix the situation. Ill let you know if it happens again. @garbagemule

    Edit: Here i am 45 minutes from this post, with a never ending arena again, and again no errors in console. You have my config above, lmk if you see anything.

    Edit 2: It happened twice more, but now its gotten to be a pain so ive disabled mobarena untill we can figure this out. Ill enable it for testing when you figure out what needs tested or anything like that, not sure what to do honestly :(
     
    garbagemule likes this.
  7. Offline

    ewized

    Cool i have an idea and if there is only one player and they punch the iron block give then a mess saying you area the only one are you sure you want to fight?
     
  8. Offline

    Safetybrick

    here's one i just noticed. when using max-join-distance if you out of the set range it will clear your inventory
     
  9. Offline

    ericnx

    Omg Im starting to get annoyed. So when I do /ma join, it will send me to the lobby. After that, when I pick a class, Nothing happens! I restarted my server, configured the file, everything! I can't seem to pick a class. The class name on the signs are in color. Can that be the problem? HELP!!!! I CANT PICK A CLASS D:
     
  10. Offline

    DevRW

    What plugin do you use that adds color to signs? I'd say remove it, try again.
     
  11. Offline

    GameOverRules

    Why wont the force-restore work for me? And when I set the protect: false it still is protected and blocks destroyed just get replaced right away like before. But I really want to get the restore thing working, that is just a awesome feature. Someone please help!
     
  12. Offline

    ACStache

    @GameOverRules
    if you want to make changes to the arena you have to use /ma editarena <arenaname> [true|false], that will let you edit it how you need to.

    @ericnx use the same command above and redo your signs with no colors and see if that works. as in break them off of the wall, then put them back on with normal (black) text
     
  13. Offline

    ericnx

    I used ColorSign.
     
  14. Offline

    James4119

    is it updated yet to 1.7 ?
     
  15. Offline

    GameOverRules

    yeah i Know how to edit the region but I am talking about the setting force-restore so that the region will be destroyed during that game and at the end it will regenerate and be good as new.

    EDIT: I got it working, after a hr or two or playing around with it
     
  16. Offline

    ericnx

    Yes. Nvm It's working now. thank you for the help
     
  17. Offline

    topsub

    Is there a bug where waves stop spawning after 2?
     
  18. Offline

    Safetybrick

    anyone know how to add spawns to an non-default arena after you done the initial setup? when i use /ma addspawn it wants to add it for default

    EDIT:

    Figures it out /ma setarena
     
  19. Offline

    GarretSidzaka

    yes i have had this evar since he release the patch with all the sick-ass features!!! i want those features sooooo bad!
     
  20. This is my config file and i am having errors. Can I even add new classes to my arena?
    # MobArena Configuration-file
    # Please go to https://github.com/garbagemule/MobArena/wiki/Installing-MobArena for more details.
    global-settings:
    update-notification: true
    enabled: true
    allowed-commands: /list, /pl
    classes:
    Chef:
    items: stone_sword, bread:6, grilled_pork:4, mushroom_soup, cake:3, cookie:12
    armor: 314,315,316,317
    Oddjob:
    items: stone_sword, flint_and_steel, netherrack:2, wood_pickaxe, tnt:4, fishing_rod, apple, grilled_pork:3
    armor: 298,299,300,301
    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
    Lightning Mage:
    items: wooden_stick, grilled_pork:3
    Kamikaze:
    items: TNT:64, grilled_pork 10
    arenas:
    default:
    settings:
    world: world
    enabled: true
    protect: true
    logging: false
    clear-wave-before-next: false
    detonate-creepers: false
    detonate-damage: false
    lightning: true
    auto-equip-armor: true
    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
    player-limit: 0
    max-join-distance: 0
    repair-delay: 5
    first-wave-delay: 5
    wave-interval: 20
    special-modulo: 4
    max-idle-time: 0
    waves:
    default:
    spiders: 10
    creepers: 10
    skeletons: 10
    wolves: 10
    zombies: 10
    special:
    ghasts: 0
    zombie-pigmen: 10
    slimes: 10
    powered-creepers: 10
    giants: 0
    humans: 10
    angry-wolves: 10
    rewards:
    waves:
    after:
    '7': minecart, storage_minecart, powered_minecart
    '16': diamond_sword
    '13': iron_sword, iron_pickaxe, iron_spade
    every:
    '3': feather, bone, stick
    '10': iron_ingot:10, gold_ingot:8
    '5': dirt:4, gravel:4, stone:4
    coords:
    p1: -19,72,119,-39.0004,76.35001
    p2: -4,72,143,-207.60043,89.09999
    spawnpoints:
    s1: -6,72,141,-247.05048,83.24999
    s2: -17,72,141,-171.30011,89.09999
    s3: -17,72,134,-179.40009,80.99998
    s4: -6,72,134,-177.00006,83.099976
    s5: -6,72,121,-253.65039,82.79999
    s6: -17,72,121,-345.30048,90.0
    arena: -16,73,124,-28.800507,28.499992
    lobby: -25,74,128,-11.7047415,12.300093
    spectator: -12,81,116,-1.6504291,80.549995
     
  21. Offline

    columb

    You do not have permission to update this wiki.
    (c) github mob arena commands
     
  22. Offline

    Flamers

    @needhelponautoannouncer Use a [code ] block please...

    Your missing the armour line in the new classes, if you dont want them to have any just add the line and leave the values blank.
     
  23. Offline

    garbagemule

    @KrazyBonez - Sorry you're still having trouble. I'm running out of ideas as to what could be causing this, but I will be pushing v0.93.2 some time today (hopefully), which has a somewhat altered code structure. I would really, really love it if you could figure out some reproduction steps. It is extremely difficult to debug when I don't know what I'm looking for :(

    @ewized - Fair idea, not gonna get implemented at this point in time, though. Still too many bugs to weed out :(

    @Safetybrick - Thanks for the bug report, and a big "whoops" on my end! Sorry about that. I'll have a look at the order of error checking in /ma join.

    @ericnx - Maybe you should try following the Troubleshooting-steps in the main post instead of getting annoyed? :) Was it the colored signs that messed it up?

    @GameOverRules - Try with soft-restore: true. force-restore shouldn't be used unless you can't use soft-restore. Glad you found your error though - would you mind sharing with the rest of us?

    @James4119 - I'm not sure exactly how to answer that question. I think I'm going to answer it with another question: Is CB #953 updated to 1.7? :)

    @topsub - Apparently some other users are experiencing this issue as well, but I can't reproduce it. I need more information, and I need you to follow the Troubleshooting-steps to see if the problem is a conflicting plugin. If not a conflicting plugin, then there's something else wrong on your end :(

    @needhelponautoannouncer - I need more information than that, and please, edit your post and put the config-file in a CODE-block (you will need to copy/paste again, because you messed up the formatting).

    @columb - Why are you trying to edit my Wiki? :confused:
     
  24. Offline

    d00ba

    Woo nice, been waiting for the iConomy support for a while! Thank you.
     
  25. Hey mule, the wiki link to the commands is broken and it seems the commands arent on the wiki any longer?
     
  26. Offline

    garbagemule

    @Zothen - Looks like someone deleted it... Wiki editing is no longer public, and Commands is back up. Thanks for notifying me :)
     
  27. Offline

    Flamers

    I edited a bit before @garbegmule as there was a FAQ question missing :p
     
  28. Offline

    KrazyBonez

    I wish i could narrow it down but the console isnt giving me anything when it happens, no errors, and it just seems to happen at random. No true known cause at this time, i may do some more testing later.
     
  29. Offline

    matthewpipie

    Yes!
    but i still want to be able to make our own
    also, when i made my own class and punched it, the server kicked me and said "an internal server error occurred".
    this is what it said in console:
    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT to MobArena
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.inventory.CraftItemStack.getMaxStackSize(CraftItemStack.java:124)
        at org.bukkit.craftbukkit.inventory.CraftInventory.firstPartial(CraftInventory.java:207)
        at org.bukkit.craftbukkit.inventory.CraftInventory.addItem(CraftInventory.java:227)
        at com.garbagemule.MobArena.MAUtils.giveItems(MAUtils.java:492)
        at com.garbagemule.MobArena.MAUtils.giveItems(MAUtils.java:502)
        at com.garbagemule.MobArena.Arena.assignClass(Arena.java:473)
        at com.garbagemule.MobArena.Arena.onPlayerInteract(Arena.java:1175)
        at com.garbagemule.MobArena.MAPlayerListener.onPlayerInteract(MAPlayerListener.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        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)
    08:51:24 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
        at net.minecraft.server.ItemStack.a(ItemStack.java:199)
        at net.minecraft.server.InventoryPlayer.f(InventoryPlayer.java:120)
        at net.minecraft.server.EntityHuman.v(EntityHuman.java:182)
        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: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)
    
    and heres my config( the whole thing):
    Code:
    # MobArena Configuration-file
    # Please go to https://github.com/garbagemule/MobArena/wiki/Installing-MobArena for more details.
    global-settings:
        update-notification: true
        enabled: true
        allowed-commands: /list, /pl
    classes:
        Chef:
            items: stone_sword, bread:6, grilled_pork:4, mushroom_soup, cake:3, cookie:12
            armor: 314,315,316,317
        Oddjob:
            items: stone_sword, flint_and_steel, netherrack:2, wood_pickaxe, tnt:4, fishing_rod, apple, grilled_pork:3
            armor: 298,299,300,301
        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
        matthewpipie:
            items: gold_sword, bow, arrow:32, apple:2, grilled_pork:1, flint_and_steel, tnt:10
            armor: 0,0,316,0
    arenas:
        default:
            settings:
                world: Wow
                enabled: true
                protect: true
                entry-fee: ''
                logging: false
                clear-wave-before-next: false
                detonate-creepers: false
                detonate-damage: false
                lightning: true
                auto-equip-armor: true
                force-restore: false
                soft-restore: false
                soft-restore-drops: false
                require-empty-inv-join: false
                require-empty-inv-spec: true
                hellhounds: false
                pvp-enabled: false
                monster-infight: false
                allow-teleporting: false
                spectate-on-death: true
                share-items-in-arena: true
                player-limit: 0
                max-join-distance: 0
                repair-delay: 5
                first-wave-delay: 5
                wave-interval: 25
                special-modulo: 4
                max-idle-time: 0
            waves:
                default:
                    spiders: 10
                    creepers: 10
                    skeletons: 10
                    wolves: 10
                    zombies: 10
                special:
                    ghasts: 2
                    zombie-pigmen: 10
                    slimes: 10
                    powered-creepers: 5
                    giants: 1
                    humans: 10
                    angry-wolves: 10
            rewards:
                waves:
                    after:
                        '7': minecart, storage_minecart, powered_minecart
                        '16': diamond_sword
                        '13': iron_sword, iron_pickaxe, iron_spade
                    every:
                        '3': feather, bone, stick
                        '10': iron_ingot:10, gold_ingot:8
                        '5': dirt:4, gravel:4, stone:4
            coords:
                arena: 71,72,116,-213.93282,-12.749988
                p1: 52,68,94,94.31709,89.09998
                p2: 72,89,117,38.3671,90.0
                l1: 42,72,122,34.9171,88.350006
                l2: 47,80,128,266.51715,90.0
                lobby: 44,76,125,-96.33283,7.3500013
                spectator: 62,80,103,-3.1828365,30.15
                spawnpoints:
                    s1: 71,71,95,46.917236,90.0
                    s2: 53,71,95,-57.182728,88.950005
                    s3: 53,71,116,-132.78271,89.85
                    s4: 62,71,106,355.76727,90.0
                    s5: 62,71,108,2.2172241,90.0
                    s6: 58,71,105,266.6671,90.0
                    s7: 62,71,103,358.1678,90.0
                    s8: 66,71,105,52.0177,89.85
    
    my new class is matthewpipie, my username:rolleyes:
    does it have anything to do with the
    armor: 0,0,316,0?

    also can u add a new feature that only lets some people use certain classes

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

    FireFreak111

    @garbagemule
    Any chance of SQL support soon? Maybe for performance restoring blocks could use SQL, coords and other stuff in SQL, thus preventing alot of I/O errors. Also any chance of configuring arenas with commands instead of using the config file like /ma set arenaname arenasetting true/false???
    These two features would dramatically increase the server admin's ability to get things done quicker as well as preventing some fail user YAML bugs from bad formatting and lastly some performance gains :)
     
  31. Offline

    Flamers

    @matthewpipie 0 is the air block so that would cause an error. try with just that one piece of armour :)
     

Share This Page