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 › Programming › C++/C Programming › [ASSAULTCUBE] Hack Tutorials

[ASSAULTCUBE] Hack Tutorials

Posts 31–45 of 102 · Page 3 of 7
…
Hell_Demon
Hell_Demon
Quote Originally Posted by BooYa View Post
Nee ik heb alleen de guninfo waarden verandert, misschien komt het omdat ik ook waarden als reloadtime verandert heb. Ik zal het even testen

EDIT: Het werkt nu dus het zal hier wel aan gelegen hebben. Ik kan alleen niet meer met dat pistool schieten
De standaard waardes zitten in mijn eerste post, je kunt die ff copieren ^^
#31 · 16y ago
BO
BooYa
Code:
attackphysics(from, to);

		hits.setsizenodelete(0);
		raydamage(from, to, owner);
		attackfx(from, to, 0);

		gunwait = info.attackdelay;
		mag--;

		sendshoot(from, to);
Ik heb dit gedeelte dus verandert in je onderstaande code en zodra ik probeer te schieten crasht het spel en krijg ik een error. Ik krijg dezelfde error met het mes
#32 · edited 16y ago · 16y ago
BO
BooYa
Quote Originally Posted by Hell_Demon View Post
De standaard waardes zitten in mijn eerste post, je kunt die ff copieren ^^
Ja heb hem al aan het werken gekregen alleen pistool wil niet schieten. Had de HP van mijn speler ook verandert dus vermoed dat dat het probleem was
#33 · 16y ago
LA
lalakijilp
ik zie nu al uit naar de herfstvakantie dan heb ik tijd en kan ik er tijd aan besteden
#34 · 16y ago
Hell_Demon
Hell_Demon
Quote Originally Posted by BooYa View Post
Code:
attackphysics(from, to);

		hits.setsizenodelete(0);
		raydamage(from, to, owner);
		attackfx(from, to, 0);

		gunwait = info.attackdelay;
		mag--;

		sendshoot(from, to);
Ik heb dit gedeelte dus verandert in je onderstaande code en zodra ik probeer te schieten crasht het spel en krijg ik een error. Ik krijg dezelfde error met het mes
dat gebeurd omdat er geen vijand is, ik was te lui om checks toe te voegen ^^

if a mod could update:
Code:
float tdist=9999999.9; //max distance we want
	int target=-1; // temporary target
	vec newto; // where our new hit location is
	loopv(players)
	{
		if(players[i]==NULL) continue; //if the pointer is not NULL
		if(!isteam(player1->team, players[i]->team) && players[i] != player1 && players[i]->state == CS_ALIVE) // and the team isnt the same, its not pointing to our own player and the enemy is alive
		{
			if(from.distxy(players[i]->o)<tdist) // check if the distance is below the best distance
			{
				tdist=from.distxy(players[i]->o);// if it is save our new distance as best distance
				target=i; // assign our target
			}
		}
	}
	newto = players[target]->o; // the new hit location is our enemys location
	attackphysics(from, newto);// send the attack physics

	hits.setsizenodelete(0);
	raydamage(from, newto, owner); // apply the damage
	attackfx(from, newto, 0); // apply the effects
		
	gunwait = info.attackdelay; // apply the gun wait time
	mag--; // decrease our ammo

	sendshoot(from, newto); // send our shot over to the server
into
Code:
float tdist=9999999.9; //max distance we want
	int target=-1; // temporary target
	vec newto; // where our new hit location is
	loopv(players)
	{
		if(players[i]==NULL) continue; //if the pointer is not NULL
		if(!isteam(player1->team, players[i]->team) && players[i] != player1 && players[i]->state == CS_ALIVE) // and the team isnt the same, its not pointing to our own player and the enemy is alive
		{
			if(from.distxy(players[i]->o)<tdist) // check if the distance is below the best distance
			{
				tdist=from.distxy(players[i]->o);// if it is save our new distance as best distance
				target=i; // assign our target
			}
		}
	}
	if(target != -1)
	{
		newto = players[target]->o; // the new hit location is our enemys location
		attackphysics(from, newto);// send the attack physics

		hits.setsizenodelete(0);
		raydamage(from, newto, owner); // apply the damage
		attackfx(from, newto, 0); // apply the effects
		
		gunwait = info.attackdelay; // apply the gun wait time
		mag--; // decrease our ammo

		sendshoot(from, newto); // send our shot over to the server
	}
	else
	{
		attackphysics(from, to);// send the attack physics

		hits.setsizenodelete(0);
		raydamage(from, to, owner); // apply the damage
		attackfx(from, to, 0); // apply the effects
		
		gunwait = info.attackdelay; // apply the gun wait time
		mag--; // decrease our ammo

		sendshoot(from, to); // send our shot over to the server
	}
