Posts 1–10 of 10 · Page 1 of 1
RCS source
Can somebody post an RCS source example in C#

This is C++ but it shouldn't be hard to convert.
Code:
Angle angle;
Angle m_ViewAngle ;
Angle OldAngle;
int ShotsFired = 0;
while(true)
{
if (GetAsyncKeyState(0x01)){
ShotsFired = mem.read<int>(GetLocalPlayer() + m_iShotsFired);
if (ShotsFired > 1){
m_ViewAngle = GetViewAngle();
Angle m_PunchAngle = GetPunchAngle( );
m_ViewAngle.x = m_ViewAngle.x + OldAngle.x;
m_ViewAngle.y = m_ViewAngle.y + OldAngle.y;
// Add the old "viewpunch" so we get the "center" of the screen again
angle.x = m_ViewAngle.x - m_PunchAngle.x*2;
angle.y = m_ViewAngle.y - m_PunchAngle.y*2 ;
// remove the new "viewpunch" from the viewangles
SetViewAngle(angle);
OldAngle.x = m_PunchAngle.x*2;
OldAngle.y = m_PunchAngle.y*2;
// save the old "viewpunch"
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}

Originally Posted by
Skips
This is C++ but it shouldn't be hard to convert.
Code:
Angle angle;
Angle m_ViewAngle ;
Angle OldAngle;
int ShotsFired = 0;
while(true)
{
if (GetAsyncKeyState(0x01)){
ShotsFired = mem.read<int>(GetLocalPlayer() + m_iShotsFired);
if (ShotsFired > 1){
m_ViewAngle = GetViewAngle();
Angle m_PunchAngle = GetPunchAngle( );
m_ViewAngle.x = m_ViewAngle.x + OldAngle.x;
m_ViewAngle.y = m_ViewAngle.y + OldAngle.y;
// Add the old "viewpunch" so we get the "center" of the screen again
angle.x = m_ViewAngle.x - m_PunchAngle.x*2;
angle.y = m_ViewAngle.y - m_PunchAngle.y*2 ;
// remove the new "viewpunch" from the viewangles
SetViewAngle(angle);
OldAngle.x = m_PunchAngle.x*2;
OldAngle.y = m_PunchAngle.y*2;
// save the old "viewpunch"
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}
First thank you but ill miss soms wich is not declared yet?
Angle m_PunchAngle =
GetPunchAngle( ); <-----
m_ViewAngle =
GetViewAngle(); <-----

Originally Posted by
Skips
This is C++ but it shouldn't be hard to convert.
Code:
Angle angle;
Angle m_ViewAngle ;
Angle OldAngle;
int ShotsFired = 0;
while(true)
{
if (GetAsyncKeyState(0x01)){
ShotsFired = mem.read<int>(GetLocalPlayer() + m_iShotsFired);
if (ShotsFired > 1){
m_ViewAngle = GetViewAngle();
Angle m_PunchAngle = GetPunchAngle( );
m_ViewAngle.x = m_ViewAngle.x + OldAngle.x;
m_ViewAngle.y = m_ViewAngle.y + OldAngle.y;
// Add the old "viewpunch" so we get the "center" of the screen again
angle.x = m_ViewAngle.x - m_PunchAngle.x*2;
angle.y = m_ViewAngle.y - m_PunchAngle.y*2 ;
// remove the new "viewpunch" from the viewangles
SetViewAngle(angle);
OldAngle.x = m_PunchAngle.x*2;
OldAngle.y = m_PunchAngle.y*2;
// save the old "viewpunch"
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}else{
OldAngle.x = 0;
OldAngle.y = 0;
}
}
Your signature killed me, luckily i have 8 more lives

Originally Posted by
555444
First thank you but ill miss soms wich is not declared yet?
Angle m_PunchAngle = GetPunchAngle( ); <-----
m_ViewAngle = GetViewAngle(); <-----
They should be pretty obvious. Learn some C++ and watch some tutorials online.
DWORD pEngine = Read<DWORD>(EngineDLL + EnginePointer);
DWORD pLocal = Read<DWORD>(ClientDLL + LocalPlayer);
m_ViewAngle = Read<Angle>(pEngine + 0x00004ce0);
Angle m_PunchAngle = Read<Angle>(pLocal + 0x000013e8);

Originally Posted by
Epik
They should be pretty obvious. Learn some C++ and watch some tutorials online.
DWORD pEngine = Read<DWORD>(EngineDLL + EnginePointer);
DWORD pLocal = Read<DWORD>(ClientDLL + LocalPlayer);
m_ViewAngle = Read<Angle>(pEngine + 0x00004ce0);
Angle m_PunchAngle = Read<Angle>(pLocal + 0x000013e8);
Welp, I tried to help without C+P but okay.

Originally Posted by
Skips
Welp, I tried to help without C+P but okay.
You gave him literally everything he needed LOL

Originally Posted by
Skips
This is C++ but it shouldn't be hard to convert.
Angle? yeah, angle LOL
btw don't need to check the angles?? like if (angle.x < 360) { angle.x = ... }

Originally Posted by
PhY'z
Angle? yeah, angle LOL
btw don't need to check the angles?? like if (angle.x < 360) { angle.x = ... }
Yeah he has to normalize the angles as well, but let him get untrusted and learn. :P

Originally Posted by
Epik
Yeah he has to normalize the angles as well, but let him get untrusted and learn. :P
i got untrusted with the angles normalize and not when without it .-. can you check if i'm doing correct it?? PMmed you the normalization code
Posts 1–10 of 10 · Page 1 of 1