CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Modern Warfare
CoD 4 noSteam (1.7.563) Internal Hack Source
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="WoodenFloorBoard" data-source="post: 1853" data-attributes="member: 25"><p>Hi guys! I decided since I released an external hack for this game, I might aswell test my skills and try and make it into internal. So far I've only got the fly hack made which works but can be buggy. I'll also update the source when I work on adding more options, etc...</p><p></p><p>[CODE]</p><p>#include <Windows.h></p><p>#include <iostream></p><p>using namespace std;</p><p></p><p>bool ammoStatus = false;</p><p></p><p>struct MyPlayer_t</p><p>{</p><p> DWORD myX = 0x13255C8;</p><p> DWORD myY = 0x13255CC;</p><p> DWORD myZ = 0x13255C4;</p><p> DWORD myFOV = 0xCBAF114;</p><p> DWORD primaryAmmo = 0x1325940;</p><p> DWORD secondaryAmmo = 0x13259BC;</p><p>}Self;</p><p></p><p>DWORD ayylmao()</p><p>{</p><p> *(float*)Self.myFOV = 90.0f; //Promod. CoD 4 only allowed upto 80 for max F.O.V :(</p><p></p><p> while (true)</p><p> {</p><p> *(DWORD*)Self.primaryAmmo = 6969; //Unlimited Primary</p><p> *(DWORD*)Self.secondaryAmmo = 6969; //Unlimited Secondary</p><p></p><p> if (GetAsyncKeyState(VK_SPACE))</p><p> {</p><p> float newY = *(float*)Self.myY += 0.001;</p><p> *(float*)Self.myY = newY;</p><p> }</p><p> }</p><p>}</p><p></p><p>BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)</p><p>{</p><p> switch (dwReason)</p><p> {</p><p> case DLL_PROCESS_ATTACH:</p><p> CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ayylmao, 0, 0, 0);</p><p> MessageBoxA(NULL, "Hold [SPACE] to Fly.", "AYYLMAO", MB_OK);</p><p> }</p><p> return TRUE;</p><p>}</p><p>[/CODE]</p><p></p><p><u><em><strong>NOTE:</strong></em></u> I've updated the source with some minor changes. Added a player struct for neatness. I also do realize the Unlimited Ammo is only working for one gun and I'm too lazy to find the ammo addresses of all the weapons.</p><p></p><p>I'll also accept suggestions to help aid/improve my hacks/mods! <img src="/styles/default/xenforo/smilies.emoji/people/slight_smile.emoji.svg" class="smilie" loading="lazy" alt=":smile:" title="Smile :smile:" data-shortname=":smile:" /> Hope y'all enjoy!</p></blockquote><p></p>
[QUOTE="WoodenFloorBoard, post: 1853, member: 25"] Hi guys! I decided since I released an external hack for this game, I might aswell test my skills and try and make it into internal. So far I've only got the fly hack made which works but can be buggy. I'll also update the source when I work on adding more options, etc... [CODE] #include <Windows.h> #include <iostream> using namespace std; bool ammoStatus = false; struct MyPlayer_t { DWORD myX = 0x13255C8; DWORD myY = 0x13255CC; DWORD myZ = 0x13255C4; DWORD myFOV = 0xCBAF114; DWORD primaryAmmo = 0x1325940; DWORD secondaryAmmo = 0x13259BC; }Self; DWORD ayylmao() { *(float*)Self.myFOV = 90.0f; //Promod. CoD 4 only allowed upto 80 for max F.O.V :( while (true) { *(DWORD*)Self.primaryAmmo = 6969; //Unlimited Primary *(DWORD*)Self.secondaryAmmo = 6969; //Unlimited Secondary if (GetAsyncKeyState(VK_SPACE)) { float newY = *(float*)Self.myY += 0.001; *(float*)Self.myY = newY; } } } BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ayylmao, 0, 0, 0); MessageBoxA(NULL, "Hold [SPACE] to Fly.", "AYYLMAO", MB_OK); } return TRUE; } [/CODE] [U][I][B]NOTE:[/B][/I][/U] I've updated the source with some minor changes. Added a player struct for neatness. I also do realize the Unlimited Ammo is only working for one gun and I'm too lazy to find the ammo addresses of all the weapons. I'll also accept suggestions to help aid/improve my hacks/mods! :smile: Hope y'all enjoy! [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Modern Warfare
CoD 4 noSteam (1.7.563) Internal Hack Source
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top