-
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.
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
ForeanXz
Is this for 2007 or 2008 o.0 Or does it work with both.
It work for 2007
Need to be tested on 2008
-
Re: Stage Hack Patch (Source)
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
iCream
Is this for 08?
Quote:
Originally Posted by
Stroumpf
It work for 2007
Need to be tested on 2008
see it?
-
Re: Stage Hack Patch (Source)
What is a stage hack exactly >< sorry never got into it?, what does it do?
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
thajj
What is a stage hack exactly >< sorry never got into it?, what does it do?
Isn't stage hack that there will appear alot rooms all with the same title?
-
Re: Stage Hack Patch (Source)
Lol, so your saying i create 1 room then its getting created like 8 times or so???
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
thajj
Lol, so your saying i create 1 room then its getting created like 8 times or so???
I think so.
-
Re: Stage Hack Patch (Source)
Ok, well ill go check it out maybe, then we'll see :D unless someone posts a clearer answer :P
-
Re: Stage Hack Patch (Source)
The Stage Hack is an exploit, which allows you to create stages using another player's UID by guessing it / retrieving it from the Channel player list using a client / bot.
This makes the server think the request was legitimate, forcing the user to leave the current game, and enter the created stage. Repeated attempts will crash the client playing on the server (when stages are created too quickly by the playing client).
This floods and disrupts the normal use of the server, eventually crashing it (when it is unable to handle too many player requests simultaneously).
-
Re: Stage Hack Patch (Source)
Thanks for posting my sourcecode that was leaked by a French faggot. Nonetheless, you are missing the biggest header file (functions.h).
~Wizkid
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
AnimaPower9
Thanks for posting my sourcecode that was leaked by a French faggot. Nonetheless, you are missing the biggest header file (functions.h).
~Wizkid
Hey, what happened to your account? O_o.
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
phoenix_147
Hey, what happened to your account? O_o.
Forgot my password, didn't get my recovery e-mail so I asked a friend to log in.
~Wizkid
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
AnimaPower9
Forgot my password, didn't get my recovery e-mail so I asked a friend to log in.
~Wizkid
You fail ? :love:
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
Stroumpf
You fail ? :love:
Not really, no. It's probably the only sentence in English you could remember back from watching SpongeBob yesterday?
~Wizkid
-
Re: Stage Hack Patch (Source)
Sup Peter?
Code:
if (pCommand->m_pCommandDesc->m_nCommandId == 0x515)
{
MUID uidPlayer;
char szStage[256];
bool isPrivate;
char szPassword[64];
pCommand->GetParameter(&uidPlayer, 0, MPT_MUID, -1);
if (uidPlayer.uidHigh != pCommand->m_uidSender.uidHigh)
{
instance->DisconnectObject(&uidPlayer);
return false;
}
if (!pCommand->GetParameter(szStage, 1, MPT_STRING, 256) ||
!pCommand->GetParameter(&isPrivate, 2, MPT_BOOL, -1) ||
!pCommand->GetParameter(szPassword, 3, MPT_STRING, 64))
{
return false;
}
instance->OnStageCreate(&uidPlayer, szStage, isPrivate, szPassword);
return true;
}
^Easier patch.
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
ThePhailure772
Sup Peter?
The usual. Drunk but fine.
Quote:
Originally Posted by
ThePhailure772
Code:
if (pCommand->m_pCommandDesc->m_nCommandId == 0x515)
{
MUID uidPlayer;
char szStage[256];
bool isPrivate;
char szPassword[64];
pCommand->GetParameter(&uidPlayer, 0, MPT_MUID, -1);
if (uidPlayer.uidHigh != pCommand->m_uidSender.uidHigh)
{
instance->DisconnectObject(&uidPlayer);
return false;
}
if (!pCommand->GetParameter(szStage, 1, MPT_STRING, 256) ||
!pCommand->GetParameter(&isPrivate, 2, MPT_BOOL, -1) ||
!pCommand->GetParameter(szPassword, 3, MPT_STRING, 64))
{
return false;
}
instance->OnStageCreate(&uidPlayer, szStage, isPrivate, szPassword);
return true;
}
^Easier patch.
No, it requires the MCommand class to be reversed and the MCommand::OnCommand function to be hooked while mine relies on MMatchServer::OnStageCreate only. :rolleyes:
~Wizkid
-
Re: Stage Hack Patch (Source)
Wich means what is better???? Jacobs one or Peters one ??P:P
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
AnimaPower9
The usual. Drunk but fine.
Sounds like fun xd
Quote:
Originally Posted by
AnimaPower9
No, it requires the MCommand class to be reversed and the MCommand::OnCommand function to be hooked while mine relies on MMatchServer::OnStageCreate only. :rolleyes:
~Wizkid
Lol, I already posted MCommand: http://forum.ragezone.com/f245/using...d-07-a-694379/
-
Re: Stage Hack Patch (Source)
Quote:
Originally Posted by
ThePhailure772
It still isn't more easy as it's more lines of code :P:
~Wizkid
-
Re: Stage Hack Patch (Source)
-
Re: Stage Hack Patch (Source)
Wow thanks man, nice post. :D woot.