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.