[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


  2. Offline


    @Joy Are you doing that threading yourself, or is bukkit doing some wizardy? mcMMO doesn't have multi-threading at the moment.

    A lot of code changes happened with 1.0.17, I'll have to look really closely at everything again to try to find this leak. Everything should be getting collected properly with 1.0.20 however, so I'm puzzled as to where this leak is happening in my own code.

    Can anyone else confirm the leak besides Joy?

    Regardless, I'll give my newly changed code another once over and try to see if I did anything stupid.
  3. And here is a top view on mcMMO 1.0.16: http://i.imgur.com/lIvN9.png

    And realize that the one I posted from 1.0.20 is at it's lowest pretty much, that 2nd thread spikes up a lot and fast.
  4. Offline


    we got massive laags only with 3 players on 1.0.20, wihtout it the server runs fine with lots of plugins and lots of players.
  5. Threading myself? I wouldn't even know what why, I haven't modifyed mcMMO at all. It's also not a memory leak as such, more of a CPU leak.

    Are you sure you don't have threads? Otherwise I don't see why you can get this error at all:

    2011-06-17 10:21:33 [SEVERE] Exception in thread "Timer-2"
    2011-06-17 10:21:33 [SEVERE] java.lang.NullPointerException
    2011-06-17 10:21:33 [SEVERE]    at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:31)
    2011-06-17 10:21:33 [SEVERE]    at com.gmail.nossr50.mcPermissions.herbalismAbility(mcPermissions.java:56)
    2011-06-17 10:21:33 [SEVERE]    at com.gmail.nossr50.skills.Skills.monitorSkills(Skills.java:154)
    2011-06-17 10:21:33 [SEVERE]    at com.gmail.nossr50.mcTimer.run(mcTimer.java:33)
    2011-06-17 10:21:33 [SEVERE]    at java.util.TimerThread.mainLoop(Timer.java:555)
    2011-06-17 10:21:33 [SEVERE]    at java.util.TimerThread.run(Timer.java:505)
    At least I figured that's a Timer thread...
  6. Offline


    Well now there's no way to disabled commands with the yml without permissions. Before you could just use special characters for the commands, now they don't parse properly.
  7. Offline


    Neither essentials nor that is stopping the commands, both the actual commands nor the rebinded command usage. Bit annoying. It does seem to stop other plugins so.

    Not even overriding the commands with essentials then disabling them works. Is pretty annoying. Anyone have a copy of 1.0.16?
  8. Offline


    Thankyou!! I upgraded, saw all kinds of errors and I was bumming out then I saw you already updated to fix it! You are awesome!
  9. Offline


    How do I disable party systems, group chat systems and other commands?
  10. Offline


    It seems players cannot use Super Breaker (mining ability), but all other seem to work, however with '*' permission it works for me. Here's my default permissions for players:
  11. Offline


    Also, I don't gain experience in my server. What could be wrong?

    Edit: On testing I found that MINING doesn't get any experience while Acrobatics, Excavation and Woodcutting do.

    Now that others have seemingly activated. The only problem is left with Mining skill, which does not gain experience from stone mining but does from ores. I have itemcraft plugin with mo'creatures enabled. What could cause this?
  12. Offline


    Below is a list of bugs I've confirmed on version 1.0.17+:

    Mining does not gain experience.
    Setting Fire_Rate_Limiter to false does not work.

    Nossr50, really nice work on the plugin :D I hope you don't mind but I'm going through the source to find the cause of these errors. I noticed this is causing some problems in LoadProperties.java:

    enableCobbleToMossy = readBoolean("MySQL.Enabled");
    archeryFireRateLimit = readBoolean("MySQL.Enabled");
    Looks like just a c/p error :D

    If I find anything else I'll let you know.


    P.S. wasn't able to reproduce memory leak problem others are experiencing with < 20 players on my server.


    mstone = readInteger("XP.Mining.Sand");
  13. Offline


    Your welcome because I instantly reported the error :D
  14. Offline



    There seems be a clash between MCM and McMMO that has borked some stuff in the later MCM versions. And someone posted this.
    Anyway anything can be done about it? Never had a problem running MCMMO and MCM together, and problem (Mainly broken obsidian catcher block) started showing up in the latest MCM versions.
  15. Offline


    Sorry for quoting myself, but just extra information.
    It appears players do get Mining, Excavation and Unarmed experience, but rightclicking doesn't activate the skill. On other hand, rightclicking with axe DOES activate skill.
    Anyone knows how to fix this?
    Thank you.

    P.S. If I grant all permissions, it works, so probably there's some hidden permissions?
  16. Offline


    Is there a way to limit item usage to require a certain skill level? Say, you can only use a wooden pickaxe until mining 10, a stone until 50, etc...

    If not, would it be possible for another plugin to read the mcMMO skill levels, and use them for itself?
  17. Offline


    Change mcmmo.ability to mcmmo.ability.*

    As for woodcutting, it's always been a bit shitty and buggy with the activation messages. It doesn't work if you don't have the permissions, but it shows the activation messages anyway if you have the permission for the skill. It's a bit confusing , I must say :p
  18. Offline


    after a few hours and 20-30 players without your plugin our server runs great... no laags no problems and i am build lots of big things with worldedit and we dont get any probs.

    sorry for that sarcasm but all my server problems comes from mcmmo one of the best plugins ever, but if this dont get better i will drop it and take another rpg plugin.
  19. Offline


    I have no longer problems with mcMMO, THX :)
  20. Offline



    I found a bug inside your LoadProperties class (v1.0.20)

    Line 237:
    mstone = readInteger("XP.Mining.Sand");

    Is it really supposed to read Sand instead of Stone?
    Because thats why no one is getting exp from mining stone on my server.
    I added the configuration node XP.Mining.Sand to my config to fix this error for now..
    I suggest everyone else to do the same if you want to get experience from mining stone.

    I hope you can fix this soon ;)
  21. Offline


    People can one hit blocks with fist. Need help.
  22. Offline


    Can you teach how to do this or PM me the modified file or what you meant by config file.
  23. Offline


    In config.yml, add

            Sand: 3
    under the XP -> Mining section right below "Stone: 3". Make sure you use spaces instead of tabs.
  24. Offline


    I went on mySQL, Looked at all my skills for mooman219, added them up with a calculator (Including Taming) Got 1092, went on my bukkit server and typed /stats, and it said my power level was 1092. Sorry if i didn't help you in my other post, but in version 1.0.20, There is no issue with Taming and powerlevel.
  25. Offline


    I maybe found a bug. I activated giga drill breaker with a shovel and it lasts for 15 real time seconds like the description with /excavation says but then I saw the skull splitter from axes skill and the description says that it would last for 44 seconds now and that's wrong. It maybe lasts for 7~10 seconds.
  26. Offline


    It's true, this is how mcMMO checks blocks for being placed by the player or not as default vanilla MC doesn't use the byte data of many blocks. I've been meaning to replace it with a better system. I could put in a toggle to stop it from happening.

    Whats your axes skill at? It shouldn't last for 44 seconds unless your skill is incredibly high.

    I'll fix it, thanks for pointing it out :3

    Dohoho, thats not good...

    I'll get the reported problems fixed soon.
  27. Offline


    That be awesome!
  28. Offline


    I'll put it in soon, this update is a hotfix

    Derp, I forgot something crucial in the config file, going to patch that now...
    Dropbox link down temporarily.

    Version 1.0.21
    • Fixed Skull Splitter length in /axes displaying incorrectly
    • Fire rate limiter now correctly uses the value in the config file
    • Stone XP now correctly uses the value in the config file
    • Cobble -> Mossy now correctly uses the value in the config file
    • Removed setmyspawn from config file as it serves no purpose
    • All commands now have an 'Enabled' node in the config file that when set to false disables the command completely
    • Fixed color scheme inconsistency for Mining in /whois results
    sintri likes this.
  29. Offline


    What about no swords exp when using the special ability against ghasts or slimes?
  30. Offline


    Version 1.0.22
    • Added 'Name' nodes to commands for renaming them
    Must've missed that bug report, I'll fix it next patch.

    Those updating from older versions need to either delete config.yml to generate a new one or modify the 'Commands' part of config.yml to look like this

            Name: mctop
            Enabled: true
            Name: addxp
            Enabled: true
            Name: mcability
            Enabled: true
            Name: mcrefresh
            Enabled: true
            Name: mcmmo
            Enabled: true
            Name: mcc
            Enabled: true
            Name: mcgod
            Enabled: true
            Name: stats
            Enabled: true
            Name: mmoedit
            Enabled: true
            Name: ptp
            Enabled: true
            Name: party
            Enabled: true
            Name: myspawn
            Enabled: true
            Name: whois
            Enabled: true
            Name: invite
            Enabled: true
            Name: accept
            Enabled: true
            Name: clearmyspawn
            Enabled: true
Thread Status:
Not open for further replies.

Share This Page