Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.75 KB | None | 0 0
  1.                 Memory mem = new Memory("WoW");
  2.                 uint netClient = gNetClient + mem.Base;
  3.                 uint basePtr = mem.Read<uint>(netClient);
  4.                 uint ofs1 = basePtr + 0x464C; // bool QueuePacketsForConnection1;
  5.                 uint ofs2 = basePtr + 0x464D; // bool QueuePacketsForConnection2;
  6.                 uint ofs3 = basePtr + 0x461C; // ServerConnection* pConnection1;
  7.                 uint ofs4 = basePtr + 0x4620; // ServerConnection* pConnection2;
  8.                 byte val1 = mem.Read<byte>(ofs1);
  9.                 uint ptr1 = mem.Read<uint>(ofs3);
  10.                 mem.Write(ofs2, val1); // QueuePacketsForConnection2 = QueuePacketsForConnection1;
  11.                 mem.Write(ofs4, ptr1); // pConnection2 = pConnection1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement