Posts by monk13337
4 posts total, newest first.
External RCS problemin Counter-Strike 2 Coding & Resources - [QUOTE=WasserEsser;12491047]That's wrong.
The problem is that you are supposed to save your OldAngle for the next time you execute the code to get the delta and compensate for that.
The thing is, once you saved it, you eExternal RCS problemin Counter-Strike 2 Coding & Resources - [QUOTE=Zaczero;12490619]
Mem.Read<Vector>(Engine.ClientState + m_dwViewAngles); => Mem.Read<Vector>(LocalPly.Player + m_dwViewAngles);[/QUOTE]
With
Mem.Read <Vector> (LocalPly.Player + m_dwViewAngles);
nothingExternal RCS problemin Counter-Strike 2 Coding & Resources - [QUOTE=Zaczero;12490374]ViewAngles: LocalPlayer (handle) + m_dwViewAngles
+ your structure names are confusing[/QUOTE]
I was kept in LocalPly pointer on ClientState. I create another class for Engine pointers
class CEExternal RCS problemin Counter-Strike 2 Coding & Resources - void RCS()
{
Sleep(1);
Vector angle;
Vector OldAngle;
if (LocalPly.ShootFired > 1 && (GetAsyncKeyState(0x01) & 0x8000 )) {
Vector m_PunchAngle = Mem.Read<Vector>(LocalPly.Player + m_vecPunch);
Vector m_V
Showing the 4 most recent posts.