Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Farah[Aisyah]'s Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    678
    Reputation
    98
    Thanks
    11,042
    My Mood
    Angelic

    Post Automated C4 stuff

    1st: a keybind:

     
    if (GetAsyncKeyState(whateva)&1)
    {
    if(!bImAVehicle)
    bDeployC4 = true;
    }


    2nd: some globals:

     
    int C4Count=0; bool btmp,bAutoC4=false,bDeployC4 ;


    3rd: a helper function

     
    BOOL CAres::TurnOff()
    {
    if(( timeGetTime() < (iStartCount + 2000))) return FALSE;
    pBorderInputNode->m_inputCache->flInputBuffer[ConceptSwitchToPrimaryWeapon] = 1.0f;
    bAutoC4=false;
    btmp=false;
    iC4Count = 0;
    return TRUE;
    }


    4th: something for your engine loop, u need to have this inside the player iteration:

     
    if(bDeployC4)
    {
    if(iC4Count <=17)
    iC4Count += 1.0f;
    pMySoldier->GetVector(&vStaticVecC4[iC4Count]);
    bAutoC4 = true;
    btmp=false;
    bDeployC4 = false;
    }
    if (bAutoC4 && !GotTarget)
    {
    if (bIsEnemy )
    pVector.vTargetEnemy = pVector.vTarget;

    for (int itmp =1; itmp<=iC4Count; itmp++ )
    {
    if((vStaticVecC4[itmp].DistanceToVector(pVector.vTargetEnemy ) <= 6.f )
    && (vAres.vMe.DistanceToVector(vStaticVecC4[itmp]) >= 5.f)
    && IsVisibleForC4(&vStaticVecC4[itmp],&pVector.vTargetEnemy))
    {
    if(bSwitchable)
    {
    pBorderInputNode->m_inputCache->flInputBuffer[ConceptSwitchToDynamicGadget2] = 1.0f;
    iStartCount = timeGetTime();
    btmp=true;
    }
    AutoFireLogic();


    4th: more stuff you initiate when ur dead:

     
    if(!MyPlayer || !MyPlayer->getSoldierEnt())
    {
    bDead = 1;
    iC4Count=0;
    bDeployC4 = 0;
    bAutoC4 = 0;
    bIsCloseAttack= 0;
    }


    when u have deployed your c4 you press your key (whateva). when enemy now comes close to your explosive your player will switch to detanotor and explode the c4 automaticly. switches back to your main weapon after that and checks also that you are not within explosive blast radius. Current code saves up to 17 different locations on the map. Missing stuff is quite easy and can be added by yourself, like the visibility check.

    enemy dead = profit.
    Last edited by Farah[Aisyah]; 02-23-2013 at 09:19 AM.

  2. #2
    TeddyBoy95's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Canada
    Posts
    1,390
    Reputation
    72
    Thanks
    463
    My Mood
    Grumpy
    girl why you still post this useless things

  3. The Following 3 Users Say Thank You to TeddyBoy95 For This Useful Post:

    Kickazz080 (02-27-2013),mwxplayer (02-24-2013),tekkno (02-24-2013)

  4. #3
    Threadstarter
    Life is wasted on the living ◕‿◕
    MPGH Member
    Farah[Aisyah]'s Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    678
    Reputation
    98
    Thanks
    11,042
    My Mood
    Angelic
    Quote Originally Posted by TeddyBoy95 View Post
    girl why you still post this useless things
    -.- ??

  5. #4
    UKnowWhatDK's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    BF3 Noshar Canals TDM
    Posts
    37
    Reputation
    10
    Thanks
    115
    My Mood
    Devilish
    Me mad bro ?

  6. #5
    Threadstarter
    Life is wasted on the living ◕‿◕
    MPGH Member
    Farah[Aisyah]'s Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    678
    Reputation
    98
    Thanks
    11,042
    My Mood
    Angelic
    Quote Originally Posted by UKnowWhatDK View Post
    Me mad bro ?
    ''

  7. #6
    lhikary's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    249
    Reputation
    10
    Thanks
    933
    @the 2 dumb ppl who posted above
    this is useful for ppl who makes the hack for the game and not for ignorants like you
    Last edited by lhikary; 02-23-2013 at 01:30 PM.

  8. #7
    Threadstarter
    Life is wasted on the living ◕‿◕
    MPGH Member
    Farah[Aisyah]'s Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    678
    Reputation
    98
    Thanks
    11,042
    My Mood
    Angelic
    Quote Originally Posted by lhikary View Post
    @the 2 dumb ppl who posted above
    this is useful for ppl who makes the hack for the game and not for ignorants like you
    yup ...

  9. #8
    Airdraw's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    6
    My Mood
    Innocent
    lol, nice copypaste

  10. #9
    gesha's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    yeah not urs give credit

  11. #10
    Airdraw's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    6
    My Mood
    Innocent
    Copied from UC.

  12. #11
    Dovahkiiin's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Shocked
    How OP uploads hacks here:
    Step 1: Go to some other websites
    Step 2: Find a (detected) cheat
    Step 3: COPY PASTE LOLOLOLOL
    Step 4: ?????
    Step 5: Profit

  13. #12
    gesha's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    THIS WOMAN COPIES EVERYTHING FROM THERE stop it pls

  14. #13
    Elektrosadist's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Hey Asshole stop posting my code without my permission. Or without giving proper credits.

    Wannabe ...

  15. #14
    fontao's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    131
    Hello
    How i can put that working?
    >TY

  16. #15
    zahirpro2's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    49
    My Mood
    Aggressive
    close thread???????????

Page 1 of 2 12 LastLast

Similar Threads

  1. Stupid People Doing Stupid Stuff!
    By Dave84311 in forum General
    Replies: 9
    Last Post: 08-23-2007, 12:54 AM
  2. Where could I learn C++? (Beginner, and Advanced stuff)
    By TsumikiriX in forum C++/C Programming
    Replies: 8
    Last Post: 07-19-2006, 09:11 PM
  3. New Warrock Skin Stuff
    By Kyojiro in forum WarRock - International Hacks
    Replies: 17
    Last Post: 02-20-2006, 10:55 AM
  4. Korean Warrock Uboat And Other stuff :D
    By Kyojiro in forum WarRock - International Hacks
    Replies: 11
    Last Post: 01-19-2006, 03:56 PM