Kutu_Kucing

Untitled

Jan 24th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1.  
  2. //////////////////////////////////////////////////////
  3.  
  4.  
  5. DWORD ModuleRos = (DWORD)GetModuleHandleA("ros.exe");
  6. DWORD MyEntity =*(DWORD*)(ModuleRos + 0x20E762C);
  7.  
  8.  
  9.  
  10.  
  11. ////////////////////////////////////////////////////////////////////////////////
  12. //auto entity_addy = (DWORD)(mListItem->m_pEntity ^ mListItem->m_EntityKey->Val);
  13. //auto curEntity = (CEntity*)entity_addy;<< same code
  14. //auto MyEntity = (CEntity*)MyEntity;<< same code
  15. //
  16. //same or write this
  17. //
  18. //NewEntity* curEntity = (CEntity*)entity_addy;<< same code
  19. //NewEntity* MyEntity = (CEntity*)MyEntity;<< same code
  20. ////////////////////////////////////////////////////////////////////////////////
  21.  
  22.  
  23. ////////////////////////manual Decrypted or use GetDecryptedPos///////////////////////////////////////////////////////
  24. //
  25. //DWORD Posx = curEntity->PosX ^ curEntity->CXorKeyX->XorVal;
  26. //DWORD Posy = curEntity->PosY ^ curEntity->CXorKeyY->XorVal;// the position
  27. //DWORD Posz = curEntity->PosZ ^ curEntity->CXorKeyZ->XorVal;
  28. //
  29. //
  30. //DWORD Keyx = curEntity->PosX ^ curEntity->CXorKeyX->XorVal;
  31. //DWORD Keyy = curEntity->PosY ^ curEntity->CXorKeyY->XorVal;// key
  32. //DWORD Keyz = curEntity->PosZ ^ curEntity->CXorKeyZ->XorVal;
  33. //
  34. /////////////////////////////////////////////////////
  35.  
  36.  
  37.  
  38.  
  39.  
  40. ////////////////////////To call///////////////////////////////////////////////////////
  41.  
  42. if(Tele){
  43. MyEntity->PosX = Posx;
  44. MyEntity->Posy = Posy;
  45. MyEntity->Posz = Posz;
  46.  
  47. MyEntity->CXorKeyX->XorVal= Keyx;
  48. MyEntity->CXorKeyY->XorVal= Keyy;
  49. MyEntity->CXorKeyZ->XorVal= KeyZ;
  50.  
  51.  
  52. }
  53.  
  54.  
  55. /////////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment