Solved CSGO RCS Problem

  • CSGO recently moved logic from 'client_panorama.dll' to 'client.dll', you must update all code that uses 'client_panorama.dll' and replace it with 'client.dll' or the code will not work.
Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Nerd0

Newbie
Dank Tier Donator
May 1, 2015
28
118
1
Hi.
So I've been trying to do RCS on csgo for a bit now and I kind off got it to work.
The RCS itself works I suppose, but there's a minor problem.
It doesn't control the recoil ontop of my current viewangles, every 1 second or so it snaps to another location on the map and controls recoil there. It controls the recoil fine, but it's just not where I want it.
C++:
float vAimPunch[3], curAngs[3];
void RCS()
{
        static float OldAngle[3];
        ReadProcessMemory(phandle, (LPCVOID*)(CLocalPlayer + angles), &OldAngle, sizeof(float[3]), 0);
        ReadProcessMemory(phandle, (LPCVOID*)(CLocalPlayer + angles), &curAngs, sizeof(float[3]), 0);
 
        if (GetAsyncKeyState(0x01))
        {
                ReadProcessMemory(phandle, (LPCVOID*)(CLocalPlayer + vecPunch), &vAimPunch, sizeof(float[3]), 0);
               
                vAimPunch[0] = vAimPunch[0] * 2.f;
                vAimPunch[1] = vAimPunch[1] * 2.f;
 
                float Angle[3];
                Angle[0] = curAngs[0] - (vAimPunch[0] - OldAngle[0]);
                Angle[1] = curAngs[1] - (vAimPunch[1] - OldAngle[1]);
 
                WriteProcessMemory(phandle, (PBYTE*)(pEngine + setView), Angle, 8, 0);
 
        }
        else
        {
                OldAngle[0] = 0;
                OldAngle[1] = 0;
        }
}

I'm 100% sure all offsets are right seeing as I got them today.
C++:
DWORD PlayerBase = 0xA4CA5C;
DWORD vecPunch = 0x13e8;
DWORD angles = 0x23a4;
DWORD enginePtr = 0x5C71B4;
DWORD setView = 0x4CE0;
I appreciate any help and or advice!
Thanks.
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
Angle[0] = curAngs[0] - (vAimPunch[0] - OldAngle[0]);

Angle[1] = curAngs[1] - (vAimPunch[1] - OldAngle[1]);

Is this the issue here? If your current view angle is 0, and the old is 359, wouldn't that cause an issue (Or the other way around).

I'm grabbing at air here, I've honestly never dealt with an RCS, nor am I any good at math.
 

Nerd0

Newbie
Dank Tier Donator
May 1, 2015
28
118
1
unfortunately that doesn't fix my problem, his problem is that he cant move his mouse, my problem is my cursor teleports around the map randomly
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
unfortunately that doesn't fix my problem, his problem is that he cant move his mouse, my problem is my cursor teleports around the map randomly
I know, I just saw that his maths were a little bit different, didn't know if it would be of any help :). Hopefully Obsta can help you, I believe he's dealt with RCS's before.
 

Nerd0

Newbie
Dank Tier Donator
May 1, 2015
28
118
1
update:
C++:
float vAimPunch[3], curAngs[3];
void RCS()
{
	static float OldAngle[3];

	if (GetAsyncKeyState(0x01))
	{
		ReadProcessMemory(phandle, (LPCVOID*)(CLocalPlayer + vecPunch), &vAimPunch, sizeof(float[3]), 0);
		
		vAimPunch[0] = vAimPunch[0] * 2.f;
		vAimPunch[1] = vAimPunch[1] * 2.f;

		ReadProcessMemory(phandle, (LPCVOID*)(CLocalPlayer + angles), &curAngs, sizeof(float[3]), 0);

		float Angle[3];
		Angle[0] = curAngs[0] - (vAimPunch[0] - OldAngle[0]);
		Angle[1] = curAngs[1] - (vAimPunch[1] - OldAngle[1]);

		WriteProcessMemory(phandle, (PBYTE*)(pEngine + setView), Angle, 8, 0);

		OldAngle[0] = vAimPunch[0];
		OldAngle[1] = vAimPunch[1];

	}
	else
	{
		OldAngle[0] = 0;
		OldAngle[1] = 0;
	}
}
Doesn't work either, this just locks the mouse in place and doesnt control recoil, any ideas?
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods