gosumemory icon indicating copy to clipboard operation
gosumemory copied to clipboard

Keyoverlay showing wrong values on Linux

Open hwsmm opened this issue 2 years ago • 2 comments

Hi, I've been writing memory reader of mine in another language, and I just found out that https://github.com/l3lackShark/gosumemory/blob/f80a655b5e2088da03f91e64d552b9e13540ceea/memory/functions.go#L51-L55 applies the same to these lines. (0xC instead of 0x8) https://github.com/l3lackShark/gosumemory/blob/f80a655b5e2088da03f91e64d552b9e13540ceea/memory/functions.go#L433-L442


I'd write a PR if I were good enough at Go, but unfortunately I couldn't come up with a good solution, so I am just writing an issue.

hwsmm avatar Jan 22 '23 13:01 hwsmm

So you are saying, that K1Pressed should be the same as K2Pressed? And K1Count should be the same as K2Count=? seems broken...

C0D3-M4513R avatar Apr 06 '23 16:04 C0D3-M4513R

It's not the same thing. It just pointers to start of array with values. LeaderStart is needed to calculate current value pointer in array (NOT START OF ARRAY)

KotRikD avatar Apr 09 '23 10:04 KotRikD