Results 1 to 5 of 5
  1. #1
    The Venom's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Possible To Use If And While Together

    hay guys,
    i have made a bot which loops and everything realy basic 1 but i got kiked out of a game couse i was afk boting anyway i made and afk checker so that wen they ask who on it would respond automaticlly. the afk checker works perfectly but i cant combine the 2 together

    i will show you the codes i use. this may help u lot to understand better.

    this is my infinite loop one:

    Code:
    While 1=1    Send ("{M down}")    Sleep (10) Send ("{N down}")    Sleep (10)    Send ("{N up}")    Sleep (500)       WEnd
    and this is my afk checker:
    Code:
    $pixel = PixelSearch(761, 140, 1318, 433, 0xC0C0C0) if IsArray($pixal) = True Then    send ("{V down}")    sleep (10)    send ("{V up}")    sleep (10)    send ("hello broski")    EndIf
    this is my first time inserting codes so if i get it wrong dont go crazy just help me out
    thx

  2. #2
    pceumel's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    335
    Reputation
    16
    Thanks
    2,602
    My Mood
    Yeehaw
    this is autoit... not c++/c
    if nobody helps u u can go to a autoit forum
    NEW - D3D BASE -WDDM HOOK
    https://www.mpgh.net/forum/242-crossf...ml#post7906339
    My Base and Injector source (HOTKEY):
    https://www.mpgh.net/forum/580-crossf...ml#post5927406

    Happy leeching
    WDDM Hook
    https://www.mpgh.net/forum/242-crossf...d-hooking.html


    Killed a GM with hack : DONE and no bann ^^
    Killed a GM and all other Players : DONE
    Get 3min Banned : Done

  3. #3
    The Venom's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    whats the difference between c++ and autoit
    i went there first couse i am using autoit and they dont do game hacking so whenever i tried to ask them they locked and band me so cant help it
    and also which is better to use if u gonna bot autoit or c++

  4. #4
    pceumel's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    335
    Reputation
    16
    Thanks
    2,602
    My Mood
    Yeehaw
    i used autoit a long time ago and it was good for gui´s and so on but not for make hacks ... (=
    u must use writeprocessmemory api´s and they were hooked by xtrap mostly... so c++ is better for do this yob (=
    NEW - D3D BASE -WDDM HOOK
    https://www.mpgh.net/forum/242-crossf...ml#post7906339
    My Base and Injector source (HOTKEY):
    https://www.mpgh.net/forum/580-crossf...ml#post5927406

    Happy leeching
    WDDM Hook
    https://www.mpgh.net/forum/242-crossf...d-hooking.html


    Killed a GM with hack : DONE and no bann ^^
    Killed a GM and all other Players : DONE
    Get 3min Banned : Done

  5. #5
    Null::Void's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    47
    Reputation
    6
    Thanks
    7
    My Mood
    Relaxed
    C++ Logic Statement Structure:
    Code:
    While (Condition) {
    if (condition == result) {
      
      }
    }
    I have never used Auto-IT but i would asume its not far off that

Similar Threads

  1. How would I use SuspendThread and ResumeThread?
    By Combatant in forum C++/C Programming
    Replies: 4
    Last Post: 01-08-2010, 04:16 AM
  2. Could You Make Aimbot and Chams Together?
    By Scythe. in forum Combat Arms Discussions
    Replies: 18
    Last Post: 10-25-2009, 02:29 AM
  3. How To Use PerX And Other Injectors
    By nfitz02 in forum Combat Arms Discussions
    Replies: 14
    Last Post: 09-23-2009, 03:52 AM
  4. [TUT]How to use Stealth and CHeeat Injectors.
    By krishna in forum CrossFire Hacks & Cheats
    Replies: 7
    Last Post: 09-06-2009, 02:18 PM
  5. How to use wallhack and MHS speed hack together.{if you don't already know}
    By neononxxx in forum Combat Arms Hacks & Cheats
    Replies: 16
    Last Post: 07-18-2009, 12:35 AM