Stage Hack Patch (Source)

Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Member Stroumpf is offline
    MemberRank
    Aug 2010 Join Date
    61Posts

    Stage Hack Patch (Source)

    This is a patch for the "Stage Hack"


    Code:
    #include <windows.h>
    #include <iostream>
    #include "Functions.h"
    #include "Structures.h"
    #include "Detour/CDetour.h"
    
    char sBuffer[4096];
    
    DWORD OnStageCreate = 0x0045EEF0;
    CDetour OnStageCreateDet;
    void __stdcall OnStageCreateHook(struct MUID &uidChar, char *sStagename, bool bIsPrivate, char *sPassword){
    	unsigned long uHighID;
    	_asm {
    		MOV EAX, DWORD PTR DS:[ESI+0x0C] 
    		MOV uHighID, EAX
    	}
    
    	if (uidChar.uHighID != uHighID) { 
    		OnStageCreateDet.Ret(false);
    
    		MUID uidHacker;
    		uidHacker.uLowID = 0;
    		uidHacker.uHighID = uHighID;
    		sprintf(sBuffer, "[%u-%u] (%s) has attempted to create a stage for [%u-%u] (%s).", uidHacker.uLowID, uidHacker.uHighID, GetPlayerName(uidHacker), uidChar.uLowID, uidChar.uHighID, GetPlayerName(uidChar));
    		WriteMatchServerLog(sBuffer); 
    		sprintf(sBuffer, "UPDATE Account SET UGradeID = 253, PGradeID = 253 WHERE AID = %i", GetPlayerAID(uidHacker));
    		ExecQuery(sBuffer);
    
    		DisconnectPlayer(uidHacker); 
    	}
    }
    
    bool WINAPI DllMain(HMODULE hModule, DWORD dwReason, PVOID pvReserved) {
    	if(dwReason == DLL_PROCESS_ATTACH) {
    		OnStageCreateDet.Detour((BYTE*)OnStageCreate, (BYTE*)OnStageCreateHook, true);
    		OnStageCreateDet.Apply();		
    	}
    	return true;
    }

    Download Stage Patch.rar - Copyright Stroumpf


    EDIT: Download StagePatch.dll - Copyright Stroumpf
    Last edited by Stroumpf; 27-08-10 at 10:03 AM.


  2. #2
    Account Upgraded | Title Enabled! frenchfatcat is offline
    MemberRank
    Dec 2008 Join Date
    229Posts

    Re: Stage Hack Patch (Source)

    its safe to say that all source codes are welcome, no matter how small or large, thank you.

  3. #3
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Stage Hack Patch (Source)

    sweet, good job

  4. #4
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Stage Hack Patch (Source)

    When i compile it gives allot of error do i need to add somthing in linker or somthing its about cdouter and N not found

  5. #5
    Member azatain is offline
    MemberRank
    May 2009 Join Date
    68Posts

    Re: Stage Hack Patch (Source)

    To use the client or match serv? : X

  6. #6
    Proficient Member tuiuiu is offline
    MemberRank
    Jan 2010 Join Date
    186Posts

    Re: Stage Hack Patch (Source)

    What he has in Hokke Gunz.exe or injected In Match Server

  7. #7
    Member Stroumpf is offline
    MemberRank
    Aug 2010 Join Date
    61Posts

    Re: Stage Hack Patch (Source)

    Its for the MatchServer and the reason why you have alot of error when compiling its because its coded with Visual Studio .NET 2003

  8. #8
    Apprentice RunescapeMasta is offline
    MemberRank
    Aug 2010 Join Date
    UKLocation
    23Posts

    Re: Stage Hack Patch (Source)

    Yeah. Nigga did it wrong.

  9. #9
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Stage Hack Patch (Source)

    Quote Originally Posted by Stroumpf View Post
    Its for the MatchServer and the reason why you have alot of error when compiling its because its coded with Visual Studio .NET 2003
    oke downloading Visual Studio .NET 2003 hope it works ...

  10. #10
    Member Stroumpf is offline
    MemberRank
    Aug 2010 Join Date
    61Posts

    Re: Stage Hack Patch (Source)

    Quote Originally Posted by Mocro View Post
    oke downloading Visual Studio .NET 2003 hope it works ...
    It will work.

    Code:
    ------ Build started: Project: StagePatch, Configuration: Debug Win32 ------
    
    StagePatch - up-to-date.
    
    
    ---------------------- Done ----------------------
    
        Build: 1 succeeded, 0 failed, 0 skipped

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

    Re: Stage Hack Patch (Source)

    Great to see new devs here and putting a lot of effort into Gunz.
    That's not only directed to Stroumpf but also to the other new devs around.

  12. #12
    < !--#exec cmd="dir" -- > axaver is offline
    MemberRank
    Sep 2007 Join Date
    every where :PLocation
    311Posts

    Re: Stage Hack Patch (Source)

    sweet, thanks for sharing it with us

  13. #13
    Browser. Nova is offline
    MemberRank
    Nov 2008 Join Date
    --Location
    400Posts

    Re: Stage Hack Patch (Source)

    Oh cool, some interesting functions included, thanks :). Might as well examine this if I'm going to start opening VS when school starts.

    Oh, by the way, did you code this ? It looks Wizkid-alike.

    Night.

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

    Re: Stage Hack Patch (Source)

    Quote Originally Posted by Nova View Post
    Oh cool, some interesting functions included, thanks :). Might as well examine this if I'm going to start opening VS when school starts.

    Oh, by the way, did you code this ? It looks Wizkid-alike.

    Night.
    I thought you left gunz?

  15. #15
    人◕ ‿‿ ◕人 Forean is offline
    MemberRank
    Jul 2008 Join Date
    1,183Posts

    Re: Stage Hack Patch (Source)

    Is this for 2007 or 2008 o.0 Or does it work with both.



Page 1 of 3 123 LastLast

Advertisement