[FUN/RPG] Warzone V1.1.1 - Bringing War to Minecraft [1060]

Discussion in 'Inactive/Unsupported Plugins' started by MineDev, Jul 25, 2011.

  1. Offline

    MineDev

    [​IMG]

    Coded by @Adamki11s of MineDev

    Warzone - Bringing war to Minecraft!
    Version : 1.1.1

    Donate to the developer to show your appreciation!
    [​IMG]

    [​IMG]




    Command List & Permission Nodes
    Map Screenshots

    [​IMG]
    Older Version (1.05)
    Bundle - Contains both the Warzone.Jar file and the Required World Folder.

    [​IMG]
    Older Version (1.05)
    World - Contains the standalone world required for the Warzone Plugin.

    [​IMG]
    Older Version (1.05)
    Plugin - The Jar file for the Warzone Plugin

    Want a map added? Have an Idea for a map? Go here!

    Have suggestion or a feature request?

    Report a bug or error!


    Warzone is an advanced plugin which allows players to pit themselves against one another in a simulated battle. Each player is given a bow, a supply of arrows, a sword and some coal. The aim of the game is to shoot your opponent with your bow, or crush him with your sword to kill him and gain points. The coal is used as fuel for smoke grenades which are activated by left clicking anywhere with your bow.


    Features:
    • Spout GUI Interface Support! (Coming in v1.1.2)
    • 19 Unique Maps!
    • Multilanguage support - German, French, Dutch, Polish, Danish and English!
    • MySQL support!
    • Ranking System, leaderboards and statistic tracking.
    • Play a ranked or social game if you just want to have fun.
    • Per player preferences. Players have their own unique settings before they go into battle.
    • Fast Matchmaking to ensure you get into a game as quickly as possible.
    • Lag free!
    • And much more!
    • Highly configurable!
    Currently there is only one game-mode of 1 vs 1, however I am working on adding team based games such as team deathmatch, capure the flag, and much more! Players have the option to search for a ranked or social game. Your statistics do not get tracked in social matches and you gain no exp.

    After each ranked game of Warzone you'll gain exp. This will allow you to reach higher levels which in turn rewards you with cool features such as setting what armour you wear in battle and even the option to set what block you wear on your head level 40+.

    Game Modes:
    • 1 vs 1 solo mode.
    • Team deathmatch (Coming soon)
    • Capure the flag (Coming soon)
    • King of the hill (Coming soon)
    • Search and Destroy (Coming soon)
    • Guardian (Coming soon)
    • More Planned
    There is a grand total of 19 maps so far in Warzone. I have plans to add even more, see below if you want to help :). You can configure the time each match lasts and even specific matchmaking options such as timeout time and dialogue display rate. Just navigate to the folder "plugins/Warzone/Configuration".

    How to install:
    1. Download the bundle. You can download the Warzone world and .Jar file separately if you wish.
    2. Extract the files onto your server. The Warzone.Jar plugin file should go into your plugins folder and the 'WarzoneWorld' folder should remain in your root directory along with your plugins folder, startup script, server log, other world folder etc.
    3. Restart your server. The world will be loaded and the folders and files the plugin needs will be created automatically.
    4. NOTE: You cannot edit the Warzone world. It is designed for battles only.
    Warzone even has an arena which you wait in while the plugin searches for another player. Below is a feature list, download links and more!

    Changelog:
    Version 1.1.1: Fixed sign issues!

    Version 1.1: Added MySQL support.
    Fixed statistics when comparing.
    Removed /return command
    Added support for multiple languages including German and French.
    Amount of coal is now configurable.
    Added permission nodes.

    Version 1.05: Added swords for 1 hit kills. Make sure to check out the updated commands page for player preferences. Reduced memory footprint.
    Version 1.04: Arrows now unload when joining a game.
    Changelog (open)
    Version 1.03: Added the option to choose whether NPCS spawn in the lobby or not. File can be found in the configuration folder inside LobbyConfig.

    Version 1.02: Fixed an issue where 2 groups spawn in the same map.

    Version 1.01: Added a region to check to improve matchmaking and added a /warzone return command incase you get stuck in a map.

    Version 1.0: Initial Release
     
  2. Indeed played a social, doh, the experience gain made me forget that ;)

    The console errors happened exactly when we ended the game and were booted back to our previous locations.

    Running CB 1029 or so right now, but should be same as 1000 I figure ;)
     
  3. Well CB #1029 is not recommended so those errors may be due to breakages. I'm pleased to say that I'll be releasing v1.05 today with some minor fixes and the addition of swords for 1 hit K.O's at close range.
     
  4. Meh in my experience it indicates a plugin issue, unless the error appears in many plugins, only seeing it in this :D

    I will run CB 1000 on Test server with 1.05 to verify later :)
     
  5. @Joy
    @Mukrakiish
    Version 1.05: Added swords for 1 hit kills and removed npcs who walked around in the arena to save memory. Be sure to check out my website for the commands, permission nodes coming soon I promise ;)
     
  6. Oh whaa, the NPCs in the lobby are super cool :D Were they such a memory hog? Perhaps leave configurable?
     
  7. Alright I'll add them back but I use 6 threads the control their behaviour and while the thread hardly does much Bukkit probably reserves x amount of memory per thread. I'll add them back but purely as optional ;)
     
  8. 1.05 tested with CB 1000, did not have the errors this time.

    New issue:
    While in a game, I did a warzone return. This just dumped me out of the arena, back to where I joined up. Is that intended? I figure that could lead to issues? It did properly fix my inventory after the game ended. Also seems you can just flee a match like that or not? :eek:

    Also, issue here: http://i.imgur.com/mv4nX.png
    Exp not making sense :p

    Probably also need some sort of resign command.

    ===

    Also, am sure you realize, but /warzone without any parameters should return some help ;)
     
  9. Yes, I am writing up the help thing :)
    The /return command was intended incase you get stuck in a match but considering what you've said I'll have to look into a way so that they can escape out of a game that way, I'll also add a /warzone forfeit and /warzone quit command along with built in help and i'll also take a look at that exp thing.

    Thanks for your support :D
     
  10. Offline

    embty

    Wow! No Words can describe how amazing your idea is.
    Just one question is it possible to have this in another map for my server? or does require the whole server to be warzone?
     
  11. Wow you missed the entire point...this plugin comes included with a WarzoneWorld file...
     
  12. Offline

    embty

    lol my bad Thanks :>
     
  13. Please read the post. You can download the WarzoneWorld which contains all the maps you need in the bundle or standalone download. The Warzone.Jar plugin then hooks into and uses the World.
     
  14. Offline

    embty

    Got a bunch of errors and bugs:
    Code:
    2011-07-27 16:19:11 [SEVERE] Could not pass event PLAYER_JOIN to Warzone
    java.lang.NoSuchMethodError: com.alta189.sqlLibrary.SQLite.DatabaseHandler.insertQuery(Ljava/lang/String;)V
        at com.alta189.sqlLibrary.SQLite.sqlCore.insertQuery(sqlCore.java:70)
        at couk.Adamki11s.Warzone.WarzonePlayerListener.onPlayerJoin(WarzonePlayerListener.java:55)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        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-27 16:19:11 [INFO] TheSniper841 lost connection: disconnect.endOfStream
    
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'wz' in plugin Warzone v1.03
        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:320)
        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 couk.Adamki11s.Commands.WarzoneCommands.onCommand(WarzoneCommands.java:167)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    Code:
    2011-07-27 16:18:19 [SEVERE] Could not pass event ENTITY_DAMAGE to Warzone
    java.lang.NullPointerException
        at couk.Adamki11s.Games.OVERFLOW_GD.respawn(OVERFLOW_GD.java:414)
        at couk.Adamki11s.Games.OVERFLOW_GD.shotHit(OVERFLOW_GD.java:138)
        at couk.Adamki11s.Warzone.WarzoneEntityListener.onEntityDamage(WarzoneEntityListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile: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)
    
    Code:
    2011-07-27 16:18:06 [WARNING] Task of 'Warzone' generated an exception
    java.lang.NullPointerException
        at couk.Adamki11s.Games.TOMB_GD.respawn(TOMB_GD.java:413)
        at couk.Adamki11s.Games.TOMB_GD.initiateScheduler(TOMB_GD.java:483)
        at couk.Adamki11s.Lobby.Pool.matchmaking(Pool.java:368)
        at couk.Adamki11s.Lobby.Pool$1$1.run(Pool.java:145)
        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)
    
    And possibly 2 bugs: Players are not getting any items upon join a game. and the /wz stats gives an internal error msg.

    Thanks in advance
     
  15. What version of Craftbukkit are you running? Have you decompiled and modified the jar in any way?
     
  16. Offline

    embty

  17. Offline

    Sh00ck

    Sword does not work ;)
    I tested it :D
     
  18. Offline

    embty

    I just deleted and installed a fresh one the only problem I was facing is that players are not getting anything just unarmed.
    Code:
    2011-07-27 19:19:25 [SEVERE] Could not pass event PLAYER_JOIN to Warzone
    java.lang.NoSuchMethodError: com.alta189.sqlLibrary.SQLite.DatabaseHandler.insertQuery(Ljava/lang/String;)V
        at com.alta189.sqlLibrary.SQLite.sqlCore.insertQuery(sqlCore.java:70)
        at couk.Adamki11s.Warzone.WarzonePlayerListener.onPlayerJoin(WarzonePlayerListener.java:55)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        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)
    
    Code:
    2011-07-27 19:18:40 [SEVERE] Could not pass event ENTITY_DAMAGE to Warzone
    java.lang.NullPointerException
        at couk.Adamki11s.Games.ABYSS_GD.respawn(ABYSS_GD.java:387)
        at couk.Adamki11s.Games.ABYSS_GD.shotHit(ABYSS_GD.java:140)
        at couk.Adamki11s.Warzone.WarzoneEntityListener.onEntityDamage(WarzoneEntityListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile: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)
    
    A conflict with another plugins perhaps?
     
  19. Offline

    didzym

    Great plugin! I have test the 1.05 version with cb1000. I have seen various bugs:
    -Sometimes there are clones of the players in the teleportation
    -in the general classification there was a bug, a player took 45,000 points while he had 4 500
    -sometimes the inventory is not restored after the game, or the items take in the game are not delete after the game.
    -respawn bug in the spheres map with soulsand and glowstone, I could not see the name sorry.

    Sorry if my english is bad I'm french.
     
  20. Redownload, swords are now working properly :)

    Try running Warzone on a test server so you see that it works then add on other plugins until you find the conflict.
    Thanks for your support :D

    What do you mean by clones of players while teleporting?

    Are you saying that someone gained 10x more exp than they were supposed to?

    I'm pretty sure the inventory restoration works, what went wrong for you?

    What type of respawn bug?
     
  21. Offline

    Mukrakiish

    I've had the occasional inventory issue as well. Not sure why...but occasionally I will log out shortly after a game and come back and i still have my bow & the like but not my original inventory.

    Having a hard time pinpointing...but there's definitely something not firing right with the inventory switch.
     
  22. Offline

    didzym

    The player see his clone sometimes after the game. It is a bug client, a simple disconnection, reconnection is sufficient to remove a clone. Yes and now it's 4 players who have won 10x the number of points without doing anything. This is the total number of point of a player who is multiplied. The restauration of my inventory, and an other playerhave not successfully completed, but this is rare. For the respawn bug, the player is trapped in blocks.
     
  23. Offline

    embty

    Ok after heavy testing:
    1- players sometimes get no weapons and sometimes they do. they have to /wz return and join again.
    2-using /wz stats give internal error
    3- using /wz leaderboard doesnt do anything.
    4-some players take their armor with them when they join. it happens randomly
    5-upon server restart players who were inside wz cant edit or do anything with their inverntories. they just get stuck
     
    LarsMaehlum likes this.
  24. Offline

    Mukrakiish

    2. All commands work on mine either /warzone or /wz *shrugs*

    4. I agree with, had it happen (although didn't affect the match)

    5. I can see why that would happen...
     
  25. Offline

    koko13009

    Hi,
    I just test this pretty cool plugin, but got an strange Severe error during startup of server, just an error, and the plugin works fine, all functions responding correctly, but i think there is a problem with bukkitcontrib, maybe you could help me to resolve that issue.

    Running cb1000

    Error log : http://pastie.org/2283514

    Thanks by advance, and good job for your work :)
     
  26. Offline

    alta189

    Im on the team for BukkitContrib, that is an issue with BukkitContribEssentials.
     
  27. 1) I have tested about 50+ games and we always get weapons.
    2 & 3) My guess is that you've set something up wrong or modified some files you should've left alone because it works fine for me and every other server using Warzone.
    4) I'll have a look into this.
    5) Players inventorys should be saved and persist even after a server restart.

    I have to ask you what version of craftbukkit you're using and what you've done because you shouldn't be getting those errors.

    I've never had the clone issue happen myself but as that's a client side bug there's not much I can do.
    For the players score 10x normal points I'll have a look into that right away.
    Some players also say that the inventory sometimes doesn't work properly.
    As for the respawn bug I have tested on all maps and never get stuck. Have you edited any of the maps?
     
  28. Offline

    Maguron

    Nice world but the commands doesnt work for me ;(
     
  29. Have you tried it on a stand alone test server. Either you haven't set it up correctly so Warzone has disabled itself because it can't find the world or there's a conflicting plugin.
     
  30. Offline

    embty

    I tested it on a local test server and everything worked with no errors at all using the same plugins I was on my online server. but the only server is getting errors what could be the problem? I didnt change any config or anything
     

Share This Page