Gunz Server Greeter

Results 1 to 11 of 11
  1. #1
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    information Gunz Server Greeter

    Ooh hai guise,

    I made this like 3 years ago for EliteGunz and I just stumbled upon it.

    This was supposed to greet you when you entered a channel to notify you about current events.
    I never finished it so you can only use it to spam yourself since it's client-side.
    Shouldn't be too hard to fix nowadays.

    Code:
    // Gunz Server Greeter by KillerStefan \\
    // Credits to PenguinGuy for tut of using C++ for Gunz \\
    // Thanks to Phail/Theoretical for helping me fixing errors \\
    
    #include <windows.h>
    #include <stdio.h>
    
    typedef void( __cdecl* ZChatOutputT ) ( const char*, int, int, DWORD );
    ZChatOutputT ZChatOutput = ( ZChatOutputT ) 0x0042B860;
    
    typedef void( __cdecl* ZPostPeerChatType ) ( char* szMessage, int nTYPE );
    ZPostPeerChatType ZPostPeerChat = ( ZPostPeerChatType )0x0042ADC0;
    
    // June 2007 ZChatOutput Address = 0042A230 \\
    // July 2008 ZChatOutput Address = 0042B860 \\
    
    void CustomCommands()
    {
      for(;;Sleep(20))
      {
        if(GetAsyncKeyState (VK_MENU) && GetAsyncKeyState ('L'))
        {
          ZChatOutput("Welcome to EliteGunz! Report any bugs you find on the forums.", 2, 0, 0xFFFFFF);
          Sleep(250);
        }
        
        if(GetAsyncKeyState (VK_MENU) && GetAsyncKeyState ('K'))
        {
          ZChatOutput("KillerStefan is awesome!", 2, 0, 0xFFFFFF);
          Sleep(250);
        }
    
        if(GetAsyncKeyState (VK_MENU) && GetAsyncKeyState ('E'))
        {
          ZChatOutput("There is no place like EliteKingdoms!", 2, 0, 0xFFFFFF);
          Sleep(250);
        }
    
        if(GetAsyncKeyState (VK_MENU) && GetAsyncKeyState ('M'))
        {
          ZPostPeerChat("There is no place like EliteKingdoms!",0);
          Sleep(250);
        }
      }
    }
    
    extern "C"
    {
        __declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv)
        {
            DisableThreadLibraryCalls(hInst);
            if (reason == DLL_PROCESS_ATTACH)
            {
                MessageBox(NULL, "Injected succesfully", "Gunz Server Greeter", MB_OK);
                CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&CustomCommands, NULL, 0, NULL);  //Remember our void?  "MyThread" ??
            }
            return true;
    
        }
    }
    Attached Files Attached Files
    Last edited by KillerStefan; 27-03-12 at 11:46 PM. Reason: Attached DLL.


  2. #2
    Member thaurus is offline
    MemberRank
    Sep 2011 Join Date
    93Posts

    Re: Gunz Server Greeter

    does not pay :O
    is easiest way to do

  3. #3
    Valued Member ZeidForce is offline
    MemberRank
    Nov 2009 Join Date
    C:\Puerto Rico\Location
    133Posts

    Re: Gunz Server Greeter

    This is useless, but nice to know it and for the idea.

  4. #4
    Member iDelta is offline
    MemberRank
    Mar 2012 Join Date
    67Posts

    Re: Gunz Server Greeter

    easy to do but yea, thanks.

  5. #5
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: Gunz Server Greeter

    Quote Originally Posted by ZeidForce View Post
    This is useless, but nice to know it and for the idea.
    Quote Originally Posted by iDelta View Post
    easy to do but yea, thanks.

    I made this 3 years ago so yea XD

  6. #6
    Valued Member Superior is offline
    MemberRank
    Mar 2012 Join Date
    Edmonton, AlberLocation
    117Posts

    Re: Gunz Server Greeter

    And your releasing it now? :o should have done that sooner, but thanks Stefan. :)

  7. #7
    Account Upgraded | Title Enabled! BG-Nero is offline
    MemberRank
    Feb 2012 Join Date
    GermanyLocation
    285Posts

    Re: Gunz Server Greeter

    I dont see any point at this DLL but thank you for the release!

  8. #8
    The Sky's the Limit ^_^ GzFKoron is offline
    MemberRank
    Jul 2010 Join Date
    1,118Posts

    Re: Gunz Server Greeter

    Would be cool if someone could make it server-sided lol.

  9. #9
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: Gunz Server Greeter

    Quote Originally Posted by SheenUK View Post
    Would be cool if someone could make it server-sided lol.

    Go for it, shouldn't be too hard with the src being available to all nowadays.

  10. #10
    Member spaike23 is offline
    MemberRank
    Nov 2009 Join Date
    LeagueOfLegendsLocation
    52Posts

    Re: Gunz Server Greeter

    Address 1.5?

  11. #11
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: Gunz Server Greeter

    Quote Originally Posted by spaike23 View Post
    Address 1.5?

    Look it up?
    As I stated multiple times, I just dropped what I did 3 years ago since I thought someone would like this.



Advertisement