Results 1 to 3 of 3
  1. #1
    rida_44's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0

    hi help with Fullbright

    Code:
    #include <windows.h>
    
    DWORD WINAPI TestFunction( LPVOID lpParam )
    {
            while (true) {
    		if ((GetAsyncKeyState(VK_NUMPAD8) & 1))  {
    		        //On
    			* ( DWORD* ) 0x5F9690C = 4;
    				
    		} else if ((GetAsyncKeyState(VK_NUMPAD7) & 1))  {
    			//reset;
    			* ( DWORD* ) 0x5F9690C = 9;
                    }
    	}
    	  
            Sleep(200);
            return 0;
    }
    
    BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
    {
        if (dwAttached == DLL_PROCESS_ATTACH) {
            CreateThread(NULL,0,&TestFunction,NULL,0,NULL);
        }
        return 1;
    }
    this works but why my game lag
    Last edited by MarkHC; 11-21-2012 at 03:57 PM.

  2. #2
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,751
    Reputation
    66
    Thanks
    14,311
    My Mood
    Angelic
    Get a better pc

    now seriously... put the Sleep(200) inside the while loop.. otherwise it is useless.. that might help you a bit. Also you can increase the sleep to like 5000 or 10000. The value only resets itself when changing map so you don't need to keep writing every single second.
    Last edited by MarkHC; 11-21-2012 at 03:55 PM.


    CoD Minion from 09/19/2012 to 01/10/2013

  3. #3
    rida_44's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    man ur right and thanx 4 the help

Similar Threads

  1. [Help Request] Need help with numpad while recording macro !
    By JonathanTBM in forum Vindictus Help
    Replies: 2
    Last Post: 05-10-2011, 08:37 PM
  2. [Help Request] help with ca hacks
    By moises8 in forum Combat Arms Help
    Replies: 4
    Last Post: 05-10-2011, 06:55 PM
  3. [Help Request] Anyone can help with this ?
    By devileyebg in forum Vindictus Help
    Replies: 1
    Last Post: 05-01-2011, 04:57 PM
  4. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 01:40 PM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 10:06 PM

Tags for this Thread