Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Memory mem = new Memory("WoW");
- uint netClient = gNetClient + mem.Base;
- uint basePtr = mem.Read<uint>(netClient);
- uint ofs1 = basePtr + 0x464C; // bool QueuePacketsForConnection1;
- uint ofs2 = basePtr + 0x464D; // bool QueuePacketsForConnection2;
- uint ofs3 = basePtr + 0x461C; // ServerConnection* pConnection1;
- uint ofs4 = basePtr + 0x4620; // ServerConnection* pConnection2;
- byte val1 = mem.Read<byte>(ofs1);
- uint ptr1 = mem.Read<uint>(ofs3);
- mem.Write(ofs2, val1); // QueuePacketsForConnection2 = QueuePacketsForConnection1;
- mem.Write(ofs4, ptr1); // pConnection2 = pConnection1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement