How to code a timer in visual C++ 6.0

Posts 1–6 of 6 · Page 1 of 1
How to code a timer in visual C++ 6.0
Yeah I'm having trouble with precisely that. I made a stamina hack just now and i put it on a "for" loop but it took up 50% of my cpu and lagged the server along with my internet connection. Help?
Looping Timers are pretty bad stuff when your Timer is set to milliseconds.

Shoul look like this when dobbleclicked on your timer:


Code:
private: System::Void timer1_Tick(System::Object *  sender, System::EventArgs *  e)
         {
                       if( WarRockRuns( ) )
             {
                if( vars.Stamina )
                {
                    int Staminavalue = 1120403456;
                    data_process( ( void* )ADDR_STAMINA, &Staminavalue, sizeof( int ) );
                }
                   }
                 }
Plant a Checkbox on your Form and Dobble Click:



Code:
vars.stamina = !vars.stamina;
Quote Originally Posted by deekay View Post
Looping Timers are pretty bad stuff when your Timer is set to milliseconds.

Shoul look like this when dobbleclicked on your timer:


Code:
private: System::Void timer1_Tick(System::Object *  sender, System::EventArgs *  e)
         {
                       if( WarRockRuns( ) )
             {
                if( vars.Stamina )
                {
                    int Staminavalue = 1120403456;
                    data_process( ( void* )ADDR_STAMINA, &Staminavalue, sizeof( int ) );
                }
                   }
                 }
Plant a Checkbox on your Form and Dobble Click:



Code:
vars.stamina = !vars.stamina;
I'm using visual C++ 6.0 Could you tell me where the timer is??? i can't seem to find one which led me to assume that there isn't one. ??? help?
lol i cant find it too...
how do i add a fucking timer on c++ ?
Lol its easy to add a timer in C++ this is what u do:

Go to classwizard than C(ur hacks name)Dlg

at messages find WM_TIMER and add function and u got the timer..
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us