[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

    embty

    players randomly got their stats reseted after updating.
     
  3. Offline

    Rpa;otj

    I have been working with the plugin author of MobArena to test functionality of a pet class and some other new features and noticed that when we use the new pet class that gives you a wolf on arena start it gives NO taming experience while killing stuff. I am thinking from testing that right now mcMMO requires a wolf to be manually tamed to get exp? If I spawn a neutral wolf and tame it with a bone inside the arena it I get taming exp when it kills stuff but using the pet class feature it does not.

    Could this maybe be changed along the lines of the following to allow people to get taming exp while participating in arenas? It would add a new reason to level taming and would make MobArena more rewarding and fun!

    EntityDamageEvents (cast to EntityDamageByEntityEvent) if the damager is a tamed wolf, and if so, give the owner of the wolf exp.
     
  4. Offline

    embty

    after updating from 1.0.19 to 1.0.20 it was fine for a moment then suddenly the whole stats poof! reset everything. so i thought updating to 1.0.22 will fix the problem and poof! reset again right after updating.
    logs are getting spammed with this had to disable mcmmo I hope theres a way to get players stats back after this is fixed.
    Code:
    2011-06-19 16:21:40 [SEVERE] Exception while writing to plugins/mcMMO/mcmmo.users (Are you sure you formatted it correctly?)
    java.lang.ArrayIndexOutOfBoundsException: 0
        at com.gmail.nossr50.datatypes.PlayerProfile.save(PlayerProfile.java:333)
        at com.gmail.nossr50.datatypes.PlayerProfile.addXP(PlayerProfile.java:802)
        at com.gmail.nossr50.datatypes.PlayerProfile.addMiningXP(PlayerProfile.java:846)
        at com.gmail.nossr50.skills.Mining.miningBlockCheck(Mining.java:164)
        at com.gmail.nossr50.mcBlockListener.onBlockBreak(mcBlockListener.java:76)
        at org.bukkit.plugin.java.JavaPluginLoader$35.execute(JavaPluginLoader.java:482)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:159)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:456)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  5. Offline

    John Barney

    Hey all,

    Getting:

    2011-06-19 07:09:42 [INFO] [mcMMO] Permissions enabled.
    2011-06-19 07:09:42 [INFO] SQLException: Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-06-19 07:09:42 [INFO] SQLState: 08S01
    2011-06-19 07:09:42 [INFO] VendorError: 0
    2011-06-19 07:09:42 [SEVERE] Error occurred while enabling mcMMO v1.0.22 (Is it up to date?): null
    java.lang.NullPointerException
    at com.gmail.nossr50.Database.Write(Database.java:135)
    at com.gmail.nossr50.Database.createStructure(Database.java:45)
    at com.gmail.nossr50.mcMM:confused:nEnable(mcMMO.java:80)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Config file (spacing didn't paste, but config file is proper):

    MySQL:
    Enabled: true
    Server:
    Address: localhost
    Port: 3306
    Database:
    Name: mcmmo
    User:
    Name: root
    Password: xxxxxxxx
    TablePrefix: mcmmo_


    Permissions 3 and BigBrother are accessing MySQL normally. Searched the thread and found 2 references to this error, but no solves. I have verified the settings against the working mods, as well as a wordpress site running on the same server. No joy. I would appriciate any help. I'm sure its something easy I am overlooking.
     
  6. We are using 1.0.23 no-bleed, build 863. I don't think any other plugin would be affecting what happens when Super Breaker is activated.
     
  7. Offline

    Manji

    thanks :)
     
  8. Offline

    halvors

    Permissions 3.x support please :)
     
  9. Offline

    RugRats

    I'm completely removing this from my server untill these issues are fixed. The lag this causes is incredible.
     
  10. Offline

    Lead2Life

    So I say it again nossr. It seems that there is any plugin incompatibility! On my server and some others this works very fine without ANY errors and on others it causes much lag and spams error mails. Maybe it's any primary plugin like "General" maybe you should take a look onto those "primary" plugins
     
  11. Offline

    mooman219

    I am using the latest permissions 3.1.5b With NO issues.
     
  12. Offline

    mooman219

    I made a special version of McMMO that prints to the screen every time a for loop runs, a while loop runs, or a timer runs. I am going to run my server for a while and see when stuff starts to run to much (Thus causing major lag)

    This is how i found "

    while(x < PP.getMySpawnATS() + 3600000)
    {
    x+=1000;
    seconds++;
    }
    while(seconds >= 60){
    seconds-=60;
    minutes++;
    }

    " Is causing lag.
     
  13. Offline

    mooman219

    Ok so here is some stuff that I gave saw.

    First:
    15:02:12 [INFO] [mcmmo Loop] Skills calculateTimeLeft

    (Time) 15:02:12
    (Bukkit) [INFO]
    (Name of the plugin) [mcmmo Loop]
    (Class name)Skills
    (Something that has to do with the loop) calculateTimeLeft

    When I right click with a tool thats ability is recharging, the plugin will loop for every second it has left before you can use it again.

    So my swords had, lets say 250 seconds left, it will loop 250 times before it will tell me there is 250 seconds left. If i spam right click, then i can cause the server to say it can't keep up. I think there should be a better way to calculate this.

    Second:
    "
    15:48:08 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:09 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:10 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:11 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:12 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:13 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:14 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:15 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:16 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:17 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:18 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:19 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:20 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:21 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:22 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:23 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:24 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:48:25 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:49:26 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:49:27 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:49:28 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:49:29 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:50:40 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:50:19 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:50:45 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:51:32 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:51:33 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS
    15:51:34 [INFO] [mcmmo Loop] mcTimer MONITOR SKILLS"

    (Time) 15:51:34
    (Bukkit) [INFO]
    (Name of the plugin) [mcmmo Loop]
    (Class name) mcTimer
    (Something that has to do with the loop) MONITOR SKILLS

    This should be running every second like it was, but for some reason, this times gets out of wack and stops working all together, randomly running. This (I think) is the reason why some skills are lasting longer then they should, and why bleeding is not working so well.


    I have attached the McMMO.jar i am using to debug this with along with the source (I really only added some print lines)
     

    Attached Files:

  14. I guess that would confirm our findings that mcMMO 1.0.23 no-bleed does not have the major performance issue 1.0.17+ has.
     
  15. Offline

    nossr50

    I've found the cause of the performance issues, and a patch will be out today.

    It just needs to have its owner's name set to the player name.

    Will support it next update as well

    I'd love to but I don't have internet on my personal computer, I'm walking over to my dads quite frequently to check posts and post updates.

    http://dl.dropbox.com/u/18212134/mcMMO test builds/mcMMO.jar
    Try out this WIP and let me know if the performance issues are solved.

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

    Pasukaru

    Downloading right now, I'll try it ;)
     
  17. Offline

    mutiny

    testing
     
  18. Offline

    PhotonLance

    on 900 cb have error ((( plz test it
     
  19. Offline

    lipe123

    I'm using permissions 3.1.5b with yml files and my mcmmo works fine, all permissions work no problem.

    @Nossr There used a to be a proficiency needed to repair diamond = x in the old config and its gone in the new config, or at least its not in mine. Does anyone else have this?

    Also I have also noticed that lately my server goes to 25-30% cpu usage after being left on for some time, I'm not sure its mcmmo thats causing it and the random occurrence makes it really hard to troubleshoot.
     
  20. Offline

    nossr50

    mcMMO only supports RBs

    Try out the WIP I just posted
     
  21. Offline

    mutiny

    same issue
     
  22. Offline

    br0ad456

    does this have multi world support?
     
  23. Offline

    Olat

    @nossr50

    Well let me know when ever. Or i will make a huge post about it. :) Anyways, keep up the good work.
     
  24. Offline

    newyorkdaily

    how do i get the mctop leaderboards to refresh after using the mmo command?
     
  25. Offline

    MinecraftHead

    I know you only support RB's. Im running craftbukkit 900, everything seems to be working but just a heads up something must have changed and I am now getting this error:
    2011-06-20 12:23:22 [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:237)
    at com.gmail.nossr50.Combat.combatChecks(Combat.java:180)
    at com.gmail.nossr50.mcEntityListener.onEntityDamage(mcEntityListener.java:139)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:627)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityArrow.o_(EntityArrow.java:181)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1138)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1120)
    at net.minecraft.server.World.cleanUp(World.java:1097)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:429)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Thanks for all you do for us!
    Great plugin. Great ideas.
    MH
     
  26. Offline

    gr33nskittle

    ADD MORE SKILLS PLEASE!!!
    but great plugin anyways :D

    He already did. A LONG time ago. Read the entire post.

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

    Wedhro

    Any plans about adding more skills? Something like Swimming (get XP by moving in water and using your air reserve underwater), Building (get XP by placing blocks), Fishing/Hunting (get XP by fishing or killing pigs), Electronics (get XP by placing redstone devices) and so on. I have no idea what leveling up could grant with those skills, though, just my 2 cents.

    Anyway, thank you for this great mod, it changed my server forever.
     
  28. Offline

    Jalix

    Yeah...Think Fishing/Hunting and Swimming are viable. The others would be too easy to spam up. Fishing/Hunting could give extra drop chance....Maybe extra damage vs animals. Swimming could let you hold your breath for longer, and maybe give a perk to let you work underwater at closer to regular pace? Would be really nice...
     
  29. Offline

    mooman219

    Bug fixes come first. We all want more skills :D
     
    Rytharr likes this.
  30. Offline

    Darcion

    the WIP Version is hopefully not crashing my server, but we have huge laags, but i will hope we get all the issues solved :)
     
  31. Offline

    shauwk

    im running 900 and getting 12:27:58 [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:231)
    at com.gmail.nossr50.Combat.combatChecks(Combat.java:174)
    at com.gmail.nossr50.mcEntityListener.onEntityDamage(mcEntityListener.java:135)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:627)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityArrow.o_(EntityArrow.java:181)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1138)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1120)
    at net.minecraft.server.World.cleanUp(World.java:1097)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:429)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
Thread Status:
Not open for further replies.

Share This Page