Inactive [MECH/ADMN] ModDamage - Change damage mechanics on the fly!

Discussion in 'Inactive/Unsupported Plugins' started by KoryuObihiro, May 20, 2011.

  1. Offline

    KoryuObihiro

    ModDamage
    We've moved to BukkitDev!
     
  2. Offline

    MuttsNuts

    So yeah, if you could do that for just this release it gives me a little time to try to figure out the lag issue with PEX and thank you very much. I would like to go to PEX due to a couple more needed plugins not supporting Permissions 2.7.4 anymore but I cannot have any lag on my server.

    So yes thank you again. :D
     
  3. No error messages yet, i will have to test the dmg-calculation, but i think it will work, too!
     
  4. Offline

    cr0ss

    I've noticed lag with PEX when doing a /pex reload, but other than that... never any lag yet. We run a steady 20 TPS up to at least 75-80 players (haven't gone past that yet with PEX haha) with around 38 plugins. Here is hoping you figure it out!
     
  5. Offline

    MuttsNuts

    Yeah not quite sure what the issue is with it but I am guessing it is having some sort of conflict with one of our 50+ plugins. Pulled them all out 1 at a time and replaced 1 at a time amongst trying other variations of plugin mis-matching and still no luck. I am going to take some time though testing everything with PEX again but from my home PC to not cause downtime. At this time we only have about 4 people on the server at one time as still actually setting up, awaiting the 1.9 release due to the possibility of maps being broken again :(.

    Anyway thanks for your feedback. Fingers crossed I suss it out ;)
     
  6. Offline

    KoryuObihiro

    If you're getting noticeable lag after installing a single plugin, bet that it's the plugin's internals. I've liked PEX for what it tries to accomplish, but I honestly feel that SuperPerms-based plugins need to start phasing in.

    This is the first time I've heard of PEX lagging, but then again I never bothered much with it besides some basic testing for the API. Perhaps you ought to get @t3hk0d3 in here?
     
  7. Offline

    Brvtvs

    I am pretty confused by this stuff again. Is there anyone who can show me how to make certain groups more resistant to all forms of damage?
    like:

    Donator1:
    - 'mult.90'
    - 'div.100'
    #So they take 90% damage (last I knew you could only multiply by integers, not sure if that is still true)
    Donator2:
    - 'mult.85'
    - 'div.100'

    etc.

    If anyone could get me just the structure I could fill in all the details. Thanks for any help that anyone provides.
     
  8. Offline

    KoryuObihiro

    Two ways. Use a Switch...
    Code:
    - 'switch.target.group':
        Donator1:
            - 'mult.90'
            - 'div.100'
    #So they take 90% damage (last I knew you could only multiply by integers, not sure if that is still true)
        Donator2:
            - 'mult.85'
            - 'div.100'
    
    ...or a Conditional...
    Code:
    - 'if target.group.Donator1':
        - 'mult.90'
        - 'div.100'
    #So they take 90% damage (last I knew you could only multiply by integers, not sure if that is still true)
    - 'if target.group.Donator2':
        - 'mult.85'
        - 'div.100'
    
     
  9. Offline

    Brvtvs

    Thanks a lot, and does that include damage like falling damage or fire, etc.?
     
  10. Offline

    KoryuObihiro

    Unless you tell it not do that, then yes. :p
     
  11. Offline

    Werzieq

    Is there a way I can make armor on some groups have just 1 use?
     
  12. Offline

    KoryuObihiro

    Like, destroy the armor after shielding from an explosion or something?
     
  13. Offline

    Werzieq

    No, i dont want my archers wearing diamond.

    I think i make it that as soon as they get hit by anything the armor takes massive damage?
     
  14. Offline

    KoryuObihiro

    ModDamage doesn't have anything to assist you with armor damage control at this point in time...I'd think the most simple solution would be a plugin to prevent the equipping of diamond armor as a whole, but I don't know if that's possible.
     
  15. Offline

    Werzieq

    Dw, its an awsome plugin :D

    I removed around 10 plugins and replaced with this for my classes special features.

    any idea what the piston extension is called? It would make an awsome shield
     
  16. Offline

    diannetea

    1317:

    1:35:38 PM [SEVERE] [ModDamage] Error! Unhandled death event. Is Bukkit and ModDamage up-to-date?
    1:34:42 PM [SEVERE] [ModDamage] Error: Class "class com.KoryuObihiro.bukkit.ModDamage.RoutineObjects.CalculationRoutine" does not have a getNew() method!
     
  17. Offline

    KoryuObihiro

    Google "minecraft data values". ;)

    Well, the first isn't so bad, but the class error...is weird. I've been taking time away from direct MD development to get a Jenkins setup (for fun and profit), so I haven't tried MD on a new build.

    Crap. ;_;
     
  18. Same here for CB1240

    Code:
    [SEVERE] [ModDamage] Error: Class "class com.KoryuObihiro.bukkit.ModDamage.RoutineObjects.CalculationRoutine" does not have a getNew() method!
     
  19. Offline

    Brvtvs

    I finally got around to testing this setup, it has been loading fine all along but I pit default or whoever against donator 1,2,3 or 4 and they do the default damage, could it be that I am using permissionsex? That is what I am thinking. Time to figure out what is up with these new permissions systems.
     
  20. Offline

    KoryuObihiro

    @Terra-Network.org seemed to get it working just fine, but if you're having an issue then my handy dandy Jenkins install will be perfect for quickly sending you a patch (though I would strongly recommend NOT downloading anything from it yet). Have you unit-tested groups?
     
  21. Offline

    Brvtvs

    uhh.. unit tested?

    It is all good with the YML and with the Moddamage plugin. I tried /md r and all that stuff and using advanced debug but it seemingly didn't do anything to the console.

    Just to make sure, I don't need to have capitalized group names in MD do I? In PEX they are uncapitalized but I have had bad experiences with certain plugins needing capitalization and spending hours trying to figure out what the problem was.

    EDIT: Oh, and I also get this in the console sometimes (with the latest MD and CB 1240):
    [SEVERE] [ModDamage] Error! Unhandled death event. Is Bukkit and ModDamage up-to-date?
     
  22. Offline

    KoryuObihiro

    I've yet to determine what's causing that error, but at least it's getting handled better than a nice fat stacktrace. Want to paste your config on here or the issue tracker?

    EDIT: Also, I have no idea whether PEX is case-sensitive...I wouldn't think so, though.
     
  23. Offline

    Brvtvs

    Done, and PEX isn't case sensitive, I just wanted to make sure MD wasn't either.
     
  24. Offline

    KoryuObihiro

    Join the IRC if you want/have time for live help - I can provide support right now if you need it. If you don't have a client, just use mibbit.com.
     
  25. Offline

    slimpyman

    this looks lovely... can we modify the damage given globally with the different swords? and can we edit the damage on crits? as well as arrows? i dont mean to sound like a young chump, just being brief :)
     
  26. Offline

    KoryuObihiro

    Yessir! That and much more! You're just discovering MD's magic, huh? :)
     
  27. Offline

    cr0ss

    Hey Koryu, when you get a chance if I don't catch you in IRC:

    Have you found a reason for the
    Code:
    [SEVERE] [ModDamage] Error! Unhandled death event. Is Bukkit and ModDamage up-to-date?
    
    yet?

    Also, any idea on how to tweak critical damage? It seems independent from weapon damage (can't seem to tweak it myself).
     
  28. Offline

    KoryuObihiro

    I think you'd just want to check if they're falling or not, since that's the criteria MC defines. As for the unhandled events, looking into it right now.
     
  29. Offline

    Brvtvs

    Is the PEX fix coming soon?
     
  30. Offline

    KoryuObihiro

    Currently need to convert MD over to the new Configuration stuff, which could potentially take awhile whilst I juggle homework. I'll see if I can't get that worked out by tomorrow - stick on the IRC for live updates! :p
     
  31. Offline

    Brvtvs

    Any ETA? (And not the Basque separatist kind)
     

Share This Page