Thread: while/for

Results 1 to 11 of 11
  1. #1
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw

    while/for

    Hello i am trying to make the hotkey's and i need a lopp si i tryed while(true) / for( ; ; ) booth are working fine for 30s after injetion and after 30's it's just stop the looping IDK what is the problem some help

  2. #2
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    I think it's XTrap

  3. #3
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw
    Quote Originally Posted by derh.acker View Post
    I think it's XTrap
    So my loop it's detected ? if you you know how to make it undetected ?

  4. #4
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    Quote Originally Posted by bandi12 View Post
    So my loop it's detected ? if you you know how to make it undetected ?
    lol why do u need to use a loop to make hotkeys??
    us if(GetAsyncKeyState(VK_hotkey)) { hack = !hack; }

  5. #5
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw
    Quote Originally Posted by DaRk View Post
    lol why do u need to use a loop to make hotkeys??
    us if(GetAsyncKeyState(VK_hotkey)) { hack = !hack; }
    and for this i don't need a loop to check if the key is pressed i mean i dont think that is working this


    Code:
    void hack()
    { if(GetAsyncKeyState(VK_hotkey)) { hack = !hack; }
       if(!hack)
         {...}}

    i think it need to be in a loop like hmm


    Code:
    void hack()
    {  while(true) //this loop stop's after 15-30s
    if(GetAsyncKeyState(VK_hotkey)) { hack = !hack; }
       if(!hack)
         {...}
    Sleep(200);}
    Last edited by bandi12; 04-22-2012 at 07:32 AM.

  6. #6
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw
    yep it's xtrap i remowed my code's and i ley only while() and sleep and beep and after 30s Xtrap detected if i put code inside while it's not saying detected so you can play but Xcrap stop's the loop so no hotkey somebody can help me how to make an undetected loop thx

  7. #7
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    Quote Originally Posted by bandi12 View Post
    yep it's xtrap i remowed my code's and i ley only while() and sleep and beep and after 30s Xtrap detected if i put code inside while it's not saying detected so you can play but Xcrap stop's the loop so no hotkey somebody can help me how to make an undetected loop thx
    XTrap just closes the thread. That's why I made an extended CreateThread.

  8. #8
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw
    Quote Originally Posted by derh.acker View Post
    XTrap just closes the thread. That's why I made an extended CreateThread.
    can you help me to make 1 for my base ? here or in pm /skype / YM thx man

  9. #9
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    Quote Originally Posted by bandi12 View Post
    can you help me to make 1 for my base ? here or in pm /skype / YM thx man
    This was easy, why don't you try it by yourself?

  10. #10
    bandi12's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    562
    Reputation
    30
    Thanks
    318
    My Mood
    Yeehaw
    Quote Originally Posted by derh.acker View Post
    This was easy, why don't you try it by yourself?
    what you mean whit "extended CreateThread" ?



    EDIT : i find another way to make Xtrap- Xcrap and now it's not killing the loop
    Last edited by bandi12; 04-24-2012 at 10:04 AM.

  11. #11
    Code[VB]'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    CODER
    Posts
    608
    Reputation
    11
    Thanks
    702
    My Mood
    Bitchy
    Quote Originally Posted by bandi12 View Post
    what you mean whit "extended CreateThread" ?



    EDIT : i find another way to make Xtrap- Xcrap and now it's not killing the loop
    cf & xtrap is almost ever stupid :P

Similar Threads

  1. i left for a while and came back with these
    By yourtiy in forum Showroom
    Replies: 4
    Last Post: 10-07-2008, 10:15 PM
  2. HAVENT SEEN HAKERS IN WARROCK FOR A WHILE
    By soultaker in forum WarRock - International Hacks
    Replies: 16
    Last Post: 10-14-2007, 07:34 PM
  3. Watch for peds while driving.
    By tednugent in forum General
    Replies: 18
    Last Post: 09-12-2007, 09:52 AM
  4. Ill be inactive for a while now...
    By System79 in forum General
    Replies: 4
    Last Post: 09-29-2006, 06:09 PM
  5. Bye for a While
    By System79 in forum General Game Hacking
    Replies: 3
    Last Post: 09-12-2006, 03:22 PM