(Pumbaaa)
So, today i will show you how to fix Infiltration.
(MsgHdr.h)
Add in front of this :
Code:
#define SNAPSHOTTYPE_CHAT (WORD)0x0001
this :
Code:
#define PACKETTYPE_INFILTRATION (DWORD)0xde4d833f
(DPSrvr.cpp, WS)
after BEGIN_MSG add this:
Code:
ON_MSG( PACKETTYPE_INFILTRATION, OnInfiltration );
at the end of the file:
Code:
void CDPSrvr::OnInfiltration( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
CUser *pUser = g_UserMng.GetUser( dpidCache, dpidUser );
if( IsValidObj( pUser ) )
{
g_UserMng.RemoveUser( pUser->m_dwSerial );
}
}
(DPSrvr.h,, WS)
Under
Code:
#ifdef __GUILD_HOUSE_MIDDLE
void OnGuildHouseTenderMainWnd( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long );
void OnGuildHouseTenderInfoWnd( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long );
void OnGuildHouseTenderJoin( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long );
#endif // __GUILD_HOUSE_MIDDLE
add this:
Code:
void OnInfiltration( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
Explanation:
Toms infiltration sends a packet looped to the Server, wich the Server dont know, Toms Antihack knows the packet.
So its blocking the hack.
I have tested it several times, with Infiltration on the client is sending the Packet, with Infiltration off, not.
If a new Version of Infiltration will be released, i will give you the new packet.