Burning Man

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Burning Man

    As a fake 'MentaL' posted nearly all of our stickies on E4G i'll release something in return

    credits PenguinGuy

    Code:
    #include "stdafx.h"
    #include <windows.h>
    
    #define Keys(a, b) GetAsyncKeyState(a)&0x8000 && GetAsyncKeyState(b)
    
    struct MUID
    {
    	unsigned long Low;
    	unsigned long High;
    };
    
    DWORD ZChar;
    DWORD *pGame               = (DWORD*)0x00672F68;
    DWORD ZChatAdd             = 0x0042A230;
    DWORD SpawnItemAdd         = 0x004B4640;
    DWORD ZEffectManagerAdd    = 0x004ABDB0;
    DWORD ZGetGameAdd          = 0x004ABDD0;
    DWORD ZGetClientAdd        = 0x004ABCC0;
    DWORD ZGetInterfaceAdd     = 0x004ABCF0;
    DWORD AddFireAdd           = 0x00468150;
    DWORD SetHPAdd             = 0x00473750;
    DWORD SetAPAdd             = 0x00473760;
    DWORD GetHPAdd             = 0x00473730;
    DWORD GetAPAdd             = 0x00473740;
    
    float D3D[3];
    float D3D1[3];
    float D3D2[3];
    
    MUID* HOLD  = new MUID();
    MUID* CHARR = new MUID();
    MUID* STAGG = new MUID();
    
    typedef void(__cdecl *ZChatType) (const char*, int, int, DWORD);
    ZChatType ZChat = (ZChatType)ZChatAdd;
    
    typedef void(__cdecl *SpawnItemType) (MUID*, int, float*);
    SpawnItemType SpawnItem = (SpawnItemType)SpawnItemAdd;
    
    typedef DWORD(__cdecl *ZGetClientType) ();
    ZGetClientType ZGetClient = (ZGetClientType)ZGetClientAdd;
    
    typedef DWORD(__cdecl *ZGetGameType) ();
    ZGetGameType ZGetGame = (ZGetGameType)ZGetGameAdd;
    
    typedef DWORD(__cdecl *ZGetInterfaceType) ();
    ZGetInterfaceType ZGetInterface = (ZGetInterfaceType)ZGetInterfaceAdd;
    
    DWORD pChar()
    {
        if (pGame != NULL && *pGame != NULL)
    	{
    		return *(DWORD*)(*pGame + 0x50);
    	}
    	return NULL;
    }
    
    unsigned long GetMe()
    {
        return *(DWORD*)(ZGetClient() + 0x1A4);
    }
    
    unsigned long GetStage()
    {
        return *(DWORD*)(ZGetClient() + 0x1B4);
    }
    
    float *GetPos(DWORD ZChar)
    {
        DWORD ECX = ZChar; 
        DWORD EAX = *(DWORD*)(ECX + 0x58);
        ECX = *(DWORD*)(EAX + 0x20);
        DWORD EDX = *(DWORD*)(EAX + 0xC);
        EAX = *(DWORD*)(EDX + ECX * 0x4);
        return (float*)EAX;
    }
    
    void SetPos(float *AllPos)
    {
        float *Poss = GetPos(pChar());
        Poss[0] = AllPos[0];
        Poss[1] = AllPos[1];
        Poss[2] = AllPos[2];
    }
    
    char *LastInput()
    {
        return (char*)(ZGetInterface() + 0x3A8);
    }
    void ClearInput()
    {
        (*(char*)(ZGetInterface() + 0x3A8)) = '/n';
    }
    
    
    void Fire()
    {
    	ZChar = pChar();
    	__asm
    	{
    		PUSH ZChar
    		CALL ZEffectManagerAdd
    		MOV ECX, EAX
    		CALL AddFireAdd
    	}
    }
    
    void SetHP(int nHP)
    {
    	ZChar = pChar();
    	__asm
    	{
    		MOV ECX, ZChar
    		MOV EAX, SetHPAdd
    		PUSH nHP
    		CALL EAX
    	}
    }
    
    void SetAP(int nAP)
    {
    	ZChar = pChar();
    	__asm
    	{
    		MOV ECX, ZChar
    		MOV EAX, SetAPAdd
    		PUSH nAP
    		CALL EAX
    	}
    }
    
    int GetHP()
    {
    	ZChar = pChar();
    	int ReturnVal;
    	__asm
    	{
    		MOV ECX, ZChar
    		MOV EAX, GetHPAdd
    		CALL EAX
    		MOV ReturnVal, EAX
    	}
    	return ReturnVal;
    }
    
    int GetAP()
    {
    	ZChar = pChar();
    	int ReturnVal;
    	__asm
    	{
    		MOV ECX, ZChar
    		MOV EAX, GetAPAdd
    		CALL EAX
    		MOV ReturnVal, EAX
    	}
    	return ReturnVal;
    }
    
    
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////          ////////          ////////          ////////          ////////          ////////          /////
    ////////          ////////          ////////          ////////          ////////          ////////          ////
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    bool bHelper = false;
    bool bGame   = false;
    bool bFire   = false;
    
    int spot = 0;
    
    void Helper()
    {
    	while(1)
    	{
    	    if(bHelper && pChar())
    	    {
    		    if(Keys(VK_MENU, 'P'))
    		    {
    			    float *Pos = GetPos(pChar());
    			    D3D[0] = Pos[0];
    			    D3D[1] = Pos[1];
    			    D3D[2] = Pos[2];
    			    ZChat("Spot saved!", 2, 0, 0xFFFFFF);
    				spot = 1;
    			}
    		}
    		Sleep(20);
    	}
    }
    
    void FireT()
    {
    	while(1)
    	{
    	    if(bGame && pChar())
    	    {
    		    Fire();
    		    Sleep(100);
    		}
    		Sleep(20);
    	}
    }
    
    void Game()
    {
    	while(1)
    	{
    	    if(bGame && pChar())
    	    {
    		    Sleep(150);
    		    SpawnItem(HOLD, **** D3D); //The *** is  the worlditem ID  fkin RZ censorship.
    		    SetHP(GetHP() - 10);
    		    SetAP(GetAP() - 7);
    		    Sleep(700);
    		}
    		Sleep(20);
    	}
    }
    
    void Keyys()
    {
    	while(1)
    	{
    		if(Keys(VK_MENU, 'M'))
    		{
    			ZChat("Game Mode Activated!", 2, 0, 0xFFFFFF);
    			bGame = !bGame;
    			bFire = !bFire;
    			Sleep(150);
    		}
    		if(Keys(VK_MENU, 'H'))
    		{
    			ZChat("Helper Activated!", 2, 0, 0xFFFFFF);
    			bHelper = !bHelper;
    			Sleep(150);
    		}
    		if(Keys(VK_MENU, 'O'))
    		{
    			ZChat("Alt + M = GameMode", 2, 0, 0xFFFFFF);
    			ZChat("Alt + H = HelperModule", 2, 0, 0xFFFFFF);
    			ZChat("@helper = HelperModule", 2, 0, 0xFFFFFF);
    			ZChat("@mode = GameMode", 2, 0, 0xFFFFFF);
    			Sleep(150);
    		}
    		if(memcmp(LastInput(), "@helper", 6) == 0 || memcmp(LastInput(), "@Helper", 6) == 0)
    		{
    			bHelper = !bHelper;
    			ClearInput();
    		}
    		if(memcmp(LastInput(), "@mode", 5) == 0 || memcmp(LastInput(), "@Mode", 5) == 0)
    		{
    			bGame = !bGame;
    			ClearInput();
    		}
    		Sleep(20);
    	}
    }
    
    
    
    extern "C"
    {
        __declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst, DWORD reason, LPVOID lpv)
        {
            DisableThreadLibraryCalls(hInst);
            if (reason == DLL_PROCESS_ATTACH)
            {
                CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)Helper, NULL, 0, NULL);
                CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&FireT, NULL, 0, NULL);
                CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&Game,0, NULL, NULL);
                CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&Keyys, 0, NULL, NULL);
            }
            return true;
        }
    }


  2. #2
    PH Network SouLTakeR is offline
    MemberRank
    Aug 2008 Join Date
    293Posts

    Re: Burning Man

    First post thanks

  3. #3
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: Burning Man

    this is how it would look like , credits to Linear88

  4. #4
    Account Upgraded | Title Enabled! gabire is offline
    MemberRank
    Dec 2008 Join Date
    CanadaLocation
    577Posts

    Re: Burning Man

    its me mental on E4G sorry its because im a fan of mental and i decided to chose this name because i dont got any name :S sorry

  5. #5
    Account Upgraded | Title Enabled! killerzx is offline
    MemberRank
    Dec 2008 Join Date
    638Posts

    Re: Burning Man

    how we get this to work?
    also, do we compile to dll?

  6. #6
    Just Me iceman4154 is offline
    MemberRank
    Oct 2007 Join Date
    Columbus, OhioLocation
    217Posts

    Re: Burning Man

    Yes you compile this to a dll, then inject it into gunz.exe.

  7. #7
    Valued Member robertinh07 is offline
    MemberRank
    Dec 2008 Join Date
    106Posts

    Re: Burning Man

    compile using c++ 2008?

  8. #8

    Re: Burning Man

    It's already released by PenguinGuy. Check the threads started by him.

  9. #9
    Animu Addicted Number12 is offline
    MemberRank
    Apr 2008 Join Date
    Old Sunny CALocation
    1,264Posts

    Re: Burning Man

    Quote Originally Posted by Linear88 View Post
    It's already released by PenguinGuy. Check the threads started by him.
    Yea that is what I thought.
    I still have it in a .txt lol :)

    offtopic:
    get back on msn linear :D Havent talked to u in a while

  10. #10
    Wait wut PenguinGuy is offline
    MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: Burning Man

    Don't release this piece of crap again. D_D

  11. #11
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: Burning Man

    shud i remove? according 2 u it needs fixing.

  12. #12
    Account Upgraded | Title Enabled! killerzx is offline
    MemberRank
    Dec 2008 Join Date
    638Posts

    Re: Burning Man

    got the stdafx.h ? o.o
    Can't compile without it lol

  13. #13
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: Burning Man

    Quote Originally Posted by killerzx View Post
    got the stdafx.h ? o.o
    Can't compile without it lol
    look for the original thread look at linear's post.

  14. #14
    Account Upgraded | Title Enabled! adminjoker is offline
    MemberRank
    Jun 2009 Join Date
    USA - Stuart -Location
    247Posts

    Re: Burning Man

    Can you release the .DDL Please? Thanks i would love to have it!

  15. #15
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: Burning Man

    it wasn't given as a dll.



Page 1 of 2 12 LastLast

Advertisement