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 › Battlefield Hacks & Cheats › Battlefield 3 (BF3) Hacks & Cheats › BF3 source codes( Made by LittleToad)

Red faceBF3 source codes( Made by LittleToad)

Posts 1–15 of 17 · Page 1 of 2
MO
monster255
BF3 source codes( Made by LittleToad)
(It's my first post and I hope it apllies to every rule if not then please notify me ill delete this post or everything in it.)

So, because LittleToad lost all his BF3 accounts(2), He decided to release all his stuff he made.
Everything is working and up to date (if you have the right offsets)

NoRecoil
Code:
Code:
fb::WeaponSway* pWps = pMySoldier->getWeaponSway();
if (!POINTERCHK(pWps)) return;
pWps->m_currentRecoilDeviation.m_pitch = 0.0f;
pWps->m_currentRecoilDeviation.m_yaw = 0.0f;
pWps->m_currentRecoilDeviation.m_roll = 0.0f;
pWps->m_currentRecoilDeviation.m_transY = 0.0f;

pWps->m_dispersionAngle = 0.0f;
pWps->m_DeviationPitch = 0.0f;

pWps->m_currentGameplayDeviationScaleFactor = 0.00001f;
pWps->m_currentVisualDeviationScaleFactor = 0.00001f;

pWps->m_randomAngle = 0.00001f;
pWps->m_randomRadius = 0.00001f;
NoScopeSway
Code:
Code:
fb::ClientSoldierWeaponsComponent::ClientWeaponSwayCallbackImpl *pCWSCI = pMySoldier->m_soldierWeaponsComponent->m_weaponSwayCallback;
if (POINTERCHK(pCWSCI)) {
	if (pCWSCI->m_isZooming) {
		fb::SoldierAimingSimulationData *pSASD = pMySoldier->GetCSW()->m_authorativeAiming->m_data;
		if (POINTERCHK(pSASD)) {
			pSASD->m_zoomLevels.At(0)->m_swayPitchMultiplier = 0.0f;
			pSASD->m_zoomLevels.At(0)->m_swayYawMultiplier = 0.0f;
			pSASD->m_zoomLevels.At(0)->m_dispersionMultiplier = 0.0f;
			pSASD->m_zoomLevels.At(0)->m_recoilMultiplier = 0.0f;
			pSASD->m_zoomLevels.At(0)->m_recoilFovMultiplier = 0.0f;
			
			if (pMySoldier->GetCSW()->m_authorativeAiming->m_zoomLevel > 0) {
				pSASD->m_zoomLevels.At(1)->m_swayPitchMultiplier = 0.0f;
				pSASD->m_zoomLevels.At(1)->m_swayYawMultiplier = 0.0f;
				pSASD->m_zoomLevels.At(1)->m_dispersionMultiplier = 0.0f;
				pSASD->m_zoomLevels.At(1)->m_recoilMultiplier = 0.0f;
				pSASD->m_zoomLevels.At(1)->m_recoilFovMultiplier = 0.0f;
			}
			
			if (pCWSCI->m_isSupported) {
				pSASD->m_zoomLevels.At(0)->m_supportedSwayPitchMultiplier = 0.0f;
				pSASD->m_zoomLevels.At(0)->m_supportedSwayYawMultiplier = 0.0f;
				
				if (pMySoldier->GetCSW()->m_authorativeAiming->m_zoomLevel > 0) {
					pSASD->m_zoomLevels.At(1)->m_supportedSwayPitchMultiplier = 0.0f;
					pSASD->m_zoomLevels.At(1)->m_supportedSwayYawMultiplier = 0.0f;
				}
			}
		}
	}
}
NoBreath
Code:
Code:
fb::ClientSoldierEntity::BreathControlHandler* pBreath = pMySoldier->m_breathControlHandler;
if (!POINTERCHK(pBreath)) return;

pBreath->m_breathControlMultiplier = 0;
pBreath->m_breathControlTimer = 0;
pBreath->m_breathControlPenaltyTimer = 0;
pBreath->m_breathControlPenaltyMultiplier = 0;
InstantKill
Code:
Code:
fb::FiringFunctionData* pFFD = pMySoldier->getCurrentWeaponFiringData()->m_primaryFire;
if (!POINTERCHK(pFFD)) return;

fb::BulletEntityData* pBED = pFFD->m_shot.m_projectileData;
if (!POINTERCHK(pBED)) return;

pBED->m_startDamage = 9999.0f;
pBED->m_endDamage = 9999.0f;
pBED->m_damageFalloffStartDistance = 0.0001f;
pBED->m_damageFalloffEndDistance = 0.0001f;
InstantBullet
Code:
Code:
fb::FiringFunctionData* pFFD = pMySoldier->getCurrentWeaponFiringData()->m_primaryFire;
if (!POINTERCHK(pFFD)) return;

fb::BulletEntityData* pBED = pFFD->m_shot.m_projectileData;
if (!POINTERCHK(pBED)) return;

pFFD->m_shot.m_initialSpeed.z = 9999.0f;
pBED->m_instantHit = true;
pBED->m_timeToLive = 1.0f;
pBED->m_gravity = 0.0f;
Vehicle Modifications
If you want to have a above things also in a vehicle the only thing you have to do is to get the vehicle weapon
Code:
Code:
pLocalPlayer->getEntry()->m_weapons.at(pLocalPlayer->getEntry()->getActiveStance());
And now just do the things like above... Example:
VehicleNoRecoil
Code:
Code:
fb::WeaponSway* pWps = pLocalPlayer->getEntry()->m_weapons.at(pLocalPlayer->getEntry()->getActiveStance())->m_info->weaponFiring()->m_weaponSway;
if (!POINTERCHK(pWps)) return;

pWps->m_currentRecoilDeviation.m_pitch = 0.0f;
pWps->m_currentRecoilDeviation.m_yaw = 0.0f;
pWps->m_currentRecoilDeviation.m_roll = 0.0f;
pWps->m_currentRecoilDeviation.m_transY = 0.0f;

pWps->m_dispersionAngle = 0.0f;
pWps->m_DeviationPitch = 0.0f;

pWps->m_currentGameplayDeviationScaleFactor = 0.00001f;
pWps->m_currentVisualDeviationScaleFactor = 0.00001f;

pWps->m_randomAngle = 0.00001f;
pWps->m_randomRadius = 0.00001f;
MagicBullets
Add this to your player iteration (only the enemy is needed).

Code:
Code:
fb::ClientWeapon* clWeapon = localsoldier->m_soldierWeaponsComponent->m_currentAnimatedWeaponHandler->m_currentAnimatedWeapon->m_weapon;
GIVEDAMAGE = 0x00770F40;

__asm
{
	push ecx
		mov ecx, clWeapon
		push soldier
		call GIVEDAMAGE
		pop ecx
}
This also works for vehicle. Instead of saving the ClientWeapon, you save is:
Code:
fb::Weapon* weapon = pLocalPlayer->getEntry()->m_weapons.at(pLocalPlayer->getEntry()->getActiveStance())->m_info->weapon();
WeaponExchange
You got killed by a knife (or what ever), but you got shooted? So here it is

First, save your current ClientWeapon
Code:
Code:
fb::ClientWeapon* clWeapon = localsoldier->m_soldierWeaponsComponent->m_currentAnimatedWeaponHandler->m_currentAnimatedWeapon->m_weapon;
Then you have to change the modifier of your weapon (clWeapon).
Example
Code:
Code:
clWeapon->m_modifier = localsoldier->m_soldierWeaponsComponent->m_weapons.at(4)->m_weapon->m_modifier;
Now just do this
Code:
Code:
DWORD GIVEDAMAGE = 0x00770F40;

__asm
{
	push ecx
		mov ecx, clWeapon
		push soldier
		call GIVEDAMAGE
		pop ecx
}
Now you are killing everyone with supply box

Oh and if you want to spawn on your squad mates (even it's disabled), just add this on your player iteration (your team is needed)
Code:
Code:
pClientPlayer->m_isAllowedToSpawnOn = true;
Credits to: LittleToad
#1 · 12y ago
BI
biancods
how to use code source ??? plz
#2 · 12y ago
Mayion
[MPGH]Mayion
Quote Originally Posted by biancods View Post
how to use code source ??? plz
You need to learn C++, it's a programming language.
Search on Youtube or Google for tutorials.
#3 · 12y ago
BI
biancods
Ok tnx bro =)
#4 · 12y ago
awtstalamaker
awtstalamaker
if anybody can teach me how to make my dllmain and the process hook, i would be happy
#5 · 12y ago
MI
MicroPenguin
Thanks man!
#6 · 12y ago
Hack_AdminV
Hack_AdminV
thx alot, do you have wallhack source code? im trying to make a wallhack+ no recoil only hack ^^
#7 · 12y ago
KA
kari0602pl
how to use please
#8 · 11y ago
KA
kari0602pl
please help

- - - Updated - - -

how to use
#9 · 11y ago
mrguggy11
mrguggy11
SEARCH GOOGLE ON HOW TO COMPILE A C++ CODE.

- - - Updated - - -

Also, I get this Error when trying to build NoRecoil.dll
"error C2040: 'pWps' : 'int' differs in levels of indirection from 'int *'"
#10 · 11y ago
Regioner
Regioner
Is this C++ ? It seems that it is?
#11 · 11y ago
DE
Desolat0r
how do i use this sorry,
#12 · 11y ago
Qw1Kkb3an85
Qw1Kkb3an85
thanks bro
#13 · 11y ago
TH
thesauceman
does it still work and can someone teach me how to use it
#14 · 11y ago
BA
badcat1944
Thanks for the source!
#15 · 11y ago
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

  • [Release/Source Code]Some API's made EasierBy 'Bruno in C++/C Programming
    5Last post 16y ago
  • HALO 2 (XBOX) Source CodeBy mirelesmichael in General Game Hacking
    12Last post 20y ago
  • [Release] WarHax DLL Source CodeBy OneWhoSighs in WarRock - International Hacks
    20Last post 18y ago
  • keylogger source codeBy obsedianpk in WarRock - International Hacks
    8Last post 18y ago
  • Stamina Hack and source code ?By Teh Sasuke in C++/C Programming
    0Last post 18y ago

Tags for this Thread

#bf3#bf3 code#bf3 hack#bf3 sourcecode#littletoad#norecoil