[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. We have:

    "Cocoa_Beans: false"

    Yet people are reporting they get beans from excavating.

    ===

    From your source:

    //CHANCE FOR COCOA BEANS
    if(LoadProperties.eggs == true && Math.random() * 75 > 74){

    ===

    Also, performance wise, why not turn Excavation drop check into if/else loops, instead of endless if loops. Then you can only get 1 drop from blocks, which is really not a problem, and it should provide better performance.

    Possible other sections where the same applies.
     
  3. Hi,

    since we have mcmmo we have a sapling problem on our server.
    If i see it i have 4 Sapling types because i can't stack some saplings :(

    Here is a Picture of my chest
    [​IMG]

    I'm testing the plugin on an local server only with mcmmo and its the same as on our online server :(

    Can you fix this?
     
  4. Offline

    Tagz

    We keep trying to turn mcmmo back on and see what happens.

    This is a printout. The block break keeps going from no lag up to 10k ms.

    12:03:27 [INFO] ####mcMMO PERFORMANCE REPORT####
    12:03:27 [INFO] [1000ms = 1 second, lower is better]
    12:03:27 [INFO] [These are the cumulative milliseconds mcMMO has lagged in the last 40 seconds]
    12:03:27 [INFO] onPlayerRespawn: 0ms
    12:03:27 [INFO] onPlayerQuit: 0ms
    12:03:27 [INFO] onPlayerLogin: 0ms
    12:03:27 [INFO] onPlayerInteract: 1ms
    12:03:27 [INFO] onPlayerJoin: 0ms
    12:03:27 [INFO] onPlayerCommandPreProcess: 0ms
    12:03:27 [INFO] onBlockBreak: 6443ms
    12:03:27 [INFO] onPlayerChat: 0ms
    12:03:27 [INFO] onBlockFromTo: 0ms
    12:03:27 [INFO] onBlockDamage: 1ms
    12:03:27 [INFO] onBlockPlace: 0ms
    12:03:27 [INFO] onCreatureSpawn: 1ms
    12:03:27 [INFO] onEntityTarget: 0ms
    12:03:27 [INFO] onEntityDamage: 1ms
    12:03:27 [INFO] onEntityDeath: 0ms
    12:03:27 [INFO] mcTimer (HPREGEN/ETC): 24ms
    12:03:27 [INFO] bleedSimulation: 0ms
    12:03:27 [INFO] ####mcMMO END OF PERFORMANCE REPORT####

    This is only with like 10 people online right now as well...
    A little after:

    12:06:47 [INFO] ####mcMMO PERFORMANCE REPORT####
    12:06:47 [INFO] [These are the cumulative milliseconds mcMMO has lagged in the last 40 seconds]
    12:06:47 [INFO] [1000ms = 1 second, lower is better]
    12:06:47 [INFO] onPlayerRespawn: 0ms
    12:06:47 [INFO] onPlayerQuit: 0ms
    12:06:47 [INFO] onPlayerLogin: 0ms
    12:06:47 [INFO] onPlayerInteract: 0ms
    12:06:47 [INFO] onPlayerCommandPreProcess: 1ms
    12:06:47 [INFO] onPlayerChat: 0ms
    12:06:47 [INFO] onBlockDamage: 2ms
    12:06:47 [INFO] onBlockFromTo: 6ms
    12:06:47 [INFO] onBlockBreak: 116ms
    12:06:47 [INFO] onBlockPlace: 0ms
    12:06:47 [INFO] onEntityTarget: 0ms
    12:06:47 [INFO] onEntityDeath: 0ms
    12:06:47 [INFO] onEntityDamage: 1ms
    12:06:47 [INFO] mcTimer (HPREGEN/ETC): 26ms
    12:06:47 [INFO] ####mcMMO END OF PERFORMANCE REPORT####
    12:06:47 [INFO] onCreatureSpawn: 2ms
    12:06:47 [INFO] bleedSimulation: 0ms
     
  5. Offline

    Beldrama

    I have been experiencing a lot of read timeout errors and have been searching a few threads and many of them point out of mcMMO being a problem with the latest version, it would be such a shame if I had to remove mcMMO because without mcMMO I would practically not have a server at all :c Half of the people on my server have left because of the server crashes which causes some inventories to be wiped. It's pretty stressfull to have to give back the items every time it crashes. :c

    Besides that. Is there a way to make a single group have 2x exp while the other groups would remain at the normal rate?
     
  6. Offline

    BlackPandemic

    I let the report printer run for a while and never exceeded 1000ms but it seems pretty consistent (on my server) to have a 200-600ms being reported. Still, switching to MySQL solved about 99% of our issues :)
     
  7. Offline

    nossr50

    It seems the high ms lag some people are experiencing might have to do with how many MySQL server requests mcMMO is performing per action, I might need to program mcMMO to update the MySQL database less frequently
     
  8. Offline

    alfskan

  9. Offline

    Silarn

    Out of pure curiosity I decided to finally change my bukkit.yml to use my mysql database rather than the default sqlite. I don't know if this would or should have any impact at all but after making this change the server seems to be handling memory far better than before. However, I still have periods of intense CPU usage that I never experienced before. I will run some experiments later to see how related to mcMMO this actually is.
     
  10. Offline

    Tagz

    The lag I showed above, we are not currently running on mysql.
    That said I'd love to switch, but waiting for our provider to have sql databases located at the same location as the server.
     
  11. Offline

    Silarn

    Just to clarify, I already had the mcMMO config set for mysql. This was merely a change to the bukkit.yml in the root directory. On that topic, my memory use is still climbing but it seems to be slower. I'm not entirely sure.
     
  12. Offline

    Amaroq

    I've been messing with your code again, and have found a slight bug. Well, it's not really a bug, but possibly a design oversight.

    In the Super Breaker code, I noticed that the XP gives for each block are not based on the config, but on the original values you used for the different block types. I fixed it myself, but it'd be cool if you could fix it in your original code, so I don't have to do it each time you update to a new version.

    Yes. I am lazy.
     
  13. Offline

    KarnEdge

    notch Markus Persson
    Coming soon to 1.8: hold-to-charge bows. Finished up some of the backing tech for it today. Then we played OpenTTD.
     
  14. Offline

    Jantar

    Hello, I'm new to all this modding/server stuff.
    So I have a problem: I don't have mcmmo.properties file.
    I searched folders, but there is no such file. What am I doing wrong?
     
  15. Offline

    newyorkdaily

    dont use residence, use worldedit and worldguard. They are both a little easier to configure.

    Did u put mcmmo.jar in the plugins folder?

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

    Jantar

    Ofcourse I did. Console says mcMMO enabled, I can use in-game mcmmo commands.
     
  17. Offline

    alfskan

    Id like to.

    but worldguard doesnt support iconomy properly.

    especially with claim command.

    so I using residence.
     
  18. Offline

    newyorkdaily

    Ok lol u said u were new, i didnt know how new u were xD Well im stupid for over looking this but i forgot, with mcmmo versions 1.0.17 and up, it generates a config.yml file and not a mcmmo.properties file xD

    oh ok i see.

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

    Silarn

    After disabling mcMMO I still get the slow memory leak and high CPU usage. I'm inclined to believe it is a bukkit scheduler issue. I will have to disable all of my highly active plugins to see how much it helps. But there was a slight improvement to both CPU use and memory load after disabling mcMMO.
     
  20. Offline

    o0AzzA0o

    I made this point many posts ago when i requested that a convesion feature was made to convert mysql back into flatfile......


    A great plugin that uses mysql very heavy is logblock maybe you could get some ideas of how he setup consumer


    Another thing you might find to lighten the load is making cooldowns cleared after a server restart ..... i know that it was me that asked for cooldowns to be persistant threw relogs but i think that making them clear after restart is fine.
     
  21. Offline

    Amaroq

    mcmmo.properties doesn't exist anymore. You did look through all of the files, right? There's one file generated, very obviously called config.yml, that contains everything.

    It helps to look through the stuff you're working with before asking questions. Most of the time you'll learn something, and with a little searching, you don't even have to ask the question in the first place.
     
  22. I don't know if you accept requests, ideas or suggestions.

    But what about a Sickle skill?

    Attacking with a hoe?
    I don't really know what kind of upgrades, but it could be pretty sweet. Gives a bit more use of the hoe :p
     
  23. Offline

    Olat

    A Sickle skill.... Nice Idea.. Lemme work up some concepts on it to present to @nossr50

    @nossr50
    @Diabloste
    Concept: Sickle Skill
    Type: Combat Weapon
    Item used: Hoe
    Dmg: Med Dmg (Diamond doing Iron Sword Dmg)
    Abilities:
    Wingclip: Chance on hit to slow enemy 15% for 2 secs
    Improved Wingclip: On sucessful wingclip has a 5% chance to root enemy in ground for 2 secs.
    Improved Dmg: Dmg increases as you lvl (like archery / unarmed / axes)
    Right Click: Grim Reapers grasp - AoE Wingclip with Increased slow by 10% for a total of 25%, increased improve winglcip by 2% for a total of 7%, and AoE Dmg of course

    Edit: Players I talked to want a 1 hit K.O. No more then 1% but it is a Scythe / Sickle and slicing off a head is a pretty neat idea.

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

    Chronx6

    Pickaxe could get a War Pick weapon skill.

    Warpicks as a weapon were ment for punching through armor and as a fast swing weapon to take down slower targets.

    So something that affects armor value or a stacking debuff to cause extra damage for hits? I'm not 100% sure as I'm not certain what can and cannot be done with the engine.
     
  25. Offline

    MikeThePickle

    Party chat bug:

    The party chat will unexpectedly go off and your comments get posted to general chat.

    [​IMG]
     
  26. Offline

    WorldDivided

    I keep getting this error, not sure what to think of it.

    23:52:55 [SEVERE] Could not pass event ENTITY_DAMAGE to mcMMO
    java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityDamageByProjectileEvent.getProjectile()Lorg/bukkit/entity/Entity;
    at com.gmail.nossr50.Combat.archeryCheck(Combat.java:241)
    at com.gmail.nossr50.Combat.combatChecks(Combat.java:184)
    at com.gmail.nossr50.mcEntityListener.onEntityDamage(mcEntityListener.java:142)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:178)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  27. Offline

    anthony42808

    Hey can you make the mobs from mob spawners configurable on if you want them to give exp?
     
  28. Offline

    Waradmirals

    Hi,

    Still getting this error - and the new version of this plugin crashes my server -

    Code:
    2011-07-09 01:19:56 [SEVERE] Could not pass event ENTITY_DAMAGE to mcMMO
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.x()Ljava/lang/String;
    	at com.gmail.nossr50.skills.Taming.getOwnerName(Taming.java:15)
    	at com.gmail.nossr50.skills.Taming.hasOwner(Taming.java:20)
    	at com.gmail.nossr50.Combat.combatChecks(Combat.java:143)
    	at com.gmail.nossr50.mcEntityListener.onEntityDamage(mcEntityListener.java:135)
    	at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    	at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
    	at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
    	at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
    	at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
    	at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
    	at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    	at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    	at net.minecraft.server.World.cleanUp(World.java:1102)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    I also cannot edit mmo skills -

    Any idea when this will be fixed or if it can be fixed
     
  29. Offline

    WorldDivided

    Getting same issue.
     
  30. Offline

    Rytharr

    That error has been fixed cant tell you any more since you didnt even bother saying what build of mcmmo or bukkit your using.
     
  31. Offline

    Waradmirals

    version mcMMO version 1.0.24 is enabled!

    and craftbukkit 1.7.2
     
Thread Status:
Not open for further replies.

Share This Page