[RPG/MECH] mcMMO v1.2.07 - RPG Addiction Redefined! Multi-Lingual! [1337][1549]

Discussion in 'Inactive/Unsupported Plugins' started by nossr50, Feb 5, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    nossr50

  2. Offline

    Rob Bruton

    It doesn't work on build 432.

    Here is what shows in the console:
    Code:
    2011-02-23 19:10:58 [SEVERE] Could not pass event BLOCK_DAMAGED to mcMMO
    java.lang.NullPointerException
        at com.gmail.nossr50.mcm.herbalismProcCheck(mcm.java:1543)
        at com.gmail.nossr50.mcBlockListener.onBlockDamage(mcBlockListener.java:75)
        at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:357)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-23 19:10:58 [SEVERE] Could not pass event BLOCK_DAMAGED to mcMMO
    java.lang.NullPointerException
        at com.gmail.nossr50.mcm.herbalismProcCheck(mcm.java:1543)
        at com.gmail.nossr50.mcBlockListener.onBlockDamage(mcBlockListener.java:75)
        at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:357)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    (I was breaking leaves)
     
  3. Offline

    wafels45

    Where can I find the REAL build 432 because it somehow auto updates or they changed the file or somthing because when I start the server with the download 432 that you gave me it says that its running 450.
     
  4. Offline

    Wulfspider

    Would it be possible to change /stats to /skills so it doesn't conflict with the Stats plugin or at least add /skills as a backup in case the Stats plugin is installed? As of right now, the Stats plugin overrides the mcMMO /stats command.
     
  5. Offline

    enchanter100

    I have double checked 432 and 7.4.. permissions 2.1.. same config as before.. no errors but also no drops or skill gains.
     
  6. This is working fine on #432 with the slight issue that players can't break blocks after they place them :/
     
  7. Offline

    gilliganxl

    getting same error but this goes with every kind of block to the right skill.
     
  8. Offline

    alexspy

    what about disable access to some skills? if i mining i'm don't woodcuting
     
  9. Offline

    Citrus Squid

    May I suggest something about swords. This is my server's first day with this mod, and I wanted to level up swords, because my other friends are going axe, unarmed, and bow. Me and my friends decided to test out the parry and crit-rate of swords and axes. My friend completely maxed out swords, just to test, (999999999) and it only parried about half the time. Even when it parried, it reduced the damage only by half. This hardly seems fair! Even with level 500 axe, my friend's critical hit-rate is about 10%. This hardly seems fair for a skill that takes so long to level up! Even only getting increased damage at 500 is insane. And no damage increase for swords at ALL seems hardly fair compared to unarmed. I'd much rather get unarmed to 500, hit for 2 and a half hearts, then get swords to 500, and reduce an attack by half every 10 hits.
     
  10. Offline

    nossr50

    @Citrus Squid I am planning a bleed effect for swords. I'll try to get it out soon! I'll also review the parry system to see how effective it is, I didn't know it was behaving like that. (Last time I tested it, it completely negated damage).

    @alexspy Setup permissions and just don't give the permissions out for skills you don't want people to use

    @Pawned I noticed this one my server too, I don't think its my mod necessarily since I don't intervene with cancelling block breaking events (which is what would cause players not to be able to break blocks). Its possibly a CB bug, does this happen without my mod?

    @Wulfspider Edit the mcMMO config file and change stats= to something else, and change skills= to something else.

    Here is a mirror of the CB build I am running on my server that interacts fine with mcMMO (Download at your own risk)
    http://dl.dropbox.com/u/18212134/craftbukkit-0.0.1-SNAPSHOT.jar

    @gilliganxl Did you setup permissions?

    @Myrrdin I have got a few reports about this. Once I'm able to login to minecraft.net I'll see if I can reproduce this. Try deleting the mcMMO config file and generating a new one. I have a hunch...

    Thanks for the bug reports everyone, I'll try my best to restore full functionality of my mod for you guys.
     
  11. Offline

    Citrus Squid

    Wow - Thanks for getting back to ALL of us so fast! Great support. :p A bleed effect would be quite interesting. I do realize that you only officially released this mod 19 days ago, so I can't expect all of the bugs and such to be figured out. But I'd like to give you a good job and 12 thumbs up from our server, and hope you continue on at this amazingly speedy rate!

    P.S. Have you possibly looked into the Herbalism thing..?
     
  12. Offline

    nossr50

    @Citrus Squid I'm not getting any errors about it on my server but I am going to look into testing it firsthand as soon as Minecraft.net will let me login to my own server (NOOOOOOOOOOTCH!)
     
  13. Offline

    Citrus Squid

    Haha ok thank you! And it seems that you update and actually fix significantly more than Notch. I wish you GL with that one.
     
  14. Offline

    nossr50

    Woo, this one was a tough one to fix
    Basically the bukkit bug I had adjusted my code for (Damage levels of broken blocks went from 3 -> 2) worked fine as a fix for anything that does not break instantly on hit. But flowers/mushrooms/wheat are still level 3. I have corrected for this in this update. Herbalism will now give XP/Double drops properly.

    Version 0.7.5
    • Removed random XP checks in Herbalism
    • Fixed Herbalism not giving skill/double drops
    --- merged: Feb 24, 2011 12:31 PM ---
    Version 0.7.6
    • Fixed bug where players could repair diamond armor with low levels of repair
    • Myspawn now stores what world you set it in
    • Myspawn now works between worlds (Die in the nether, return to the world myspawn was set to)
    This will make mcMMO's myspawn compatible with nethergate mods.
     
  15. Offline

    alexspy

  16. Offline

    nossr50

    Version 0.7.7
    • Changed how players are written to file slightly
    • Fixed nullpointerexception error when players respawn
     
  17. @nossr50 After updating your plugin it doesn't seem to do it anymore... I'll post back if it starts happening again.
     
  18. Offline

    nossr50

    @Pawned I'm pretty sure what you are speaking of is a CB bug, users are reporting this for other plugins too!

    Version 0.7.8 - Massive skill gain tweaks patch
    Weapon skills before this update became VERY HARD to gain around 300-500 skill level and even pretty hard after 100. This update tweaks this and adjusts skill rates for other skills too. Now you will notice you skill up very fast from 1-100 but it slows down pretty quickly, this is much better than before IMO. Wait till you get to around 200-300 skill to judge! Also now excavation gives xp bonuses when you find treasure, which makes sense to me at least :)

    • Rebalanced how skill is gained for all weapon skills
    • Excavation XP rate increased by 1 xp per block
    • Excavation now gives XP bonuses when you find treasure (XP Depends on the rarity)
    • Modified XP gains from herbalism
     
  19. Offline

    Daveyo

    suggestion: As the admin i have a * for permissions, would be nice to have a permission node to take away the skill from the set because i now have to figure out all the permission nodes for the admin addons im using. Just an idea.

    Sweet addon
     
  20. Offline

    Galdrak

    I am getting an error in the server log when I break a block. Here are my server stats:

    011-02-24 08:17:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks (MC: 1.3)
    2011-02-24 08:17:11 [INFO] This server is also sporting some funky dev build of Bukkit!

    I am currently using the following plugins:
    Chestdump 1.0
    Permissions 2.1
    Multiverse 1.2.2
    General 2.1
    Tombstone 1.00

    Here is the error that I am getting:
    2011-02-24 08:17:45 [SEVERE] Could not pass event BLOCK_DAMAGED to mcMMO
    while parsing a block mapping
    in "<reader>", line 36, column 5:
    Default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 83, column 6:
    Moderator:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijiko.permissions.Control.load(Control.java:122)
    at com.nijiko.permissions.Control.loadWorld(Control.java:86)
    at com.nijiko.permissions.Control.permission(Control.java:270)
    at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:30)
    at com.gmail.nossr50.mcPermissions.herbalism(mcPermissions.java:138)
    at com.gmail.nossr50.mcBlockListener.onBlockDamage(mcBlockListener.java:55)
    at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  21. Offline

    nossr50

    @Don't use that build of CB
     
  22. Offline

    Galdrak

    Ok
    --- merged: Feb 24, 2011 4:48 PM ---
    I downloaded this build:

    Here is a mirror of the CB build I am running on my server that interacts fine with mcMMO (Download at your own risk)
    http://dl.dropbox.com/u/18212134/craftbukkit-0.0.1-SNAPSHOT.jar

    And got an error as well. Let me pull that error from my server logs.
    --- merged: Feb 24, 2011 4:49 PM ---
    Here is my error:


    2011-02-24 08:46:40 [SEVERE] Could not pass event BLOCK_DAMAGED to mcMMO
    while parsing a block mapping
    in "<reader>", line 36, column 5:
    Default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 83, column 6:
    Moderator:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijiko.permissions.Control.load(Control.java:122)
    at com.nijiko.permissions.Control.loadWorld(Control.java:86)
    at com.nijiko.permissions.Control.permission(Control.java:270)
    at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:30)
    at com.gmail.nossr50.mcPermissions.mining(mcPermissions.java:103)
    at com.gmail.nossr50.mcBlockListener.onBlockDamage(mcBlockListener.java:62)
    at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:357)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)


    It could be possible that I didn't install something correctly cause I really don't know what I am doing!
     
  23. Offline

    nossr50

    An error like that should not be happening... I'm puzzled, perhaps you did install CB wrong?
     
  24. Offline

    Galdrak

    Its very possible. I really know very little about what I am doing. I just set the server up so that my nephews and I could play together. I just renamed the build and put it in the server folder. Should I have done something differently? I thought that was the way to replace the old version. I will go re-read the instructions though and see if I should have done it a different way.
    --- merged: Feb 24, 2011 5:12 PM ---
    The only thing that I can see is that I did not re-do this step:

    1. Open notepad and type:
    @ECHO OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx512M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"

    PAUSE
    --- merged: Feb 24, 2011 5:15 PM ---
    My start.bat file looks nothing like that. so I am going to re-do it to look like that.
    --- merged: Feb 24, 2011 5:21 PM ---
    Ok, so I have made the start.bat file match exactly what was in the guide, but I still get the same error with your plugin. Could it be something to do with Permissions?
     
  25. Offline

    DarKMaKa

    Hi,
    First, awesome mod!

    But we don't have MOTD and nobody win any XP.
    But /stats works.

    Maybe it's our Permissions 2.1:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'mcmmo.motd'
                - 'mcmmo.commands.whois'
    
        Citizen:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.party'
                - 'mcmmo.skills.*'
                - 'mcmmo.motd'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
    
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
                - Citizen
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
    
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
                - Default
                - Citizen
            permissions:
                - '*'
                - 'tombstone.*'
    
    ##
    # Maouli has control over all commands.
    ##
    users:
        maouli:
            group: Admin
    
        w0lfenss:
            group: Citizen
     
  26. Offline

    nossr50

    @DarKMaKa This may sound like a stupid question but, are people in the 'Citizen' group?
     
  27. Offline

    Galdrak

    OK nossr50 & Darkmaka, I figured out the problem. Downgrade permissions to 2.0, and the problems disappear. At least they did for me.
    --- merged: Feb 24, 2011 5:41 PM ---
    One quick question though, how do I know when I am gaining levels? nevermind, I looked at the pictures at the beginning!
     
  28. Offline

    SweetCraft Girl

    Does this mean that if they adventure to hell and die, they return to the regular world?

    To stop that, we can deactivate 'myspawn' command in that config file i think, correct?

    When they go outter plane traveling in Sweetcraft, they don't leave the planes without a gate. No taxicab-spawn ride home on death. :D
     
  29. Offline

    nossr50

    Next update will be a big change to the XP curve (I didn't like how fast the first 100 skill levels are gained) and it will be updated for Permissions 2.1.

    @SweetCraft Girl Yeah just remove the myspawn & setmyspawn command permissions.
     
  30. Offline

    Galdrak

    So I am still at 0 xp for woodcutting, even though I have cut several trees down. Here is my Permissions set up:

    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    - 'general.items'
    - 'general.spawn'
    - 'general.spawn.set'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.time'
    - 'general.playerinfo'
    - 'jail.command.jailcreate'
    - 'jail.command.jaildelete'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'jail.command.jailtransfer'
    - 'jail.command.jailtransferall'
    - 'jail.command.jailcheck'
    - 'jail.command.jailtelein'
    - 'jail.command.jailteleout'
    - 'jail.command.jaillist'
    - 'jail.command.unjailforce'
    - 'jail.command.jailclear'
    - 'jail.command.jailclearforce'
    - 'jail.command.jailbackup'
    - 'mcmmo.motd'
    - 'mcmmo.chat.partychat'
    - 'mcmmo.chat.adminchat'
    - 'mcmmo.commands.ptp'
    - 'mcmmo.commands.party'
    - 'mcmmo.commands.whois'
    - 'mcmmo.commands.myspawn'
    - 'mcmmo.commands.setmyspawn'
    - 'mcmmo.skills.*'
    - 'tombstone.use'
    - 'tombstone.freechest'
    - 'tombstone.large'
    - 'tombstone.lwc'
    - 'tombstone.sign'
    - 'tombstone.freesign'
    - 'tombstone.quickloot'

    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'
    - 'jail.modifyjail'

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    darkgrave:
    group: Admins
    permissions:
    sk89q:
    group: Default
    permissions:
    - 'general.time'
    --- merged: Feb 24, 2011 6:16 PM ---
    As a side note, the commands work.
     
  31. Offline

    KCMO_HITMAN


    look at your errors before posting. most of the time they tell you whats wrong.

    Here is the error that I am getting:
    2011-02-24 08:17:45 [SEVERE] Could not pass event BLOCK_DAMAGED to mcMMO
    while parsing a block mapping
    in "<reader>", line 36, column 5:
    Default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 83, column 6:
    Moderator:
    ^
    at com.nijiko.permissions.Control.load(Control.java:122)
    at com.nijiko.permissions.Control.loadWorld(Control.java:86)
    at com.nijiko.permissions.Control.permission(Control.java:270)

    my guess is look at your permissions
     
Thread Status:
Not open for further replies.

Share This Page