HelpAimbot

Posts 1–9 of 9 · Page 1 of 1
Aimbot
Hello, i made an aimbot using calcangle but if i set my angles during freeze time it freezes my angles to 0, is it a simple fix for this?
/Moved to the correct section.
Do you get red text in console for invalid angles? And what do you mean by freeze time.
Quote Originally Posted by Skips View Post
Do you get red text in console for invalid angles? And what do you mean by freeze time.
The freezetime, you know, when you are frozen and the countdown of the game starts.
Quote Originally Posted by gauthier08 View Post
The freezetime, you know, when you are frozen and the countdown of the game starts.
Why would anyone be writing angles during that time?
Quote Originally Posted by affe2626 View Post
Hello, i made an aimbot using calcangle but if i set my angles during freeze time it freezes my angles to 0, is it a simple fix for this?
Your problem has nothing to do with freeze time. It's because you're writing invalid numbers aka NaN ( not a number )ⓘ to the viewangle buffer within clientstate. You have to check if the angles are valid numbers before you set them.

Code:
void CorrectNaN( Vector& Buffer )
{
        if ( Buffer.x != Buffer.x )
                Buffer.x = 0.f;
        if ( Buffer.y != Buffer.y )
                Buffer.y = 0.f;
        if ( Buffer.z != Buffer.z )
                Buffer.z = 0.f;
}
I don't know why you create a new thread when i already told you that via PM.
Quote Originally Posted by WasserEsser View Post
Your problem has nothing to do with freeze time. It's because you're writing invalid numbers aka NaN ( not a number ) to the viewangle buffer within clientstate. You have to check if the angles are valid numbers before you set them.

Code:
void CorrectNaN( Vector& Buffer )
{
        if ( Buffer.x != Buffer.x )
                Buffer.x = 0.f;
        if ( Buffer.y != Buffer.y )
                Buffer.y = 0.f;
        if ( Buffer.z != Buffer.z )
                Buffer.z = 0.f;
}
I don't know why you create a new thread when i already told you that via PM.
oh thanks , solved @hunter And no u haven't pm'ed me a single time :P
Quote Originally Posted by affe2626 View Post
oh thanks , solved @hunter And no u haven't pm'ed me a single time :P
My bad, it was someone else.
Has been solved.

/Closed.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us