Results 1 to 15 of 15
  1. #1
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy

    One Hit kill code help for weapon M16

    I need help with my one hit kill code:
    bool OneHit = false;

    while(1) {

    if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}
    if(OneHit){

    DWORD dwWeapon = *(DWORD*)( dwCShell + 0xA299AC );

    if ( dwWeapon ){
    for( int i=0 ; i < 512 ; i++)
    {
    DWORD Weapon = *(DWORD*)( dwWeapon + i * 4 );

    if ( Weapon ) continue;

    *(float*)( Weapon + 0x7A4) = 3000.0f;
    I Know, this is not my entire base and I need to update my addies. I just need help on what do i need to put in (if so what, like weapon id and etc.) and if anything is wrong.

  2. The Following User Says Thank You to SmartGold For This Useful Post:

    jumrang26 (04-11-2011)

  3. #2
    vayerman's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    •♣☺☻♠☺♠☺☻♥•8○♦♣☺♠
    Posts
    476
    Reputation
    7
    Thanks
    101
    My Mood
    Aggressive
    GetAsynckeyState maybe is out of date
    [IMG]https://i247.photobucke*****m/albums/gg124/Nickshorty/Renders/snakeandthefoxrendercopy.png[/IMG]

  4. #3
    DOOP's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Leyte
    Posts
    547
    Reputation
    44
    Thanks
    3,251
    GetAsyncKeyState is work for Philippines Crossfire
    i use GetAsyncKeyState hotkey to my base.. untill now

  5. #4
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Ur code is patched. getSasyncKeySTate is patched...
    Ant the addy is wrong.
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  6. #5
    skulhead's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    714
    Reputation
    0
    Thanks
    158
    My Mood
    Cheerful
    On this way it isn't patched...: if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}
    if(OneHit){

  7. #6
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy
    so i make it automatically on, ill take out if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}.
    Last edited by SmartGold; 04-08-2011 at 01:50 PM.

  8. #7
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by SmartGold View Post
    so if i make it automatically on, ill take out if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}.
    So, what do i put into the place that says (Weapons), do i put in weapon id or the weapon name?
    omg... u dont understand anything of c++ right?
    It was dword weapon
    So its defined.
    U have to know what u did
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  9. The Following User Says Thank You to A$IAN For This Useful Post:

    SmartGold (04-08-2011)

  10. #8
    skulhead's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    714
    Reputation
    0
    Thanks
    158
    My Mood
    Cheerful
    Btw: You need to add a NULL check.

  11. #9
    Crazy Turks's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    İstanbul(Constantinapole)
    Posts
    200
    Reputation
    12
    Thanks
    74
    It doesnt work
    [IMG]https://i926.photobucke*****m/albums/ad103/cenksi/ISTANBUL.jpg[/IMG]

    My Great Land Istanbul 2010 European Culture Capital

    You shut your mouth
    How can you say
    I go about things the wrong way
    I am Human and I need to be loved
    Just like everybody else does

  12. #10
    Legend™'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Somewhere.
    Posts
    2,547
    Reputation
    53
    Thanks
    379
    My Mood
    Inspired
    Quote Originally Posted by Crazy Turks View Post
    It doesnt work
    Just leave this thread lol
    You clearly dont understand whats happening

    On Topic

    Dont got much experince coding hacks... but im pretty sure you also need weapon id?
    L3git™|SυpєrMαrio™


  13. #11
    jumrang26's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    gago cheat tarantado

  14. #12
    FullStatic's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Minecraft Section
    Posts
    935
    Reputation
    -41
    Thanks
    55
    My Mood
    Aggressive
    1: it aint yours
    2:Its patched

  15. #13
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy
    Quote Originally Posted by ********** View Post
    1: it aint yours
    2:Its patched
    First,You cant go around telling people this isn't your because you currently have no proof that I leeched this and I didn't (And in this case, i didn't!). And secondly, I know this is patched and i'm fixing it.

  16. #14
    Hogex's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    where do i put the code

  17. #15
    djrubenmp3's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    In JackInDaBox
    Posts
    586
    Reputation
    10
    Thanks
    493
    My Mood
    Psychedelic
    Quote Originally Posted by Hogex View Post
    where do i put the code
    Aff learn c++