BukkitOldCombatMechanics icon indicating copy to clipboard operation
BukkitOldCombatMechanics copied to clipboard

Wrong vertical knockback with CrackShot weapons

Open Fredh1000 opened this issue 3 years ago • 2 comments
trafficstars

Information

  • Server Version: Paper 1.16.5
  • OldCombatMechanics version: latest 1.11.0
  • Server Log File: It is not necessary, since it does not issue in console.
  • OldCombatMechanics config file: https://pastebin.com/kuSNdASj

Problem Description

Using crackshot weapons in the "modern" versions the vertical knockback of certain weapons will be "broken" and non-existent. I used Paper 1.16.5 for this test. P.S. This issue has been reported by other people in the past, but they did not provide complete descriptions and videos.

To Reproduce

Steps to reproduce the behavior:

  1. Install Paper 1.16.5 with CrackShot and OCM
  2. Start and add a weapon like this to weapons config in crackshot: https://pastebin.com/yzWanxLs
  3. Reload weapons config with command /cra config reload
  4. Give a player or mob 255 resistance (to keep him from dying instantly).
  5. Hit him with the weapon (get it with command /shot get [weapon name]) and you'll see that vertical knockback will not be given.

Expected Behaviour

With the server in 1.8.8 vertical weapon knockback is okay.

Actual Behaviour

the vertical knockback of certain weapons is non-existent.

Video Recordings

[Watch full video] Normal vertical KB with CrackShot 1.8.8 (normal 1.8.8 PvP) [Server version: Paper 1.8.8]: https://www.youtube.com/watch?v=cCBddfwBlsE [Watch full video] Bugged vertical KB with CrackShot 1.16.5 (old pvp with OCM) [Server version: Paper 1.16.5 + OCM]: https://www.youtube.com/watch?v=EJGG_QtqgQE

Additional information

The bullet of the test weapon I sent you is snawball, but it also behaves the same with arrows and in some cases also with projectiles energy. With the energy projectiles it seems to me that the absorption effect stops the knockback, if I remember correctly (I have not tested that of the energy, but if I remember correctly it was).

Fredh1000 avatar Aug 24 '22 09:08 Fredh1000

Have you tried tweaking the values of the old knockback module, or disabling it completely? This is probably due to both plugins trying to modify the knockback at the same time

kernitus avatar Sep 13 '22 16:09 kernitus

Yes, I tried but the knockback is always the same.

Fredh1000 avatar Sep 14 '22 19:09 Fredh1000