rabume/cs2-dma-radar

Update offsets

Closed this issue · 4 comments

rabume commented
Update offsets

It appears that the characters orientation does not rotate in these last few updates. I've tried messing around with a few offsets but can't seem to get it right....

rabume commented

Yeah, I know. Please give me some time, I'll try to do it over the weekend.

I got it working by adding the updated m_angEyeAngles offsets.

In the PlayerUpdateAddressThread.java file, update to:

line 84 ; 90 - memoryTool.readFloat(Pawn + 0x1510 + 0x4, 8),
line 87 ; float angle = memoryTool.readFloat(LocalPlayerController + 0x1510 + 0x4, 8) - 90;
line 110 ; 90 - memoryTool.readFloat(Pawn + 0x1510 + 0x4, 8) + angle,

rabume commented

Done! Thanks @Karky-io