I want to call these windows from filter. Do you have any ideas? Give me a suggestion
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
I have included it in sro_dev but it shows nothingQuote:
[Only registered and activated users can see links. Click Here To Register...]
ex.Quote:
I have included it in sro_dev but it shows nothing
Can you guide how to help it work. I really need it
Code:printf("> " __FUNCTION__ " ~ Got Msg 0x%04x\n", MsgBuffer>msgid()); if (MsgBuffer->msgid() == 0x1666)//packet { //READ THE BYTES HERE //AFTER READING //ADD THIS MsgBuffer->FlushRemaining(); } //CRASH !! // IF YOUR READING ORG PACKET //AFTER READING //ADD THIS MsgBuffer->m_currentReadBytes = 0;
And you need a new life .Quote:
u need to use brain.exe :rollsafe:
add it here right bro?Quote:
ex.
Code:printf("> " __FUNCTION__ " ~ Got Msg 0x%04x\n", MsgBuffer>msgid()); if (MsgBuffer->msgid() == 0x1666)//packet { //READ THE BYTES HERE //AFTER READING //ADD THIS MsgBuffer->FlushRemaining(); } //CRASH !! // IF YOUR READING ORG PACKET //AFTER READING //ADD THIS MsgBuffer->m_currentReadBytes = 0;
And you need a new life .
Quote:
add it here right bro?
[Only registered and activated users can see links. Click Here To Register...]
my discord
Thaidu0ngpr0#3327
Can bro give me some detailed instructions, actually I'm just starting to do it
int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer)
{
if(MsgBuffer->Opcode ==0x1666)
{
//you call here
}
//Returning 1 means packet is accepted & read, 0 means fail & afair client may crash if you do return 0
//Also, if you're planning to read original packets, set TotalReadBytes to 0 after you finish reading, because sro_client will re-read this stuff and if any byte were read before, it'll crash because it attempts to read over max bytes limit.
return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
}