KronHUD

KronHUD

317k Downloads

CPS Meter does not work when Attack/Destroy control is set to something else other than click

Excigma opened this issue ยท 4 comments

commented

Describe the bug
When the Attack/Destroy control is changed to something other than clicking, the CPS counter stays at 0
image

To Reproduce
Steps to reproduce the behavior:

  1. Settings > Controls> Attack/Destroy
  2. Change the key, see that CPS stays at 0

Expected behavior
CPS reflects attacks per second

commented

Pressing Z works correctly for Keystrokes, and triggers the LMB to light up, so a similar click detecting logic could perhaps be implemented
image

commented

Thanks for the bug report. For the keystroke's mod I have implemented that you can change the key and the letter will change, (so if Z is forward, it will show up as Z). The main problem with CPS is the current way I'm doing it is that it only detects clicks with your mouse, not whether or not it is attack/destroy. I did this because it says 'Clicks Per Second', not attacks/blocks placed per second. I will probably add an option to change this behavior.

commented

I'm also having problems with the configuration screen, but I will need to move other mods to another folder to see if there are conflicting mods or anything
image
(Buttons cut off at the top)
(Will probably need it's own issue)

commented

I'm working on that second problem. Will be fixed soon.