RCS source

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;
        }
}
Quote Originally Posted by Skips View Post
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(); <-----
Quote Originally Posted by Skips View Post
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
Quote Originally Posted by 555444 View Post
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);
Quote Originally Posted by Epik View Post



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.
Quote Originally Posted by Skips View Post
Welp, I tried to help without C+P but okay.
You gave him literally everything he needed LOL
Quote Originally Posted by Skips View Post
This is C++ but it shouldn't be hard to convert.
Code:
     Angle angle;
Angle? yeah, angle LOL

btw don't need to check the angles?? like if (angle.x < 360) { angle.x = ... }
Quote Originally Posted by PhY'z View Post
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
Quote Originally Posted by Epik View Post


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

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?