Welcome to the RaGEZONE - MMORPG development forums.

Anti Shotbot

This is a discussion on Anti Shotbot within the Gunz Releases forums, part of the Gunz Online category; it can bypass and the code only hook mouse, the key shot can settings 2 hotkeys xD...

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 38
  1. #16
    Newbie
    Rank
    Member
    Join Date
    Jun 2009
    Posts
    4
    Liked
    0

    Re: Anti Shotbot

    Click
    it can bypass and the code only hook mouse, the key shot can settings 2 hotkeys xD
    Developer GunZ

  2. #17
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2007
    Location
    On the moon
    Posts
    837
    Liked
    267

    Re: Anti Shotbot

    Don't worry, I'll keep this up to date, Be sure to keep checking this thread

  3. #18
    Registered
    Rank
    Member
    Join Date
    Jul 2012
    Posts
    6
    Liked
    1

    Re: Anti Shotbot

    ty :)

  4. #19
    Gone hollow
    Rank
    Alpha Member
    Join Date
    Dec 2007
    Location
    The Netherlands
    Posts
    2,143
    Liked
    595

    Re: Anti Shotbot

    Quote Originally Posted by kubom21 View Post
    it can bypass and the code only hook mouse, the key shot can settings 2 hotkeys xD
    No, since GunZ uses DirectInput for keyboard input (at least for the keys that are relevant to cheating) and DirectInput retrieves input straight from the driver rather than from Windows so you can't inject any keyboard input into GunZ using a Windows API function.

    In fact, as I just told Gunblade, porting GunZ to get mouse input from DirectInput instead of Windows would also patch all shotbots that have ever been released.

  5. #20
    Hey , I'm A Noob.
    Rank
    Gamma
    Join Date
    Jun 2009
    Location
    127.0.0.1/Dev
    Posts
    3,388
    Liked
    428

    Re: Anti Shotbot

    Nice release GunBlade.
    Probably taking up Java.

  6. #21
    I am THE DON
    Rank
    Gamma
    Join Date
    Jan 2007
    Location
    ENGLAND!, Uk
    Posts
    3,809
    Liked
    419
    Gamertag: LolJoeMad PSN ID: LolJoeMad Steam ID: joe9099

    Re: Anti Shotbot

    Excellent release!
    I'm awesome? Yeah ik, np np

  7. #22
    Member
    Rank
    Member
    Join Date
    Jan 2012
    Posts
    35
    Liked
    0

    Re: Anti Shotbot

    1> main.cpp
    1>c:\users\patrick\documents\visual studio 2010\projects\bot\bot\main.cpp(48): error C2059: syntax error : '}'
    1>c:\users\patrick\documents\visual studio 2010\projects\bot\bot\main.cpp(48): error C2143: syntax error : missing ';' before '}'
    1>c:\users\patrick\documents\visual studio 2010\projects\bot\bot\main.cpp(48): error C2059: syntax error : '}'
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    help '-' ?

  8. #23
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2007
    Location
    On the moon
    Posts
    837
    Liked
    267

    Re: Anti Shotbot

    Could you post the main.cpp Aprodite?

  9. #24
    Member
    Rank
    Member
    Join Date
    Jan 2012
    Posts
    35
    Liked
    0

    Re: Anti Shotbot

    PHP Code:
    #include <windows.h>

    HHOOK MouseHook;

    LRESULT CALLBACK MouseHookProc(int nCodeWPARAM wParamLPARAM lParam)
    {
        if (
    nCode == HC_ACTION)
        {
            if(
    wParam == WM_RBUTTONDOWN || wParam == WM_LBUTTONDOWN)
            {
                
    MSLLHOOKSTRUCT *info=(MSLLHOOKSTRUCT*)lParam;     
                if((
    info->flags LLMHF_INJECTED) == LLMHF_INJECTED)
                {
                    
    ExitProcess(-1);
                }
            }
        }
        return 
    CallNextHookEx(MouseHook,nCode,wParam,lParam);
    }


    void AntiShotbotLogger()
    {
        
    HINSTANCE hInstance GetModuleHandle(NULL);

        
    MouseHook SetWindowsHookExWH_MOUSE_LLMouseHookProchInstanceNULL );
        
    MSG message;
        while (
    GetMessage(&message,NULL,0,0)) {
            
    TranslateMessage( &message );
            
    DispatchMessage( &message );
        }

        
    UnhookWindowsHookEx(MouseHook);
        return;
    }

    extern "C"
    {
        
    __declspec(dllexportBOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv)
        {
            if (
    reason == DLL_PROCESS_ATTACH)
            {
                
    CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)&AntiShotbotLogger,NULL,0,NULL);
            }
        return 
    true;
        }
    }

    is this here
    Last edited by Aprodite; 15-07-12 at 11:27 PM.

  10. #25
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2007
    Location
    On the moon
    Posts
    837
    Liked
    267

    Re: Anti Shotbot

    You accidently added a: } at the end of the file

  11. #26
    Member
    Rank
    Member
    Join Date
    Jan 2012
    Posts
    35
    Liked
    0

    Re: Anti Shotbot

    i add one more no patched shotbot here '-'

    blocks which shotbot '-' ?
    Last edited by Aprodite; 16-07-12 at 12:19 AM.

  12. #27
    Member
    Rank
    Member
    Join Date
    Jun 2011
    Posts
    39
    Liked
    0

    Re: Anti Shotbot

    Man, Phail will post a bypass, shit.

  13. #28
    Addicted to Bacon
    Rank
    Member +
    Join Date
    Sep 2007
    Posts
    1,098
    Liked
    488

    Re: Anti Shotbot

    PHP Code:
    /* Anti-Shotbot Bypasser */
    #include <windows.h>
    #include <thread>
    #include <iostream>


    HHOOK MouseHook;


    LRESULT CALLBACK ReplaceMousehook(int nCodeWPARAM wParamLPARAM lParam)
    {
        if (
    nCode == HC_ACTION && (wParam  == WM_RBUTTONDOWN || wParam == WM_LBUTTONDOWN))
        {
            
    reinterpret_cast<MSLLHOOKSTRUCT*>(lParam)->flags 0;
            
    std::cout << "Injection bypassed!" << std::endl;
        }
        return 
    CallNextHookEx(MouseHook,nCode,wParam,lParam);
    }


    void ShotbotBypassExample()
    {
        while(
    true)
        {
            if (
    GetAsyncKeyState(VK_NUMPAD0)&1)
            {
                
    std::cout << "Sending input now." << std::endl;
                
    INPUT input[2];
                
    input[0].type INPUT_MOUSE;
                
    input[0].mi.dwFlags MOUSEEVENTF_LEFTDOWN;    
                
    input[1].type INPUT_MOUSE;
                
    input[1].mi.dwFlags MOUSEEVENTF_LEFTUP;
                
    SendInput(2inputsizeof(INPUT));
            }


            
    Sleep(1);
        }
    }


    int main(int argcchar** argv)
    {
        
    std::thread keybind(ShotbotBypassExample);
        
    keybind.joinable();


        
    HHOOK hook SetWindowsHookExWH_MOUSE_LLReplaceMousehookGetModuleHandle(0), NULL );
        
    MSG message;
        while (
    GetMessage(&message,NULL,0,0)) {
            
    TranslateMessage( &message );
            
    DispatchMessage( &message );
        }
        return 
    0;

    Run after Gunz, profit.
    Last edited by ThePhailure772; 16-07-12 at 02:57 AM.

  14. #29
    Registered
    Rank
    Member
    Join Date
    Dec 2006
    Posts
    14
    Liked
    0

    Re: Anti Shotbot

    Quote Originally Posted by ThePhailure772 View Post
    Code:
    /* Anti-Shotbot Bypasser */
    #include <windows.h>
    #include <thread>
    #include <iostream>
    
    
    HHOOK MouseHook;
    
    
    LRESULT CALLBACK ReplaceMousehook(int nCode, WPARAM wParam, LPARAM lParam)
    {
        if (nCode == HC_ACTION && (wParam  == WM_RBUTTONDOWN || wParam == WM_LBUTTONDOWN))
        {
            reinterpret_cast<MSLLHOOKSTRUCT*>(lParam)->flags = 0;
            std::cout << "Injection bypassed!" << std::endl;
        }
        return CallNextHookEx(MouseHook,nCode,wParam,lParam);
    }
    
    
    void ShotbotBypassExample()
    {
        while(true)
        {
            if (GetAsyncKeyState(VK_NUMPAD0)&1)
            {
                std::cout << "Sending input now." << std::endl;
                INPUT input[2];
                input[0].type = INPUT_MOUSE;
                input[0].mi.dwFlags = MOUSEEVENTF_LEFTDOWN;    
                input[1].type = INPUT_MOUSE;
                input[1].mi.dwFlags = MOUSEEVENTF_LEFTUP;
                SendInput(2, input, sizeof(INPUT));
            }
    
    
            Sleep(1);
        }
    }
    
    
    int main(int argc, char** argv)
    {
        std::thread keybind(ShotbotBypassExample);
        keybind.joinable();
    
    
        HHOOK hook = SetWindowsHookEx( WH_MOUSE_LL, ReplaceMousehook, GetModuleHandle(0), NULL );
        MSG message;
        while (GetMessage(&message,NULL,0,0)) {
            TranslateMessage( &message );
            DispatchMessage( &message );
        }
        return 0;
    }
    Run after Gunz, profit.
    n1 wizkid dont know how to decently code.

  15. #30
    Hi, I'm Omar!
    Rank
    WTF? Overkill!
    Join Date
    Jan 2011
    Location
    Here
    Posts
    1,790
    Liked
    727

    Re: Anti Shotbot

    Quote Originally Posted by migueldj View Post
    n1 wizkid dont know how to decently code.
    You don't and can't compare between coders.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •