OldCombatMechanics

OldCombatMechanics

46.1k Downloads

Negative attack damage

SladeHazard opened this issue ยท 13 comments

commented

Sometimes axes randomly don't do damage for players? this is very annoying

This happens randomly so I don't know how to reproduce there is a video below

  1. I think it happens mostly if you use strength

Expected Behaviour

For the axe to do normal damage according to the config

Actual Behaviour

the axe does 0 damage

Video: https://youtu.be/WgavIv_kLNs
Skip to 0:33 to watch it happen. please fix this my server is literally ruined cuz of it

commented

the axe that was being used has following enchants: sharp 85, unb 85 , fireaspect 2!

commented

happens without strength ASWELL watch this video in slowmo skip to 0:24 : https://www.youtube.com/watch?v=1fYUmO3tRVs&feature=youtu.be

commented

i swear ive tried every old oldcombatmechanics version aswell as ever config possible ;/ randomly axes deal less dmg any fix? or way to prevent this please!

commented

What other plugins do you have installed that may affect combat? For there to be a negative base damage it means something's wrong before OCM even gets to it!

commented

What other plugins do you have installed that may affect combat? For there to be a negative base damage it means something's wrong before OCM even gets to it!

I've tested this with only ocm and protocollib installed aswell. my server depends on axe pvp the bug doesn't happen with any other weapon like swords. oh and i also tried reinstalling paper and deleting all files like spigot.yml ect

commented

I can make a test server for you if you like . the bug stopped happening in ver 1.6.1 but then randomly a player started taking 0 dmg with axes and fine with other stuff

commented

also can't you make ocm override others? a option like this or smthin & my discord is Archer#8281 if you want to chat faster.

commented

Are you sure you aren't simply attacking too fast? Even though there is no weapon cooldown, Minecraft still has a damage cooldown (since before 1.9).

commented

Are you sure you aren't simply attacking too fast? Even though there is no weapon cooldown, Minecraft still has a damage cooldown (since before 1.9).

I'm not, only 2-4cps

commented

I don't find this to be the case when I load up a server to test it, is there some specific situation in which this happens that I can try to reproduce?

commented

@SladeHazard you could try installing OCMFixer and see if that helps; running the /read command isn't actually what you want, but rather just leaving it installed for a bit and letting the ArmorFixListener do its thing. it cleans any armor in either player inventories or container inventories every time a player joins / an inventory is opened

commented

uh it turns it they were your bad coded old plugin vers.......... that corrupted my whole servers items every old armor from old oldcombatmechanics versions have 9999+armor toughness the new plugin doesn't overwrite it.

commented

alright thanks, you can close this now. I had already coded my own plugin to remove the attributes