OldSchoolHack

Register / Login English

BF4 Visuals

icon Thread: [Release] BF4 Visuals

Join Date: Aug 2007

Posts: 8643

User-Rating:

199 positive
33 negative
Kategorie: Battlefield 4
Entwickler: dude719 and friends

Beschreibung:
CPP Code:
  1. #define VISUALTERRAINSETTINGS 0x1424B12C0
  2. #define SSMODULE 0x1424B31F8
  3. #define WORLDRENDERSETTINGS 0x142403988
  4.  
  5. class WorldRenderSettings
  6. {
  7. public:
  8. char pad_0x000[0xAC]; // 0x00
  9. WorldViewMode m_ViewMode; //+0xac
  10. char pad[0xE4-0xB0];
  11. bool m_ShadowmapsEnable; //+0xe4
  12. char pad[0xFA-0xE5];
  13. bool m_MotionBlurEnable; //+0xfa
  14. char pad[0x103-0xFB];
  15. bool m_DrawTransparentDecal; //+0x103
  16. char pad[0x112-0x104];
  17. bool m_FinalPostEnable; //+0x112
  18. char pad[0x1];
  19. bool m_ScreenEffectEnable; //+0x114
  20. char pad[0x128-0x115];
  21. bool m_ZPassEnable; //+0x128
  22. char pad[0x135-0x129];
  23. bool m_SkyEnable; //+0x135
  24. bool m_SkyFogEnable; //+0x136
  25. bool m_SkyHeightFogEnable; //+0x137
  26. char pad[0x140-0x138];
  27. bool m_SkyEnvmapEnable; //+0x140
  28. char pad[0x145-0x141];
  29. bool m_DynamicEnvmapEnable; //+0x145
  30. char pad[0x25A-0x146];
  31. bool m_LensFlaresEnable; //+0x25a
  32. char pad[0x25E-0x25B];
  33. bool m_CloudShadowEnable; //+0x25e
  34. char pad[0x261-0x25F];
  35. bool m_EmissiveEnable; //+0x261
  36. char pad[0x266-0x262];
  37. bool m_DrawVeggies; //+0x266
  38. bool m_Gen4aEsramEnable; //+0x267
  39. bool m_SpecularLightingEnable; //+0x268
  40. bool m_SkinLightingEnable; //+0x269
  41. bool m_TranslucencyLightingEnable; //+0x26a
  42. bool m_DynamicEnvmapLightingEnable; //+0x26b
  43. char pad[0x2AF-0x26C];
  44. bool m_ViewFxEnable; //+0x2af
  45.  
  46. static WorldRenderSettings* Singleton()
  47. {
  48. return *(WorldRenderSettings**)WORLDRENDERSETTINGS;
  49. }
  50. };
  51.  
  52. class VisualTerrainSettings
  53. {
  54. public:
  55. char aDataContainer[0x143]; //+0x00 Inherited
  56. bool m_DetailOverlayEnable; //+0x143
  57.  
  58. static VisualTerrainSettings* Singleton()
  59. {
  60. return *(VisualTerrainSettings**)VISUALTERRAINSETTINGS;
  61. }
  62. };
  63.  
  64. DWORD WINAPI fcn( LPVOID lpParam)
  65. {
  66. bool hack = false;
  67. *(DWORD64**)SSMODULE = 0;
  68. while (1)
  69. {
  70. if (GetAsyncKeyState(somekey) & 1)
  71. {
  72. hack = !hack;
  73. if (hack)
  74. Beep(0x530, 200);
  75. else
  76. Beep(0x250, 200);
  77. }
  78.  
  79. WorldRenderSettings* wRS = WorldRenderSettings::Singleton();
  80. if (!POINTERCHK(wRS))
  81. continue;
  82.  
  83. VisualTerrainSettings* vTS = VisualTerrainSettings::Singleton();
  84. if (!POINTERCHK(vTS))
  85. continue;
  86.  
  87. if (hack) {
  88. vTS->m_DetailOverlayEnable = false;
  89. wRS->m_SkyEnable = false;
  90. wRS->m_SkyFogEnable = false;
  91. wRS->m_SkyHeightFogEnable = false;
  92. wRS->m_CloudShadowEnable = false;
  93. wRS->m_DynamicEnvmapEnable = false;
  94. wRS->m_ScreenEffectEnable = false;
  95. wRS->m_FinalPostEnable = false;
  96. wRS->m_SkyEnvmapEnable = false;
  97. wRS->m_LensFlaresEnable = false;
  98. wRS->m_SkinLightingEnable = false;
  99. wRS->m_TranslucencyLightingEnable = false;
  100. wRS->m_DrawTransparentDecal = false;
  101. wRS->m_SpecularLightingEnable = false;
  102. wRS->m_ShadowmapsEnable = false;
  103. wRS->m_DrawVeggies = false;
  104. }
  105. else {
  106. vTS->m_DetailOverlayEnable = true;
  107. wRS->m_SkyEnable = true;
  108. wRS->m_SkyFogEnable = true;
  109. wRS->m_SkyHeightFogEnable = true;
  110. wRS->m_CloudShadowEnable = true;
  111. wRS->m_DynamicEnvmapEnable = true;
  112. wRS->m_ScreenEffectEnable = true;
  113. wRS->m_FinalPostEnable = true;
  114. wRS->m_SkyEnvmapEnable = true;
  115. wRS->m_LensFlaresEnable = true;
  116. wRS->m_SkinLightingEnable = true;
  117. wRS->m_TranslucencyLightingEnable = true;
  118. wRS->m_DrawTransparentDecal = true;
  119. wRS->m_SpecularLightingEnable = true;
  120. wRS->m_ShadowmapsEnable = true;
  121. wRS->m_DrawVeggies = true;
  122. }
  123. }
  124. }
  125.  
  126. DWORD WINAPI DllMain(HMODULE hDll, DWORD dwReasonForCall, LPVOID lpReserved)
  127. {
  128. static HANDLE hThread = INVALID_HANDLE_VALUE;
  129. if (dwReasonForCall == DLL_PROCESS_ATTACH)
  130. {
  131. DisableThreadLibraryCalls(hDll);
  132. hThread = CreateThread(NULL, 0, fcn, NULL, 0, NULL);
  133. MessageBox(NULL, "LLLLLLLLOOOOOOOOOOOLLLLLL", ":troll:", MB_OK);
  134. return (hThread != INVALID_HANDLE_VALUE);
  135. }
  136. return 0;
  137. }

Screenshots:
https://www.oldschoolhack.me/hackdata/screenshot/thumb/18d385cda8df753bc287aea71156cac8.jpg

Download:
BF4 Visuals

__________________

Hallo