Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Other Semi-Popular First Person Shooter Hacks › Soldier Front Hacks › Soldier Front Codes and Snippets

Soldier Front Codes and Snippets

Posts 1–15 of 25 · Page 1 of 2
blackgamingthesecond
blackgamingthesecond
Soldier Front Codes and Snippets

Because I'm sick and tired of payhacking sites, I'll be releasing code snippets with VIP Features in it.
Good Luck payhacking sites!

No Recoil:
Code:
void NoRecoil()
{
DWORD x1 = *(PDWORD)0xE41C80;
if (x1)
{
	x1 = *(PDWORD)(x1 + 0x20);
	if (x1)
	{
		x1 = *(PDWORD)(x1 + 0x10);
		if (x1)
		{
			x1 = *(PDWORD)(x1 + 0x0);
			if (x1)
			{
				x1 = *(PDWORD)(x1 + 0x8);
				if (x1)
				{
					*(PDWORD)(x1 + 0x1B1A8) = 0;
					*(PDWORD)(x1 + 0x1B1AC) = 0;
				}
			}
		}
	}
}
}
Rapid Fire, Rapid Slash, & Infinite Ammo:
Code:
void Ammo()
{
DWORD x1 = *(PDWORD)0xE41EC4;
	if(x1)
	{
		x1 = *(PDWORD)(x1 + 0x2FFD8);
		if(x1)
		{
			if(ON)
			{
			*(PDWORD)(x1 + 0x2A0) = 1;//Knife
			*(PDWORD)(x1 + 0x130) = 59;//Ammo (59 - 29 = 30 //Your Ammo will be 30)
			*(PDWORD)(x1 + 0x2BC) = 10100;//Rapid Fire
			}
		}
	}
}

