[INACTIVE][FUN/MECH] PwnCraft v1.06 - The RPG PvP Plugin [740]

Discussion in 'Inactive/Unsupported Plugins' started by Uremir, May 5, 2011.

  1. Offline

    Uremir

    PwnCraft - The RPG PvP Plugin:
    Version: v1.06

    PwnCraft is an advanced system of classes and leveling that grants unique abilities as you level. You can gain experience by mining, placing blocks, killing monsters, and especially killing players. PwnCraft adds a RPG and PvP experience to your server unlike any you have ever seen. Even if your server isn't PvP oriented, the RPG aspect of PwnCraft is still amazing due to our fantastic class system. Watch the video below for a preview of the Wizard.

    Features:
    * Advanced class system

    - * Choose your class upon reaching level one.
    * Gain unique, class specific abilities as you level.
    - Advanced leveling system
    * Receive EXP for mining and placing blocks, and killing creatures and players.
    * Level up upon receiving a set amount of EXP.
    - Amazing Help Menu
    * "/pc help" for an awesome help menu
    * "/pc command list" for a list of available commands

    * A Rock-Paper-Scissors Balance System

    - * Assassins are powerful against Wizards
    * Wizards are powerful against Warriors
    * Warriors are powerful against Assassins

    * Assassin class
    Show Spoiler
    - * Level 1: Stealth (Become temporarily hidden from enemies with a feather)
    * Level 2: Enhanced Agility (Temporary sprint and half falling damage - SHIFT)
    * Level 3: Pick Pocket (Chance to steal a random item from a player with a slime ball)
    * Level 4: Poisoned Blades (Sword attacks do additional damage over time)
    * Level 5: Murder (Heal for 2 hearts on killing an enemy player)
    * Level 6: Crippling Poison (Sword attacks have a chance to slow enemy movement)
    * Level 7: Back Stab (High chance when attacking from behind with a sword to do 1.5x damage)



    - Warrior class
    Show Spoiler
    * Level 1: Battle Vision (You see your enemies' remaining HP on damaging them)
    * Level 2: Ferocious Charge (You uncontrollably rush forwards with your axe - SHIFT)
    * Level 3: Block (Small chance to block an enemy's attack)
    * Level 4: Combat Training (You passively do slightly more damage)
    * Level 5: Thick Skin (Immune to damage over time effects like fire and poison)
    * Level 6: Decisive Blow (High cooldown strike for 2x damage with your sword)

    * Level 7: Counter Attack (Small chance to counter an enemy's attack)

    - Wizard class
    Show Spoiler
    * Level 1: Blast (Blast a small section for low damage - Torch)
    * Level 2: Blink (Teleport forward a short distance - SHIFT)
    * Level 3: Frost Bomb (A small frost explosion for low damage that slows enemies - Snow Ball)
    * Level 4: Nature's Grasp (Nature temporarily encases a small area - Sapling)
    * Level 5: Lightning Strike (Lightning strikes the ground in a very small area for moderate damage - Redstone Torch)
    * Level 6: Bone Shield (Create a protective shield of bone around yourself - Bone)
    * Level 7: Time Warp (Halts all enemy movement around you for a short time - Clock)


    Wizard Preview:



    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    Co-Developer: Danton
    Danton's Profile: http://forums.bukkit.org/members/danton.59135/

    Installation:
    * Download the latest Minecraft Server
    * Download the latest CraftBukkit.snapshot
    * Place the CraftBukkit.snapshot in your server folder
    * Run the CraftBukkit.snapshot that is in your server folder
    * Download the PwnCraft.jar
    * Drag the PwnCraft.jar into your plugin folder
    * Shut down your server all the way
    * Re-launch your server

    Planned Features:
    * Paladin
    * Cleric
    * Monk
    * Ranger
    * Party System
    * Races (Possibly)

    Special Thanks:
    * Crash for helping me with the "behind" an enemy algorithm.
    * Samkio for making awesome video guides to get Danton and I started.
    * Anyone and everyone who posts feedback and supports PwnCraft.

    Support:
    * Spread the word! Tell your friends about PwnCraft to help spread this awesome plugin!
    * Please, post ANY bugs that you find in PwnCraft! I will be checking this thread every day to fix any and every bug.
    * Have a suggestion for a class/ability/other? Post it! If we like your idea, we will incorporate it!
    * Like PwnCraft or the troubleshooting we post here? Then like it!
    * Of course, you can always DONATE to help support the development of PwnCraft.

    Changelog:
    Show Spoiler
    Version 1.06
    * Wizards now gain experience by casting spells to compensate for the cost of reagents
    * All of the warriors abilities have been fixed (There was a miscommunication on file transfer between Danton and myself, causing most warrior abilities to bug)
    * Assassins are now slowed in stealth
    * Player kills now grant between 10 and 50 EXP per kill
    * Mining gold ore now only grants 4 EXP per block to prevent exploiting the experience system
    * Blink is now only usable on a targeted block within a 40 block distance
    * All instances of the class "Soldier" instead of "Warrior" in the help menu have been changed
    * Added the armor limitations to Wizards (The limitation is leather armor only; it was on Assassins before and I forgot to add in the line to limit the wizard as well)
    * Blast now affects a slightly larger area to ease targeting issues
    * Many wizard cool-downs have been lowered to foster more active spell usage

    Version 1.05
    * Changed the OP fix to no longer require logging in and out
    * Changed the OP fix to no longer require "offlineOPs.txt"
    * Greatly simplified the logic of checking for OP (Should work much more smoothly now)

    Version 1.04
    * Adjusted the reward for killing players to prevent kill trading "power leveling"
    * Nature's Grasp now begins to despawn after 10 seconds
    * Fixed the issue with never ending slows and sprint
    * Fixed all issues with joining as an OP (This includes Essentials and pretty much every other conflicting plugin) (If you are an OP you must join your server, close Minecraft, and rejoin your server after every server reset to make it work. If you have logged in since a server reset, you do not have to do this.)
    * Added "offlineOPs.txt" to prevent any loss of OP names due to the new compatibility fixes.

    Version 1.03
    * Adjusted the ordering in the onPlayerJoin method to hopefully solve failure to initialize players into the HashMap
    * Added back the "/pc help leveling EXP" command that I accidentally deleted
    * Prevented NullPointerException from the checkTS method

    Version 1.02
    * Fixed the ArrayIndexOutOfBoundsException when using certain commands
    * Fixed the nullPointerException onPlayerMove
    * Added the hook for Permissions support

    Version 1.01
    * Fixed the nullPointerException onPlayerJoin.
    * Hopefully fixed the nullPointerException onPlayerMove.
    * Grass blocks now grants 1 EXP for breaking them.

    Version 1.00
    * PwnCraft initial release
     
    Last edited by a moderator: Dec 14, 2016
    Mikhos, Chuckster, Wakko and 3 others like this.
  2. Offline

    turtlelink2

    Balance is not an issue, its the "coolness" factor thats the problem, no one likes running in screaming (actually you cant run and type at the same time in minecraft..) when they can sneak up behind someone and kill them or strike them with lightning.

    EDIT: oh and by the way when you say "ranger" are you speaking the archer stereotypical ranger or the DnD communicate and track with nature ranger
     
  3. Offline

    NeoGriim

    Does this have issues with GroupManager or anything? When other people log in on my server I get this:

    Code:
    2011-05-07 23:51:40 [SEVERE] Could not pass event ENTITY_DAMAGE to PwnCraft
    java.lang.NullPointerException
        at me.Uremir.PwnCraft.pcWarrior.checkTS(pcWarrior.java:178)
        at me.Uremir.PwnCraft.pcCombatListener.onEntityDamage(pcCombatListener.java:63)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:474)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:410)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:149)
        at net.minecraft.server.EntityMonster.a(EntityMonster.java:101)
        at net.minecraft.server.EntitySpider.a(EntitySpider.java:81)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:67)
        at net.minecraft.server.EntityLiving.u(EntityLiving.java:657)
        at net.minecraft.server.EntityMonster.u(EntityMonster.java:30)
        at net.minecraft.server.EntityLiving.p_(EntityLiving.java:231)
        at net.minecraft.server.EntityMonster.p_(EntityMonster.java:34)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
        at net.minecraft.server.World.playerJoinedWorld(World.java:989)
        at net.minecraft.server.World.cleanUp(World.java:966)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    

    There may be a couple different errors but they look similiar to this. Two other errors I was getting along side this was from levelcraft, I'm assuming the health and defense have issues in compatibility but I'd really like to give this a chance instead right now so I took those out. Now I'm hoping I could fix this error and try this plugin out so I can decide if it's right for my server.

    It's a great concept and I can't wait to try it out, hoping you can help me fix it.
     
  4. Offline

    DarkKiller13

    i have like 4000 exp x.x and the /pc help leveling exp
    command doesnt work, what are the ammounts to level up? for all the levels

    or at least the level stays with that class and exp, so if u change to other class as level one or soemthing and u start levelign and dont like u go back to old and it has same level and exp so u dont have to start over again.

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

    turtlelink2

    link go's to v1.00? getting the move error
     
  6. Offline

    AzureFlameCloud

    this is awesome!!
    any chance the party size may be configurable?
     
  7. Offline

    spirit293

  8. Offline

    Yahiko911

    Hy. I have a problem. if i write a commands, it write the stuffs, but after the informations, it write Unknown command. pls help me. thx

    Have another problem: When i want to see how much xp need to next level with /pc help leveling EXP then its says unknown command... help me pls

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

    NeoGriim


    It appears this happens when people log on and log off or sometimes in combat I think. But I haven't seen any issues when I do anything myself.
     
  10. Offline

    turtlelink2

    @Uremir please update the download link, I still get the move errors
     
  11. Offline

    Uremir

    The posted version is and was 1.02. I merely forgot to update the .yml. As for the errors, those are 100% NOT caused by PwnCraft. It is literally impossible for PwnCraft to send a NullPointerException onPlayerMove from the pcWarrior class at line 113 (which is where the errors seem to originate). The problem seems to be with other plugins and compatibility issues. I will be working on compatibility with Essentials (the supposed problem plugin) VERY soon.

    I completely understand that there will be more assassins on a server. For PvP, assassinating someone just sounds way cooler. However, once people understand that if they choose a warrior they can destroy the vast majority of the population (the assassins), then people will begin to choose warrior.

    Hmm... It would appear that players aren't being written into the HashMap onPlayerJoin (I would think). I changed the ordering of the code in onPlayerJoin, hopefully that will fix it.

    I am so sorry; that is completely my fault! I was changing the help menu around earlier, and apparently I completely deleted that method! Again, apologies for any confusion! It is now added back in.

    Meh, possibly. It depends on community demand. The party system will mainly be for clerics, and we may limit it to the standard 5 or 10... We'll test it and see how it goes.

    If you're not going to say something useful, don't post. No room for trolls here.

    This is because you're an OP on your server. It thinks you are issuing a "server" or "console" command, when in reality you are just accessing PwnCraft. If you are not an OP, then you will not encounter this problem. I will include a fix for this at a later time.
     
  12. Offline

    bmt16

    Awesome plugin, works with mcMMO too so that's another point. The help menu is kind of messy though and the commands are really long /help leveling exp is alot to type to see 7 lines of text, you could probably make an alias as /pexp or something so it won't conflict. Also, it would be really nice if it had configurable settings, such as xp per kill or xp per block broken and the total amount needed to level up. But I really do love it.
     
  13. Offline

    Uremir

    The ranger is going to be archery focused, with the compliment of being able to summon a wolf pet. He will have different "elements" of arrows and different arrow based skills.
     
  14. Offline

    turtlelink2

    So where does the move error come from?, I assumed it was outdated because only /pc help worked and /pc class assassin did not...
     
  15. Offline

    Uremir

    "/pc class assassin" should choose your class as Assassin once you reach level one, so if you weren't Level 1 it shouldn't work. And if you're getting errors, you need to link me the errors so that I can fix them.
     
  16. Offline

    Yahiko911

    pls answer the mails what i sent... and how can i update for the latest version without overwrite the reached levels and experiences?
     
  17. Offline

    Uremir

    The player's data is stored into a file that PwnCraft will read whenever you launch the server.
     
  18. Offline

    turtlelink2

    Code:
    15:23:32 [SEVERE] Could not pass event PLAYER_MOVE to PwnCraft
    java.lang.NullPointerException
            at me.Uremir.PwnCraft.pcPlayerListener.onPlayerMove(pcPlayerListener.jav
    a:163)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:242)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >
    also /pc exp doesnt work so idk if Il ever level up..
     
  19. Offline

    Uremir

    That is very strange... Have you tried running you server without any other plugins besides PwnCraft? I can't seem to find a reason that you would get a NullPointerException there unless you were never initialized into the HashMap to start with.
     
  20. Offline

    turtlelink2

    It does not get along well with essentials...Thats like my core plugin...
     
  21. Offline

    Uremir

    Is that the only plugin it doesn't get along with? I am going to get that fixed tomorrow, I believe.
     
  22. Offline

    turtlelink2

    Oh and if you do include races make sure not to leave out drow =P
     
  23. Offline

    Uremir

    Haha! Probably going to include every conceivable race... Each one will have 1 SLIGHT passive bonus to accentuate the character. It will also be clear that some races are meant for certain classes.

    I have good news and bad news for the Essentials compatibility problem!
    Good news: If you aren't an OP, then PwnCraft works fine even if essentials is on your server.
    Bad news: PwnCraft doesn't work AT ALL if you are an OP on a server that has Essentials.
    Summary: I've got to look into Essentials and figure out why being an OP destroys PwnCraft.

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

    turtlelink2

    Ummm can you double check that /pc exp works while not op? because with essentials it did nothing, without it it actuly showed me that I had 0 exp
     
  25. Offline

    Uremir

    Essentials and PwnCraft work if you aren't an OP, just tested.
     
  26. Offline

    turtlelink2

    I have to disagree, using the essentials suite (-essentials protect) I still get move errors and the exp still doesnt work


    EDIT: It's essentials chat that hates it, iChat is better anyway
     
  27. Offline

    Mckleiven

    Is there any way to edit the XP you get for each, for example block you take down?
     
  28. Offline

    AzureFlameCloud

    5 might be too unbalanced, you could make a party with one of each class
    what about 3?
     
  29. Offline

    Unjust

    Get that ranger up in there. :D
     
  30. Offline

    Rowsdower

    Not sure about anybody else but several people (including me) on a server I admin are running into a bug with some of the class abilities. The assassin's sprint occasionally just won't end. Ever. You get stuck in infinite-sprint mode and cannot stop moving forward. Dying and even relogging will not fix it. /pc mobility will not fix it either.

    I used the ability several times for it's normal duration before this happened, but now it just won't stop!


    There was also an issue earlier on the same server where the wizard's frost spell caused it's affected targets to be perma-slowed. Dying or relogging did not fix this either.

    What's going on?!
     
  31. Offline

    aom

    Works great, but can you create SQLite or flatfile database storage? Also adding Permissions support will be nice.
     

Share This Page