💡 RCS - Help!

Posts 1–15 of 15 · Page 1 of 1
💡 RCS - Help!
I'm finishing my private hack, but i can't make the RCS to work, maybe did some sh*t (or i don't even came close to a RCS)...

Can someone give a tutorial or maybe a youtube link for that, can't find any source to help me.

If u wanna help me coding this for me or something like that, and get a copy of the hack add my skype:
 
Skype
adrielbd


Thx
Something like this.
Haven't checked syntax or tested.
Code:

Code:
static Vector3 m_oldVecPunch = Vector3();
Vector3 m_vecPunch = localPlayer.m_vecPunch * 2.0f;
Vector3 m_dwViewAngles = clientState.m_dwViewAngles;
if (localPlayer.m_iShotsFired > 1){
    Vector3 m_vecModifier = m_vecPunch - m_oldVecPunch;
    m_dwViewAngles -= m_vecModifier;
    m_dwViewAngles = clampViewAngles(m_dwViewAngles);
    setViewAngles(m_dwViewAngles);
}
m_oldVecPunch = m_vecPunch;
Quote Originally Posted by Chris View Post
Something like this.
Haven't checked syntax or tested.
Code:

Code:
static Vector3 m_oldVecPunch = Vector3();
Vector3 m_vecPunch = localPlayer.m_vecPunch * 2.0f;
Vector3 m_dwViewAngles = clientState.m_dwViewAngles;
if (localPlayer.m_iShotsFired > 1){
    Vector3 m_vecModifier = m_vecPunch - m_oldVecPunch;
    m_dwViewAngles -= m_vecModifier;
    m_dwViewAngles = clampViewAngles(m_dwViewAngles);
    setViewAngles(m_dwViewAngles);
}
m_oldVecPunch = m_vecPunch;
I MADE IT OMG Thx
Quote Originally Posted by PhY'z View Post
I MADE IT OMG Thx
Good job!
Make sure to read the code, to understand how it works and what it does.
Quote Originally Posted by Chris View Post

Good job!
Make sure to read the code, to understand how it works and what it does.
Yep (: your code helped me to understand it, i made a little different, but the same effect, btw thanks
Quote Originally Posted by Chris View Post
Something like this.
Haven't checked syntax or tested.
Code:

Code:
static Vector3 m_oldVecPunch = Vector3();
Vector3 m_vecPunch = localPlayer.m_vecPunch * 2.0f;
Vector3 m_dwViewAngles = clientState.m_dwViewAngles;
if (localPlayer.m_iShotsFired > 1){
    Vector3 m_vecModifier = m_vecPunch - m_oldVecPunch;
    m_dwViewAngles -= m_vecModifier;
    m_dwViewAngles = clampViewAngles(m_dwViewAngles);
    setViewAngles(m_dwViewAngles);
}
m_oldVecPunch = m_vecPunch;
Is this C#? If it is what's the equivalent of Vector3 in C++?
Quote Originally Posted by Block4o View Post
Is this C#? If it is what's the equivalent of Vector3 in C++?
This is C++.
It is a class that holds the data of 3 floats (x, y, z).
btw @Chris maybe u can help me, my code about the esp (glow) im calling it in other like void espglow( int a, int b, int c, int d, int e, int f, int g) // COLORS AND THICKNESS

but the colors only display which is in full like my r: 0 g: 255 b: 150, will show green, maybe it is because im using INT? should i use FLOAT??
@PhY'z you sould use float, from 0 to 1
Quote Originally Posted by Block4o View Post
@PhY'z you sould use float, from 0 to 1
yep nevermind, i took a close look at the code now and saw, thx
@PhY'z can you answer in skype? I added you. Sorry for the offtopic..
Quote Originally Posted by Block4o View Post
@PhY'z can you answer in skype? I added you. Sorry for the offtopic..
I can try, ask here, why not?
I need somebody to explain how to read these vectors from the game's memory. I have got no problems with int, float, etc.. but I don't know how to do it with vectors..

P.S. Is this Vector3 class ready, or I have to write my own? @adri208 @Chris
Quote Originally Posted by Block4o View Post
I need somebody to explain how to read these vectors from the game's memory. I have got no problems with int, float, etc.. but I don't know how to do it with vectors..

P.S. Is this Vector3 class ready, or I have to write my own? @adri208 @darkwrath505
When you read a float from the games memory you say which address to read from and the size to read (how much to read).
The size in the case of a float is 4 bytes.
Say you are reading m_vecOrigin, it has 3 floats of data (x, y, z) each is 4 bytes in size.
Instead of reading each piece of data, you can read all them in one call, by using a class/struct or whatever.
Code:
class Vector3{
public 
    float x, y, z;
};
This is a Vector3 class. It holds 3 floats (x, y, z), just like m_vecOrigin.
So think about size again, if each float is 4 bytes in size how big is this class going to be? 12 bytes (4 * 3).
This tells us that in order to read m_vecOrigin with one call we need to read 12 bytes into it, 4 bytes for each float.
So instead of reading 3 floats, you can read a single Vector3.
Code:
Memory.Read<Vector3>(entity + m_vecOrigin);
This reduces the amount of calls to readprocessmemory, helping with performance.
Have a look up how data is stored in memory to further understand it.

Someone can correct me if they feel I am wrong, this is just my interpretation of it.
@Chris thank you for your time, I really understood it
Posts 1–15 of 15 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us