Shoot Through Walls:
Code:
void ShootWalls()
{
//will be released after a while, I'll just update :)
}
Speed Hack/Super Jump:
Code:
void Player()
{
DWORD x1 = *(PDWORD)0xE41C80;
	if(x1)
	{
		x1 = *(PDWORD)(x1 + 0x28);
		if(x1)
		{
			x1 = *(PDWORD)(x1 + 0x0);
			if(x1)
			{
				x1 = *(PDWORD)(x1 + 0x10);
				if(x1)
				{
					x1 = *(PDWORD)(x1 + 0x0);
					if(x1)
					{
						if(ON)
						{
						*(FLOAT*)(x1 + 0x1C) = 1000.0f;//Speed Hack
						*(FLOAT*)(x1 + 0x144) = 10;//S.Jump
						}
					}
				}
			}
		}
	}
}
Damage Hack:
Code:
void Damage()
{

*(double*)0xDA26C8 = 10.000000f; //Maximum, If auto on: expect lag.
//Want to add hotkey? Like if you press left mouse:
Apply ProxyCall to avoid detections
if(ProxyCall<SHORT>(&GetAsyncKeyState,1,(void*)ADR_PROXY,VK_LBUTTON))
{
*(double*)0xDA26C8 = 10.000000f; //Maximum, you can set it to 99999 if you want. 
}
}
Kill Hack: (Found this long time ago, didn't released it cause you need to be host.)
Code:
//will be released after a while, I'll just update :) and give some screenies

Weapon Unlock / Character Unlock:
Code:
void Unlock()
{
//will be released after a while, I'll just update :)
}
Boosts:
Code:
void Boost()
{
//SFNA EXP Hack
//SFNA x2, x3, x5
//SFNA SP Hack
//SFNA Double UP SP
//SFNA TeamKill (set to zero)
//SFNA Headshot (Max 119)
//SFNA Mission
//SFNA Win/Lose
}
Ping Hack (visual):
Code:
void Ping()
{
//will be released after a while, I'll just update :)
}
God Mode:
Code:
void Health()
{
//will be released after a while, I'll just update :)
}
I will add more just wait.

Detected? (Use SilverDeath's ProxyCall)
Most of the APIs are detected in SoldierFront 1.

Code:
template <typename T> __declspec(naked) T _cdecl ProxyCall(LPVOID Target, UINT NumberOfParams,LPVOID ProxyFFD5, ...)
{
	__asm mov edx, esp; // stackframe on edx - edx points now to the return adress - Target, NumberOfParams, ProxyFFD5, Params after.
	__asm push esp; // save esp
	__asm push ebp; // save ebp
	__asm push esi; // save esi

	__asm lea esi, [edx+8]; // Points to NumberOfParams
	__asm mov ecx, [esi]; // Get Number Of Params
	__asm inc ecx; // Also push ProxyFFD5

PushParams:
	__asm mov eax, [esi+ecx*4]; // Get Parameter from right to left
	__asm push eax; // and push them on the stack
	__asm loop PushParams; // Repeat until all params pushed (ecx != 0) - Stack is done after this

	__asm mov ebp, ReturnHere; // Mov Returnadress into ebp to be called by proxy
	__asm mov eax, [edx+4]; // Get Target
	__asm jmp eax; // jump to target

ReturnHere:
	__asm add esp, 4; // remove return address from Proxy
	__asm pop esi; // restore esi
	__asm pop ebp; // restore ebp
	__asm pop esp; // restore stack
	__asm retn; // return
}
How to use ProxyCall?
Code:
Find ADR_Proxy (No worries, I'll give the updated offset)
Use it like this:
For Sleep: ProxyCall<void>(&Sleep,1,(void*)ADR_PROXY,100); 
For GetAsyncKeyState: ProxyCall<SHORT>(&GetAsyncKeyState,1,(void*)ADR_PROXY,VK_INSERT)

Put this in globals:
#define ADR_PROXY 0x004B0E9C
Do your DllMain like this (to avoid detections):
Code:
DWORD WINAPI Main(LPVOID Param)
{
while(1)
{
//call your hax
Damage();
NoRecoil();
Player();
Ammo();
ShootWalls();

ProxyCall<void>(&Sleep,1,(void*)ADR_PROXY,50); 
}
return false;
}
BOOL WINAPI DllMain(HMODULE hDll,DWORD Reason,LPVOID lpReserved)
{
	if(Reason == DLL_PROCESS_ATTACH)
	{
		CloseHandle(CreateThread(0,0,Main,0,0,0));
		return TRUE;
	}
	return FALSE;
}
If you need any help, just comment here. I'll post loader codes,hooks, and other stuff.
If something's wrong with the codes, please let me know. So I can update it
Tutorial will be posted if requested!
Other features will also be posted, just comment the feature you want below!

Credits:
Code:
Gecko
Shad0w_
Zen_Barbie / Casper / Zen
Ponzi
Tutorial
UnknownPK
SilverDeath

If I forgot adding you, feel free to pm me :)
Start your own hack! Feel free to ask for help, I'll help you.
#1 · edited 10y ago · 10y ago
DR
drawde123456
can you make a tutorial?cuz Im just a beginner.
#2 · 10y ago
blackgamingthesecond
blackgamingthesecond
Quote Originally Posted by drawde123456 View Post
can you make a tutorial?cuz Im just a beginner.
I could help you Are you stuck or something? Or you just can't start coding?

If you can't start coding,
download Microsoft Visual C++. If you already downloaded Microsoft Visual C++, make a project.
How to make project?

1. Open C++
2. Press new project >> choose win32 >> Win32 Project >> Press "Okay"
3. A new window will pop up >> Press Next >> Application Type: Dll >> Additional Options: Empty Project >> Press Finish
You just started your First Project! Congratulations.
You can't understand what I just said? Click this link: http://bfy.tw/2ED3

If you know already how to make a project in C++,
We will make your own hack, how?

Here's how:
As you have finished making your own project, you will be redirected to a new window. It is where you'll be putting your codes and stuff.

1. Create your source file, right click the "Source Files" folder that you will find under your First Project. (If you can't find it, Shortcut: CTRL+SHIFT+A) >> Name.cpp, in my case I'll name it Base.cpp >> Press "Add" button

2. You will now writing your own codes, well in your case, you'll be copy&pasting codes.
For those who will try their best in writing their own code: (Full Base, all the hacks included above)
  • Include windows.h

Code:
#include <windows.h>// isn't that easy
  • We will be declaring the proxy addy, what is this for? To avoid detections. Xigncode is detecting most of the windows api.
    Code:
    #define ADR_Proxy 0x004B0E9C //SFNA, this is updated. If you want to update it on yourself, just search byte: FF D5

  • Now adding SilverDeath's proxycall function.
    Code:
    template <typename T> __declspec(naked) T _cdecl ProxyCall(LPVOID Target, UINT NumberOfParams, LPVOID ProxyFFD5, ...)
    {
    	__asm mov edx, esp; // stackframe on edx - edx points now to the return adress - Target, NumberOfParams, ProxyFFD5, Params after.
    	__asm push esp; // save esp
    	__asm push ebp; // save ebp
    	__asm push esi; // save esi
    
    	__asm lea esi, [edx + 8]; // Points to NumberOfParams
    	__asm mov ecx, [esi]; // Get Number Of Params
    	__asm inc ecx; // Also push ProxyFFD5
    
    PushParams:
    	__asm mov eax, [esi + ecx * 4]; // Get Parameter from right to left
    	__asm push eax; // and push them on the stack
    	__asm loop PushParams; // Repeat until all params pushed (ecx != 0) - Stack is done after this
    
    	__asm mov ebp, ReturnHere; // Mov Returnadress into ebp to be called by proxy
    	__asm mov eax, [edx + 4]; // Get Target
    	__asm jmp eax; // jump to target
    
    ReturnHere:
    	__asm add esp, 4; // remove return address from Proxy
    	__asm pop esi; // restore esi
    	__asm pop ebp; // restore ebp
    	__asm pop esp; // restore stack
    	__asm retn; // return
    }
  • Now adding the hacks given above:
    Code:
    void NoRecoil() //Actually this is No Spread & No Recoil.
    {
    DWORD x1 = *(PDWORD)0xE41C80; //We will be making a pointer, this address is updated in SFNA. If you want to update, PM me.
    if (x1)
    {
    	x1 = *(PDWORD)(x1 + 0x20);
    	if (x1)
    	{
    		x1 = *(PDWORD)(x1 + 0x10);
    		if (x1)
    		{
    			x1 = *(PDWORD)(x1 + 0x0);
    			if (x1)
    			{
    				x1 = *(PDWORD)(x1 + 0x8);
    				if (x1)
    				{
    					*(PDWORD)(x1 + 0x1B1A8) = 0; //Updated addy for SFNA, If you want to update PM me.
    					*(PDWORD)(x1 + 0x1B1AC) = 0; //Updated addy for SFNA, If you want to update PM me.
    				}
    			}
    		}
    	}
    }
    }
    
    void Ammo()
    {
    DWORD x1 = *(PDWORD)0xE41EC4;
    	if(x1)
    	{
    		x1 = *(PDWORD)(x1 + 0x2FFD8);
    		if(x1)
    		{
    		*(PDWORD)(x1 + 0x2A0) = 1;//Knife
    		*(PDWORD)(x1 + 0x130) = 59;//Ammo (59 - 29 = 30 //Your Ammo will be 30)
    		*(PDWORD)(x1 + 0x2BC) = 10100;//Rapid Fire
    //This addies are updated in SFNA, feel free to PM me if you encounter any problems :)
    		}
    	}
    }
    
    void Player()
    {
    DWORD x1 = *(PDWORD)0xE41C80;
    	if(x1)
    	{
    		x1 = *(PDWORD)(x1 + 0x28);
    		if(x1)
    		{
    			x1 = *(PDWORD)(x1 + 0x0);
    			if(x1)
    			{
    				x1 = *(PDWORD)(x1 + 0x10);
    				if(x1)
    				{
    					x1 = *(PDWORD)(x1 + 0x0);
    					if(x1)
    					{
    						if(ON)
    						{
    						*(FLOAT*)(x1 + 0x1C) = 1000.0f;//Speed Hack
    						*(FLOAT*)(x1 + 0x144) = 10;//S.Jump
    						}
    					}
    				}
    			}
    		}
    	}
    }
    
    void Damage()
    {
    if(ProxyCall<SHORT>(&GetAsyncKeyState,1,(void*)ADR_PROXY,VK_LBUTTON)) // ProxyCall GetAsyncKeyState to avoid detections. As you can see, GetAsyncKeyState is detected in xigncode because it is a winapi function.
    //If you press the left mouse button, your damage will increase making a OHK. One hit kill
    {
    *(double*)0xDA26C8 = 10.000000f; //Updated in SFNA, PM me if you need help finding it.
    }
    }
  • Call all your hacks in one thread, this will be your main thread.
    Code:
    DWORD WINAPI Main(LPVOID Param) //Name of your function
    {
    return false;
    }
    Make a loop, so your hack will be constantly called.
    Code:
    DWORD WINAPI Main(LPVOID Param)
    {
    while(1)
    {
    
    }
    return false;
    }
    Let your function suspend the execution of main thread as finish calling your hacks. Since it's in a loop, it will be constantly done. Specifically, this is for your game. To avoid hang. or Lag.
    Code:
    DWORD WINAPI Main(LPVOID Param)
    {
    while(1)
    {
    ProxyCall<void>(&Sleep,1,(void*)ADR_PROXY,50); //I used silverdeath's proxycall, just to make sure that there will be no detections
    }
    return false;
    }
    Call your hacks!

    Code:
    DWORD WINAPI Main(LPVOID Param)
    {
    while(1)
    {
    //call your hax
    Damage();
    NoRecoil();
    Player();
    Ammo();
    ShootWalls();
    
    ProxyCall<void>(&Sleep,1,(void*)ADR_PROXY,50); 
    }
    return false;
    }

  • Call your hack in DllMain!
    Code:
    BOOL WINAPI DllMain(HMODULE hDll, DWORD Reason, LPVOID lpReserved)
    {
    	if (Reason == DLL_PROCESS_ATTACH) //if your dll is attached
    	{
    		CloseHandle(CreateThread(0, 0, Main, 0, 0, 0));//Call Main thread then close handle
    		return TRUE;
    	}
    	return FALSE;
    }

For C&P Users: (This is only a base, add your own features)
Code:
#include <windows.h>

#define ADR_PROXY 0x004B0E9C


template <typename T> __declspec(naked) T _cdecl ProxyCall(LPVOID Target, UINT NumberOfParams, LPVOID ProxyFFD5, ...)
{
	__asm mov edx, esp; // stackframe on edx - edx points now to the return adress - Target, NumberOfParams, ProxyFFD5, Params after.
	__asm push esp; // save esp
	__asm push ebp; // save ebp
	__asm push esi; // save esi

	__asm lea esi, [edx + 8]; // Points to NumberOfParams
	__asm mov ecx, [esi]; // Get Number Of Params
	__asm inc ecx; // Also push ProxyFFD5

PushParams:
	__asm mov eax, [esi + ecx * 4]; // Get Parameter from right to left
	__asm push eax; // and push them on the stack
	__asm loop PushParams; // Repeat until all params pushed (ecx != 0) - Stack is done after this

	__asm mov ebp, ReturnHere; // Mov Returnadress into ebp to be called by proxy
	__asm mov eax, [edx + 4]; // Get Target
	__asm jmp eax; // jump to target

ReturnHere:
	__asm add esp, 4; // remove return address from Proxy
	__asm pop esi; // restore esi
	__asm pop ebp; // restore ebp
	__asm pop esp; // restore stack
	__asm retn; // return
}

DWORD WINAPI Main(LPVOID Param)
{
	while (1)
	{
		//call your hax

		ProxyCall<void>(&Sleep, 1, (void*)ADR_PROXY, 50);
	}
	return false;
}

BOOL WINAPI DllMain(HMODULE hDll, DWORD Reason, LPVOID lpReserved)
{
	if (Reason == DLL_PROCESS_ATTACH)
	{
		CloseHandle(CreateThread(0, 0, Main, 0, 0, 0));
		return TRUE;
	}
	return FALSE;
}

I wish I helped a lot! Please press thanks
#3 · edited 10y ago · 10y ago
BL
bloodmaker17
It would be nice if you could upload a video tutorial.
#4 · 10y ago
dave:))
dave:))
You. are. awesome.
Thanks for this! I'm trying to create hax for SF for awhile but I pretty much suck at reversing, also I didn't know how to make it undetected.
I will get working with this ASAP :3
#5 · 10y ago
IB
ibonkers
too awesome!
#6 · 10y ago
CF
Cfzozii
how to find offset 0x2FFD8
thankyou
#7 · 10y ago
[G
[G]emeos
Great job buddy! Thank you! I'm speechless!
#8 · 10y ago
SN
SnowPoem
Thank you for assisting us with the basics of these types of hack implementations.

I am highly interested on how to obtain the new pointers when they change. That is the key ingredient to making all this work. I tried to PM you but don't have enough posts on this forum to send e-mails to other members.

In a couple of the hack feature functions, there is an undefined "ON" variable. Is this on purpose?
#9 · 10y ago
CO
CodeLuxor
who know who to find offset
#10 · 10y ago
SH
shacosiv
BlackGaming, Kabayan, just finished putting these codes up. Im not sure how to save and get the dll though, this is the first time i've programmed. mind helping me?

I just put up all the codes there on the new added item, which I named, Base.cpp. Thats where I am right now.

And question nga pala, once we get the DLL file, we still need an undetected injector for it to work, is my understanding right?

- - - Updated - - -

Just an update, I tried pressing the Build button. And I got 5 errors, it says.
#11 · 10y ago
CF
Cfzozii
xigncode SFTH detected
#12 · 10y ago
NW
Nwakilla
Hi bro,
I was wondering if you can teach me hacking about codes/hacks etc.
I really glad I met you, so I want to make hack for these games:
GTA V, Crossfire, Skyforge, Black Ops 3, and CSGO..
But crossfire is really my first one I want to use long time ago I used Crossfire zombie hack..
It was great you could 1 hit kill zombies and lots of points I really miss that feature..
Can you teach me how I make one? with damage hack or one hit kill hack ?
If its risky I would use it only on zombies game modes without online players.
#13 · 10y ago
FU
FunningGame
Dude why don't u post the dll? It's too hard for me to do that!
#14 · 10y ago
CJ
CJAmper
How did you get this code ? and offset ?

Thankyou
#15 · 10y ago
Posts 1–15 of 25 · Page 1 of 2

Post a Reply

Similar Threads

  • Soldier front createdevice and d3d8.dll thats hookedBy chainsawdaz in Soldier Front Hacks
    10Last post 17y ago
  • Trading high level Adventure Quest Acc For Soldier Front Acc With Awp,gold ak and psgBy Pr0_0wnag3 in Trade Accounts/Keys/Items
    1Last post 13y ago
  • TUT ON HOW TO DOWNLOAD JAP Soldier Front AND SIGH UP ON THE WEBSITEBy the1fear in Soldier Front General
    13Last post 18y ago
  • soldier front and combat arms ruleBy bumrush9 in Combat Arms Hacks & Cheats
    1Last post 17y ago
  • [Buying]Soldier Front Accounts, Maplestory Accounts, and WoW AccountsBy duyxngoc94 in Trade Accounts/Keys/Items
    0Last post 17y ago

Tags for this Thread

None