Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////////////////////////////////
- DWORD ModuleRos = (DWORD)GetModuleHandleA("ros.exe");
- DWORD MyEntity =*(DWORD*)(ModuleRos + 0x20E762C);
- ////////////////////////////////////////////////////////////////////////////////
- //auto entity_addy = (DWORD)(mListItem->m_pEntity ^ mListItem->m_EntityKey->Val);
- //auto curEntity = (CEntity*)entity_addy;<< same code
- //auto MyEntity = (CEntity*)MyEntity;<< same code
- //
- //same or write this
- //
- //NewEntity* curEntity = (CEntity*)entity_addy;<< same code
- //NewEntity* MyEntity = (CEntity*)MyEntity;<< same code
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////manual Decrypted or use GetDecryptedPos///////////////////////////////////////////////////////
- //
- //DWORD Posx = curEntity->PosX ^ curEntity->CXorKeyX->XorVal;
- //DWORD Posy = curEntity->PosY ^ curEntity->CXorKeyY->XorVal;// the position
- //DWORD Posz = curEntity->PosZ ^ curEntity->CXorKeyZ->XorVal;
- //
- //
- //DWORD Keyx = curEntity->PosX ^ curEntity->CXorKeyX->XorVal;
- //DWORD Keyy = curEntity->PosY ^ curEntity->CXorKeyY->XorVal;// key
- //DWORD Keyz = curEntity->PosZ ^ curEntity->CXorKeyZ->XorVal;
- //
- /////////////////////////////////////////////////////
- ////////////////////////To call///////////////////////////////////////////////////////
- if(Tele){
- MyEntity->PosX = Posx;
- MyEntity->Posy = Posy;
- MyEntity->Posz = Posz;
- MyEntity->CXorKeyX->XorVal= Keyx;
- MyEntity->CXorKeyY->XorVal= Keyy;
- MyEntity->CXorKeyZ->XorVal= KeyZ;
- }
- /////////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment