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
Re: Stage Hack Patch (Source)
its safe to say that all source codes are welcome, no matter how small or large, thank you.
Re: Stage Hack Patch (Source)
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
Re: Stage Hack Patch (Source)
To use the client or match serv? : X
Re: Stage Hack Patch (Source)
What he has in Hokke Gunz.exe or injected In Match Server
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
Re: Stage Hack Patch (Source)
Yeah. Nigga did it wrong.
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
Stroumpf
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 ...
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
Mocro
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
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.
Re: Stage Hack Patch (Source)
sweet:thumbup:, thanks for sharing it with us :rolleyes:
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.
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
Nova
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?
Re: Stage Hack Patch (Source)
Is this for 2007 or 2008 o.0 Or does it work with both.