Bug Closed · Resolved

Gun Hit Delay Glitch and

#1345 opened by Unknown 5 years ago

Unknownreported this bug

Summary Gun Hit Delay

Guns that fire at extremely fast rate will have a 0.5s delay or so when hitting a mob, such as a creeper, but will fire normally when it aims for a normal area. I tried several other methods like @targetLocation but there didnt seem to work. The issue does NOT happen when removing the gun aspect of the item. This happens with both vanilla and custom mobs. Being opped/deopped made no difference. Before updating to 1.16.4 from 1.16.1, this never happened and I was using the latest artifacts build. I recently updated to MythicCrucible and removed MythicArtifacts but issue still persists. No errors appear in the console, so not quite sure whats causing it.

Steps to reproduce

Add flamethrower item and skill to there respective configs and then reload the plugin. I then give myself the item with /mm items command and then do /mob creeper 10. Firing in the air will work normally, but when projectiles land at the creepers, it has a large delay.

Flamethrower Item (With Ammo): https://pastebin.com/0HhuVWw9

Flamethrower Item (Without Ammo): https://pastebin.com/wE1wqkDH

Flamethrower Skills: https://pastebin.com/33A4p8Li

Current behavior

Several guns I use such as AK47 and Flamethrower have extremely fast firerates, but when hitting a mob, the delay will hinder the dps/versatility of the weapon, and players will not be able to use them like intended.

Intended correct behavior

The flamethrower should be firing at its intended cooldown of 0.1s (2 ticks) per projectile in all circumstances, including hitting mobs.

Server log file

https://www.dropbox.com/s/2p2xdp91q9nzwrc/latest.log?dl=0

Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.

https://pastebin.com/wmzFcjZs

Debug log snippet

https://pastebin.com/kspeTkf1

Proposed fixes

Not really sure. Only know is its definitely related to the gun type of MythicCrucible.

Unknowncommented

Try setting your mob to NoDamageTicks: 0 Vanilla mobs in Minecraft has a natural nodamage tick so you can't change that if it is against vanilla mobs unless you replace them with Mythic Mobs plugin.

Sign in to join the discussion.