it would be much appreciated fixes a crash when shooting if there is no enemy
#35 · 16y ago
Matrix_NEO006
Matrix_NEO006
damnit how noob can i be it still doesnt work because i dont have VS 2008 SP1 im installing it right now it should work now
tell everyone else to get SP1 if it doesnt come with the VS 2008 + get SDK 1.1

my VS 2008 is pirated so i think thats why.
#36 · 16y ago
[J
[Jesuz]
Umm ok so i did everything you said. But what should i build? like what type of project should i open? then build?
#37 · 16y ago
BO
BooYa
Quote Originally Posted by [Jesuz] View Post
Umm ok so i did everything you said. But what should i build? like what type of project should i open? then build?
source/vcpp/cube
#38 · 16y ago
BO
BooYa
Why06 u forgot to add his flag tutorial

http://www.mpgh.net/forum/31-c-c/866...-flaghack.html
#39 · 16y ago
why06
why06
Quote Originally Posted by BooYa View Post
Why06 u forgot to add his flag tutorial

http://www.mpgh.net/forum/31-c-c/866...-flaghack.html
Oh opps! Thanks. I thought I was forgetting something...

EDIT: There we go. I think that's all of them.
#40 · edited 16y ago · 16y ago
Hell_Demon
Hell_Demon
OMG! u haxxed mah account and forced me to post into this topic that now contains all of my codens
#41 · 16y ago
Hell_Demon
Hell_Demon
Quote Originally Posted by bloodzknight View Post
yo got a question man
like wut do i do with the codes on this page
You shove them up your ass, take a dump in the toilet and hope for a hax tree to grow.
#42 · 16y ago
LE
LegendaryAbbo
Quote Originally Posted by Hell_Demon View Post
You shove them up your ass, take a dump in the toilet and hope for a hax tree to grow.
Will this work with all codes?
#43 · 16y ago
IM
imsocruel
c++
i need help with this, :S..i dont know where to start, pm me on reply in thread, or add my msn stallions39@hotmail.com thanks..
#44 · 16y ago
T7
t7ancients
I couldn't get assaultcube to compile, so then i remembered " hey, sauerbraten compiles just fine! ". I then went snifting through the sauerbraten src and found pretty much the same code. You can go into physics.cpp and change the gravity settings and the jump force or you can make it so you can walk up walls. Since sauerbraten's code is slightly different, I found the guninfo in game.cpp/.h. I'm assuming the "part" variable is the spread, but with them all set to 0 there are no changes in the game. Everything else works perfecting except spread though. The rate of fire, damage, range of weapons, etc. are all changed to crazy numbers. chainsaw snipe ftw? Anyway, thanks for this tut, you opened new doors for me.
#45 · 16y ago
Posts 31–45 of 102 · Page 3 of 7
…

Post a Reply

Similar Threads

  • [WEEKLY SHOWCASE] More [ASSAULTCUBE] Hack TutorialsBy Retoxified in C++/C Programming
    6Last post 16y ago
  • Warrock Hack - TutorialBy Dave84311 in WarRock - International Hacks
    667Last post 18y ago
  • Gunz Hack - TutorialBy Dave84311 in General Game Hacking
    12Last post 20y ago
  • Requesting: Hacking TutorialBy AthlaS in Hack Requests
    1Last post 20y ago
  • Hack Tutorial For Invicible HackBy $GHOST$ in WarRock - International Hacks
    23Last post 20y ago

Tags for this Thread

#aimbot#assaultcube#hack#hacks#recoil#remove#shoot#spread#tutorials#walls