[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. Thanks for changes to Shroom XP, good now!

    New bug/exploit:

    People can plant/farm the same mushroom to "dupe" XP :(
     
  3. Offline

    nossr50

    Coming Soon...

    Alright guys for the next big update for mcMMO I'm going to be doing a configuration file overhaul. I'm going to make it so server admins can adjust the experience per block/gather and tweak other settings they weren't able to before. I'm also going to look into making parties secure so they can be invite only.

    I'm in the process of rewriting big chunks of mcMMO code to improve performance. A lot of mcMMO was written right when the project started and I've improved a lot since then so its time for me to do a code review of my own program and clean it up.

    Before I get around to adding new content I need to solve the performance issues and overhaul the configuration file. That's how my priorities are at the moment. I'm looking to putting out this configuration file update within a week unless I get horribly side tracked.

    Taming is also need of some tweaks to make it more viable as a main skill.

    Here's a list I'm going to try to finish for the next big patch
    • Redo configuration file
    • Add many things to the configuration file such as changing XP per block
    • Review mcMMO's older code and rewrite anything that is crap
    • Plug any performance problems
    • Tweak Taming
     
    Darcion, embty and Digi like this.
  4. Offline

    ThunderMa14

    Could you also make it so we can change the excavation drop tables? I want people to be able to excavate fire from gravel with a 1/200 chance, with the purpose of making chainmail. Is this possible?
     
  5. Offline

    nossr50

    Alright guys, I've got an early WIP of 1.0.17 I need to have tested.

    I haven't done any work on the config file yet, mostly I've been rewriting a lot of code and fixed a few bugs. I need it tested because I rewrote enough code that I'm worried I may have some potentially big bugs if I messed anything up. I just need to know if skills seem to be working properly and if there are any noticeable performance improvements so far.

    This WIP version has German localization included, it was written by g3oliver. You can set locale=de to use it.


    If you are having performance/memory problems, I'd certainly give this version a try as I've made some big changes to a few things.

    Download of 1.0.17 WIP

    I'm going to be redoing the configuration file in YAML for ease of use and readability. It should turn out quite nice, I downloaded the documentation and all I need to start working on putting YAML into mcMMO.
     
  6. Offline

    Hex

    I tested as much as I could, all the skills seems to be working.
    Abilities- Woodcutting, Herbalism, Mining, and Excavation are working also. The rest I have not tested.The Chimera Wing is also working.
     
  7. Offline

    ThunderMa14

    Can anyone PLEASE tell me if I can change excavation drops!?!??!??!
     
  8. Offline

    Hex

    Not now, however you might be able to after nossr50 lets us configure the configuration file. (Hopefully coming next update)
     
  9. Offline

    Darkaegis

    Add acrobatics to that list, Acrobatics works fine for me and is gaining correctly in addition to those you listed.

    Unfortunately, /myspawn is still messed up for my server with this test version. Throwing up console errors like mad.
     
  10. Offline

    Hex

    Myspawn works for me, did you remember to place a bed?
     
  11. Offline

    g3oliver

    a test step by step (it tooks over 2 hours [sheep]) --> everything is working (but maybe i fail too see...bad creeperssss need sometimes attention [fire])
    only /myspawn gives an error

    05:07:55 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to mcMMO​
    java.lang.NullPointerException​
    at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:170)​
    at com.gmail.nossr50.mcPlayerListener.onPlayerCommandPreprocess(mcPlayerListener.java:861)​
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)​
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)​
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)​
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)​
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)​
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)​
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)​
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)​
    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:401)​
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)​
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)​

    <<<<This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (M​
    C: 1.6.6)>>>>​
     
  12. Offline

    Pandarr

    Bukkit has a Configuration object you can use for YAML. Unless you were already going that route.
     
  13. Offline

    Fujikatoma

    Multiworld SUpport ?
     
  14. Offline

    Darkaegis

    Yeah, it had worked fine for me and everyone on the server for quite some time until 1.0.10 or so and suddenly it all blew up. Checked permissions about a million times and even tried deleting and reloading the config files to no avail. No idea what is going on.

    Are you using SQL or flat file? I'm trying to figure out exactly why some of us are getting the error and some aren't. I'm using a flat file and I think that a few others who have the problem are also using a flat file. Maybe it has something to do with that?

    I'm getting the same error that g3oliver is getting, by the way.
     
  15. Offline

    nossr50

    Didn't know about it, I was just going to read through the YAML/SnakeYAML docs and implement it my own way. I'll look into this Configuration Object.

    @Darkaegis I'll look into your MySpawn issue for the next WIP build :)

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

    Darkaegis

    Cool! Hopefully it's not just me being an idiot and somehow passively messing something up in a config file or something. :D
     
  17. Offline

    Jalix

    Does gore work for wolves now? I've noticed that the note about bukkit screwing up offensive abilities has been removed. Is there any chance we could have a pop-up that tells us when gore procs? =)
     
  18. Offline

    g3oliver

    2 gore pop-ups still there :)

    Combat.StruckByGore=[[RED]]**STRUCK BY GORE**
    Combat.Gore=[[GREEN]]**GORE**
     
  19. Offline

    Jalix

    Excellent. Thanks for the info. Strange I've never seen it happen with as many wolves as I have and a 3% proc chance. Guess I'm just unlucky. Oh, well.
     
  20. Offline

    Pandarr

  21. Offline

    Cortez

    Hello, great plugin. I've a suggestion, not sure if it's been mentioned before but how about some type of 'death penalty'? Maybe when you die you lose one skill level, selected randomly?
     
    lipe123 likes this.
  22. Offline

    avalondrey

  23. Offline

    lamersons

    I have a problem,
    Ive downloaded source from git, when i compile and run it it gives me
    10:16:19 [INFO] Failed to load locale specified by mcmmo.properties 'en_us', defaulting to en_us
    (doesnt give locale text, but instead gives ~class_name.taming=0 and so on) What seems to be the problem ?

    Thank you for plugin.
     
  24. Saw this in arena when someone triggered Serrated Strikes I believe:

    Code:
    22:05:40 [SEVERE] Could not pass event ENTITY_DAMAGE to mcMMO
    java.lang.NullPointerException
            at com.gmail.nossr50.datatypes.PlayerProfile.<init>(PlayerProfile.java:43)
            at com.gmail.nossr50.Users.addUser(Users.java:66)
            at com.gmail.nossr50.party.Party.inSameParty(Party.java:25)
            at com.gmail.nossr50.skills.Swords.applySerratedStrikes(Swords.java:112)
            at com.gmail.nossr50.Combat.combatChecks(Combat.java:67)
            at com.gmail.nossr50.mcEntityListener.onEntityDamage(mcEntityListener.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:531)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:863)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
            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)
     
  25. Supported Languages
    Finnish - fi​
    (Setup the locale= in mcmmo.properties to use other languages)
    Otherwise nice idea but the proplem is: Changed to finnish, all the mcmmo related are in finnish language. What about commands? Akrobatia a.K.a Acrobatics wont work etc.
    if i type /acrobatics -> shows the stats
    if i type /akrobatia -> command does not excist.
    I think its not good idea to change into finnish language because people who reads it first time, thinks the command is the 1 which reads there. They cannot know that the commands are in english.
    Can this be updated aswell? to change commands with the same names as in finnish they are?
     
  26. Offline

    Jeyge

    Commands rarely change based on a language because most of the time, they aren't real words anyway. But if you really want to change them, you can use an alias in the plugin.yml to make them whatever you want.
     
  27. Offline

    nossr50

    Admins can change the command names in mcmmo.properties, you do raise a valid concern though. I'll have to brainstorm a solution.

    Thanks

    Hopefully it won't take very long for this config file overhaul update. It doesn't seem like it will be too complicated.

    The language file is not being found, do you have messages_en_us inside com/gmail/nossr50 in the source directories?

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

    lipe123

  29. Offline

    Brohemoth

    Any thoughts on making defensive skills to counteract high level weapon skills? Because currently on my server people who have swords, bows, etc.. at high level happen to do insane amounts of damage where it almost renders armour useless because of how quick you can kill the defending person.

    Possibly armour proficiency to increase how much armour protects from damage or even some form of health skill which just gives you more health overall.
     
  30. Offline

    emilhem

    Sorry if this has been answered before!!
    I'm getting an error when starting/reloading the server because I think that this plugin isn't updated to the latest Permissions which is version 3.1.5b.
    These are the errors:
    Code:
    [SEVERE] Error occurred while enabling mcMMO v1.0.16 (Is it up to date?): com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
            at com.gmail.nossr50.mcPermissions.initialize(mcPermissions.java:21)
            at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:68)
            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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:344)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:248)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:428)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:413)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  31. Offline

    Jeyge

    That usually means your Permissions plugin didn't load correctly. Take a look at the log to see if there are more messages.
     
Thread Status:
Not open for further replies.

Share This Page