Unforgotten
New member
- Joined
- Apr 23, 2017
- Messages
- 1
- Reaction score
- 0
As the title says, my aimbot aims at wrong position. I've tried many many many different approaches but it just seems like I cannot get it to work.
I'd be thankful if anyone could point out why the aimbot is aiming at a different direction ( it always aims at the same spot even if i change my position and angle and target)
Heres the Code:
I'd be thankful if anyone could point out why the aimbot is aiming at a different direction ( it always aims at the same spot even if i change my position and angle and target)
Heres the Code:
Code:
xPos1 := read(0xB6F5F0, "float", 0x14, 0x30)
yPos1 := read(0xB6F5F0, "float", 0x14, 0x34)
MyPosZ := read(0xB6F5F0, "float", 0x14, 0x38)
xPoint := read(0xB6F9CC, "float")
yPoint := read(0xB6F9D0, "float")
xPos2 := read(0xB6F5F0, "float", 0x79c, 0x14, 0x30)
yPos2 := read(0xB6F5F0, "float", 0x79c, 0x14, 0x34)
EnemyZpos := read(0xB6F5F0, "float", 0x79c, 0x14, 0x38)
calc1 = xPos2 - (xPoint)
calc2 = yPos2 - (yPoint)
calc3 = EnemyZpos - (MyPosZ)
magnitude = Math.Sqrt(calc1^2 + calc2^2 + calc3^2)
yaw = Math.Atan(calc2/calc1)
pitch = Math.Acos(calc3/magnitude)
camXpos := write(0xB6F258, yaw, "float")
camYpos := write(0xB6F248, pitch, "float")