Quote:
hello, I would like to edit my sro_client.exe in a way that when it receives a certain packet (flag dropped), it sends a pick packet, I already know both of the packets and how to send and receive them but that's via phconnector but I would like to implement them inside the sro_client since it would be a lot quicker
so what I'm basically trying to do is send packets through the sro_client directly without the need for a proxy like phconnector, any tips would be appreciated
|
Quote:
Check Singlespawn (0x3015). Since it's single and not groupspawn, you don't have to parse everything, that's really fortunate because otherwise it's very painy.
Code:
UInt32 RefObjID = p.ReadUInt32();
if (RefObjID == 23921) // if NPC_EVENT_FLAGWAR_MASTERKEY
{
UInt32 KeyUniqueID = p.ReadUInt32();
}
Then send a pickpacket with the unique id you just got. Tada done.
You can use as a DLL base, it'll provide you everything you need. (Capturing packets - sending packets)
|
Quote:
Originally Posted by MagicPoP20
hello i dont understand anything is that edit on media pk2? 
|
No it is not. You ever saw code in media.pk2? It's about to inject packets with a dll or directly from the sro_client.
#close because the answer is already there and the thread is from 2019.