Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect values for m_iIDEntIndex on linux? #177

Open
AbsurdumDaemonium opened this issue Jun 15, 2024 · 4 comments
Open

Incorrect values for m_iIDEntIndex on linux? #177

AbsurdumDaemonium opened this issue Jun 15, 2024 · 4 comments

Comments

@AbsurdumDaemonium
Copy link

Hey for some reason when i read m_iIDEntIndex i always get very huge values like 237023232
i add it to the local player and then read, using process_vm_readv from the nix crate
i dont think it is a problem with me as i am perfectly able to get m_ihealth using that and some people on UC told me that its likely the dumper thats giving me wrong values

this is the code i currently have
https://paste.gg/p/anonymous/23b3ad412320449da695df72fa6e30b7/files/392bd74e84644e58972cdbb172619bfd/raw

@AbsurdumDaemonium
Copy link
Author

womp womp

agree

@a2x
Copy link
Owner

a2x commented Jul 18, 2024

Sorry for the delay mate, I'll look at this as soon as I can.

@a2x
Copy link
Owner

a2x commented Jul 22, 2024

@AbsurdumDaemonium

I'm not exactly sure if I understand you correctly. The value will always be 0xFFFFFFFF (invalid handle) when your crosshair isn't over another player.

It seems to work as intended for me.
Screencast from 2024-07-22 23-27-26.webm

@dxshie
Copy link

dxshie commented Aug 4, 2024

@AbsurdumDaemonium

I'm not exactly sure if I understand you correctly. The value will always be 0xFFFFFFFF (invalid handle) when your crosshair isn't over another player.

It seems to work as intended for me. Screencast from 2024-07-22 23-27-26.webm

works for me also just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@a2x @dxshie @AbsurdumDaemonium and others