Hi! I want to parse packet in login screen. Does anyone know the offset to hook?
Thanks :D
Thanks :D
Hello,Quote:
Hi! I want to parse packet in login screen. Does anyone know the offset to hook?
Thanks :D
0085fc60 CPSCharacterSelect::OnNetMsg
00863ad0 CPSQuickStart::OnNetMsg
0086bfc0 CPSTitle::OnNetMsg
0046fd80 CObjChild::OnNetMsg
0084cab0 CPSMission::OnNetMsg
0084df10 CPSCharacterCreateChina::OnNetMsg
00851a80 CPSCharacterCreateEurope::OnNetMsg
008645e0 CPSRestart::OnNetMsg
0086d2a0 CPSVersionCheck::OnNetMsg
Thank's you!Quote:
Hello,
this 0086d2a0 & 0086bfc0
Special thanks to: florian0 :rolleyes:PHP Code:0085fc60 CPSCharacterSelect::OnNetMsg
00863ad0 CPSQuickStart::OnNetMsg
0086bfc0 CPSTitle::OnNetMsg
0046fd80 CObjChild::OnNetMsg
0084cab0 CPSMission::OnNetMsg
0084df10 CPSCharacterCreateChina::OnNetMsg
00851a80 CPSCharacterCreateEurope::OnNetMsg
008645e0 CPSRestart::OnNetMsg
0086d2a0 CPSVersionCheck::OnNetMsg
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
{
replaceAddr(0x00DD440C, addr_from_this(&CPSMission::OnPacketRecv));
DisableThreadLibraryCalls(hInstance);
}
break;
}
return TRUE;
}
int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer)
{
return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
}
Quote:
Thank's you!
But bro! Can you explain more?
2 offsets need to replace. idk :D
Code:BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: { replaceAddr(0x00DD440C, addr_from_this(&CPSMission::OnPacketRecv)); DisableThreadLibraryCalls(hInstance); } break; } return TRUE; }Code:int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer) { return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer); }
replaceAddr(0x00dd92d4, addr_from_this(&CPSTitle::OnPacketRecv));
return reinterpret_cast<int(__thiscall*)(CPSTitle*, MsgStreamBuffer*)>(0x0086bfc0)(this, MsgBuffer);
What you meanQuote:
@[Only registered and activated users can see links. Click Here To Register...] Bro! How to handle the outgoing packets? (Client -> Server)