Results 1 to 5 of 5
  1. #1
    leoen2's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    Spain - Mallorca
    Posts
    4
    Reputation
    10
    Thanks
    7

    Cool Firefall trigger bot

    Code:
     #include <NomadMemory.au3>
       #include <GUIConstants.au3>
       #include <Misc.au3>
       #include <Array.au3>
    
       $talk = ObjCreate("SAPI.SpVoice")
    
    HotKeySet('{ESC}','_exit')
    HotKeySet('{PAUSE}','pause')
    HotKeySet('{HOME}','play')
    
    SeDebugPrivilege()
    $sExecutable = 'FirefallClient.exe'
    $hProcess = OpenProcess(ProcessExists($sExecutable))
    $lol = ProcessModuleGetBaseAddress($hProcess, $sExecutable)
    CloseHandle($hProcess)
    
    $stupid_offset1 = 0x01336750
    $stupid_offset2 = 0x4
    $stupid_offset3 = 0x10
    $stupid_offset4 = 0x50
    $stupid_offset5 = 0x4
    $stupid_offset6 = 0x2bd
    
    $ID=_MemoryOpen(ProcessExists("FirefallClient.exe"))
    
    if ($ID = 0 ) then
    		$talk.Speak("Firefall Client not found, please start the game first!")
    		_MemoryClose($ID)
    		Exit
    	EndIf
    $talk.Speak("Rubysh's Firefall Autotrigger is now online, Checking pointers...")
    
    
    $lol2 = _MemoryRead($lol+$stupid_offset1, $ID, "int[32]")
    $lol3 = _MemoryRead($lol2+$stupid_offset2, $ID, "int[32]")
    $lol4 = _MemoryRead($lol3+$stupid_offset3, $ID, "int[32]")
    $lol5 = _MemoryRead($lol4+$stupid_offset4, $ID, "int[32]")
    $lol6 = _MemoryRead($lol5+$stupid_offset5, $ID, "int[32]")
    $fucking_address = _MemoryRead($lol6+$stupid_offset6, $ID, "BYTE")
    
    $talk.Speak("All pointers found, the bot is ready, Have fun!")
    
    $talk.Speak("Use the end button to close the bot while in the game, the bot will automaticly close it self if the client isn't running.")
    
    autoshoot()
    
    func autoshoot()
    While 1
        $idcheck = ProcessExists("FirefallClient.exe")
    	$fucking_address = _MemoryRead($lol6+$stupid_offset6, $ID, "BYTE")
    
    	if ($fucking_address = 1 ) then
    	MouseDown("left")
    
    		While ($fucking_address = 1 )
    
       		$fucking_address = _MemoryRead($lol6+$stupid_offset6, $ID, "BYTE")
    		Wend
    	MouseUp("left")
    	else
    	sleep(1)
            endIf
    
    	if ($idcheck = 0 ) then
    		$talk.Speak("Firefall Client has been closed, The Autotrigger will now shutdown. Thank you for using Rauven's Firefall Autotrigger.")
    		_MemoryClose($ID)
    		Exit
    	EndIf
    
    
    Wend
    
    endfunc
    
    
    Func SeDebugPrivilege()
    Local $iTokenIndex = 1
    Local $Struct = DllStructCreate('DWORD;int')
    Local $TOKEN_PRIVILEGES = DllStructCreate('DWORD;DWORD[' & (3 * 1) & ']')
    DllStructSetData($TOKEN_PRIVILEGES, 1, 1)
    While $iTokenIndex <= 1
      Local $bPrivilegeValue = DllCall('advapi32.dll', _
        'BOOL', 'LookupPrivilegeValue', _
        'str', '', _
        'str', 'SeDebugPrivilege', _ ;SE_DEBUG_NAME
        'ptr', DllStructGetPtr($Struct))
      If $bPrivilegeValue[0] Then
       DllStructSetData($TOKEN_PRIVILEGES, 2, 0x00000002, (3 * $iTokenIndex)) ;SE_PRIVILEGE_ENABLED
       DllStructSetData($TOKEN_PRIVILEGES, 2, DllStructGetData($Struct, 1), (3 * ($iTokenIndex - 1)) + 1)
       DllStructSetData($TOKEN_PRIVILEGES, 2, DllStructGetData($Struct, 2), (3 * ($iTokenIndex - 1)) + 2)
       DllStructSetData($Struct, 1, 0)
       DllStructSetData($Struct, 2, 0)
      EndIf
      $iTokenIndex += 1
    WEnd
    Local $hCurrentProcess = DllCall('kernel32.dll', _
       'HANDLE', 'GetCurrentProcess')
    Local $hProcessToken = DllCall('advapi32.dll', _
       'BOOL', 'OpenProcessToken', _
       'HANDLE', $hCurrentProcess[0], _
       'DWORD', 0x00000020 + 0x00000008, _ ;TOKEN_ADJUST_PRIVILEGES + TOKEN_QUERY
       'HANDLE*', '')
    Local $NEWTOKEN_PRIVILEGES = DllStructCreate('DWORD;DWORD[' & (3 * 1) & ']')
    DllCall('advapi32.dll', _
       'BOOL', 'AdjustTokenPrivileges', _
       'HANDLE', $hProcessToken[3], _
       'BOOL', False, _
       'ptr', DllStructGetPtr($TOKEN_PRIVILEGES), _
       'DWORD', DllStructGetSize($NEWTOKEN_PRIVILEGES), _
       'ptr', '', _
       'DWORD*', '')
    DllCall('kernel32.dll', _
       'BOOL', 'CloseHandle', _
       'HANDLE', $hProcessToken[3])
    EndFunc
    Func OpenProcess($iProcessID)
    Local $hProcess = DllCall('kernel32.dll', _
       'HANDLE', 'OpenProcess', _
       'DWORD', 0x1F0FFF, _ ;DesiredAccess = PROCESS_ALL_ACCESS
       'BOOL', True, _ ;InheritHandle = True
       'DWORD', $iProcessID)
    Return $hProcess[0]
    EndFunc
    Func ProcessModuleGetBaseAddress($hProcess, $sModuleName)
    Local $ModulesMax = DllStructCreate('ptr[1024]')
    Local $iProcessModules = DllCall('psapi.dll', _
       'BOOL', 'EnumProcessModules', _
       'HANDLE', $hProcess, _
       'ptr', DllStructGetPtr($ModulesMax), _
       'DWORD', DllStructGetSize($ModulesMax), _
       'DWORD*', '')
    Local $sModuleBaseName
    For $i = 1 To $iProcessModules[4] / 4
      $sModuleBaseName = DllCall('psapi.dll', _
        'DWORD', 'GetModuleBaseNameW', _
        'HANDLE', $hProcess, _
        'ptr', DllStructGetData($ModulesMax, 1, $i), _
        'wstr', '', _
        'DWORD', 256)
      If $sModuleBaseName[3] = $sModuleName Then Return DllStructGetData($ModulesMax, 1, $i)
    Next
    EndFunc
    Func CloseHandle($hProcess)
    Local $bResult = DllCall('kernel32.dll', _
       'BOOL', 'CloseHandle', _
       'HANDLE', $hProcess)
    Return $bResult[0]
    EndFunc
    NOW RUN KIDS, RUUUUUUUN! /me

  2. The Following 2 Users Say Thank You to leoen2 For This Useful Post:

    arafindjabc (06-08-2015),xXDemonoXx (01-16-2016)

  3. #2
    noah123103's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Florida
    Posts
    405
    Reputation
    10
    Thanks
    881
    My Mood
    Mellow
    Will look this over later but for now thanks!

  4. #3
    Linczy's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    how use this i have no idea , any thoughts ?

  5. #4
    __dedsec__'s Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    damn , thanks bro

  6. #5
    wucko98's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Sad
    How to use this code?

Similar Threads

  1. My 5th trigger bot
    By dark_byte70 in forum General Hacking
    Replies: 7
    Last Post: 10-26-2012, 02:15 PM
  2. [Bot Release] Simple Trigger Bot
    By blah in forum Combat Arms Hacks & Cheats
    Replies: 57
    Last Post: 08-20-2008, 10:05 AM
  3. Whats trigger bot?
    By apeguy in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 08-14-2008, 07:22 PM
  4. Trigger Bot
    By thiag00 in forum Visual Basic Programming
    Replies: 0
    Last Post: 05-01-2008, 07:15 PM
  5. Fucken Trigger Bot!
    By nukeist_ in forum Flaming & Rage
    Replies: 4
    Last Post: 01-19-2008, 12:23 PM