Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void EYOT()
- {
- DWORD adrMin1 = 0;
- DWORD ROS = (DWORD)GetModuleHandleA("ros.exe");
- if (opt.d3d.Chams == 1)
- {
- *(byte*)(ROS + Chamsxx) = 25;
- }
- if (opt.d3d.Chams == 2)
- {
- *(byte*)(ROS + Chamsxx) = 50;
- }
- if (opt.d3d.Chams == 3)
- {
- *(byte*)(ROS + Chamsxx) = 75;
- }
- if (opt.d3d.Chams == 4)
- {
- *(byte*)(ROS + Chamsxx) = 100;
- }
- if (opt.d3d.Chams == 5)
- {
- *(byte*)(ROS + Chamsxx) = 125;
- }
- if (opt.d3d.Chams == 6)
- {
- *(byte*)(ROS + Chamsxx) = 150;
- }
- if (opt.d3d.Chams == 7)
- {
- *(byte*)(ROS + Chamsxx) = 175;
- }
- if (opt.d3d.Chams == 8)
- {
- *(byte*)(ROS + Chamsxx) = 200;
- }
- if (opt.d3d.Chams == 9)
- {
- *(byte*)(ROS + Chamsxx) = 225;
- }
- if (opt.d3d.Chams == 10)
- {
- *(byte*)(ROS + Chamsxx) = 255;
- }
- if (opt.player.superjump > 0)
- {
- if (GetAsyncKeyState(VK_SPACE) & 1)
- {
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x9c) = 105.0f;
- }
- }
- if (opt.player.superman)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)supermanhero;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\x00\x00\xA0\x41", 4);
- }
- }
- if (!opt.player.superman)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)supermanhero;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\xCD\xCC\x4C\x3D", 4);
- }
- }
- if (opt.player.nofall)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)nofalldamage;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\xF6\xC2\x06", 3);
- }
- }
- if (!opt.player.nofall)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)nofalldamage;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\xF6\xC2\x02", 3);
- }
- }
- if (opt.player.prone)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)Prone;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\x18\xFE\x8A\x87", 4);
- }
- }
- if (!opt.player.prone)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)Prone;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\xF3\x0F\x11\x87", 4);
- }
- }
- if (opt.player.textture)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)flatflatbelat;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\x90\x90\x90\x90\x90\x90\x90\x8B\xCE", 9);
- }
- }
- if (!opt.player.textture)
- {
- if (ROS > 0)
- {
- adrMin1 = ROS + (DWORD)flatflatbelat;
- Write1((void *)(adrMin1), (void*)(PBYTE)"\x0F\x11\x85\x58\xFE\xFF\xFF\x8B\xCE", 9);
- }
- }
- if (opt.player.noground == 1)
- {
- Write1((void *)(ROS + 0xC9B932), (int*)(PBYTE)"\x44\x5F", 2);
- }
- if (opt.player.noground == 0)
- {
- Write1((void *)(ROS + 0xC9B932), (int*)(PBYTE)"\xFF\x5F", 2);
- }
- if (opt.player.paracute == 1)
- {
- if (GetAsyncKeyState(VK_F10) & 1)
- {
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x54) + 0x0) = 0.0f;
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x50) = 900.0f;
- }
- if (opt.player.paracute == 0)
- {
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x54) + 0x0) = 0.0f;
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x50) = 450.0f;
- }
- }
- if (opt.player.climb == 1)
- {
- if (GetAsyncKeyState('H') & 1)
- {
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x6C) + 0x0) = 0.0f;
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x68) = 111.0f;
- }
- if (opt.player.climb == 0)
- {
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x6C) + 0x0) = 0.0f;
- *(float*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)(ROS + physics) + 0x0) + 0x40) + 0x4) + 0x10) + 0x68) = 2.0f;
- }
- }
- if (opt.player.NoSpread == 1)
- {
- PacthHook((void *)(ROS + Norecoil), (int*)(PBYTE)"\xF2\x0F\x5E\x0D", 4);
- }
- if (opt.player.NoSpread == 0)
- {
- PacthHook((void *)(ROS + Norecoil), (int*)(PBYTE)"\xF2\x0F\x5E\x05", 4);
- }
- if (opt.player.grass)
- {
- *(PFLOAT)(ROS + NoGrass) = -243773.5938;
- }
- if (opt.player.wlkwtw)
- {
- *(PFLOAT)(ROS + addyWalkInsdWtr) = 2.031882773E-43;
- }
- if (opt.weapon.zoom == 1)
- {
- *(PFLOAT)(ROS + zoomhack) = 0.00545329228;
- }
- if (opt.weapon.zoom == 2)
- {
- *(PFLOAT)(ROS + zoomhack) = 0.004f;
- }
- if (opt.player.wlkthru)
- {
- *(PFLOAT)(ROS + addyGhostMode) = -0.89999998f;
- }
- if (opt.player.nofog)
- {
- *(PFLOAT)(ROS + fog) = -1.775704964E-30;
- }
- if (opt.player.speed == 1)
- {
- *(PFLOAT)(ROS + addySpeed) = 90.0f;
- }
- if (opt.player.speed == 2)
- {
- *(PFLOAT)(ROS + addySpeed) = 100.0f;
- }
- if (opt.player.speed == 3)
- {
- *(PFLOAT)(ROS + addySpeed) = 110.0f;
- }
- if (opt.player.speed == 4)
- {
- *(PFLOAT)(ROS + addySpeed) = 120.0f;
- }
- if (opt.player.speed == 5)
- {
- *(PFLOAT)(ROS + addySpeed) = 130.0f;
- }
- if (opt.player.speed == 6)
- {
- *(PFLOAT)(ROS + addySpeed) = 140.0f;
- }
- if (opt.player.speed == 7)
- {
- *(PFLOAT)(ROS + addySpeed) = 150.0f;
- }
- if (opt.player.spectator)
- {
- *(BYTE*)(ROS + Spectate) = 2;
- }
- //default values
- //grass default
- //foliage default
- if (!opt.player.spectator)
- {
- *(BYTE*)(ROS + Spectate) = 1;
- }
- if (!opt.player.grass)
- {
- *(PFLOAT)(ROS + NoGrass) = -3.407189846;
- }
- // remove water default
- if (!opt.player.wlkwtw)
- {
- *(PFLOAT)(ROS + addyWalkInsdWtr) = 2.017869789E-43;
- }
- // speed hack default
- if (!opt.player.speed)
- {
- *(PFLOAT)(ROS + addySpeed) = 60.0f;
- }
- //no fog default
- if (!opt.player.nofog)
- {
- *(PFLOAT)(ROS + fog) = -2.709510748E-35;
- }
- //zoom hack default
- if (!opt.weapon.zoom)
- {
- *(PFLOAT)(ROS + zoomhack) = 0.0174532924;
- }
- //wtw default
- if (!opt.player.wlkthru)
- {
- *(PFLOAT)(ROS + addyGhostMode) = -0.500f;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement