Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Direct3D hacking programming reversing
You are Unregistered, please register to gain Full access.
Firstable I have to say that Delphi sucks. Secondly this Code assumes that "LTClientShell^.PlayerClient^.Pitch" expects a cosine value of the vertical Angle, if it actually does, I don't see why it shouldn't be working. Yaw value seems to be a bit more complicated in terms of y AND z values.
I painted a picture to understand what you are doing and I cant spot a mistake.
In some games calling GetTransform don't always work as expected and may or may not work depending on when it is called. In CA for example I used to have to call it from begin scene and store it but after later updates I ended up simply grabbing local player view matrix from their class.
I suspect your running into something similar in CF.
__________________
I'm like a virus, you can delete me but I am never really gone.
Links die, searching does not. (Fravia : searchlores.org)
Solving problems requires effort not a college degree.
GetCameraVectorFromViewMatrix// not accurate cameracoords
LTClientShell^.PlayerClient^.Pitch := Direction.y;//both lines need more math or you will not aim properly
LTClientShell^.PlayerClient^.Yaw := Direction.x;
now that you know what the problem is, Im not gonna fix it cuz you never contribute and only ask for hand outs(every post).