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 › CSS Aimbot

CSS Aimbot

Posts 1–15 of 24 · Page 1 of 2
LI
lilneo
CSS Aimbot
Hai can I haz css aimbot sauce code pleez?
...
...
...
I joke, I joke.

Okay, so I am making a css aimbot and so far I have only run into a small bump, whenever I use the engine hook to call GetAbsPosition() on my entities, the game crashes. Er well, at least when I call it rapidly. If I call it a single time it's fine, now I hope you can see where the problem is. The aimbot needs to run smoothly and quickly, and obviously if I can only check positions every little while then there's gona be a problem. So does anyone know a method of finding positions through the engine hook that wont cause a deadlock and crash the game?

Note: If you're not sure, don't post suggestions. Hell_Demon knows the answer it's just he lives on the opposite side of the world from me, and trying to talk to each other via IM is a bit of a bitch.

~lilneo
#1 · 15y ago
X-
X-Booster
Rebuild the EyePosition function , and then use it.
#2 · 15y ago
Hell_Demon
Hell_Demon
Hook HudUpdate from IBaseClientDll interface and call from there(replace the vtable pointer)
Reason you're crashing when calling it alot is due to race conditions.
#3 · 15y ago
LI
lilneo
Okay so hook hudupdate, I got that part. But how am I calling it from there? Explain a bit
~lilneo
#4 · 15y ago
Void
Void
Quote Originally Posted by lilneo View Post
Okay so hook hudupdate, I got that part. But how am I calling it from there? Explain a bit
~lilneo
When you hook the function, you're basically making it call your function instead of the real one. Inside your function, call whatever HD said to call.
#5 · 15y ago
LI
lilneo
So replace HudUpdate with my call to GetAbsOrigin?

Edit: Like the actual virtual function?

~lilneo
#6 · 15y ago
Void
Void
Quote Originally Posted by lilneo View Post
So replace HudUpdate with my call to GetAbsOrigin?

Edit: Like the actual virtual function?

~lilneo
No, from what I understand, HD is telling you to hook HudUpdate, and inside your hooked function, call GetAbsOrigin.

[php]
void HudUpdate_hook(params...)
{
GetAbsOrigin();

return HudUpdate_real(params...);
}
[/php]
#7 · 15y ago
LI
lilneo
But the problem is HudUpdate is only a virtual function... How do I actually hook it? Do I need to use detours, because I've never done anything with detours :\
~lilneo
#8 · 15y ago
Void
Void
You can either use detours or patch the table.
#9 · 15y ago
LI
lilneo
By patching the table you mean what?
~lilneo
#10 · 15y ago
Void
Void
Quote Originally Posted by lilneo View Post
By patching the table you mean what?
~lilneo
Table pointer - (DWORD*)0xDEADBEEF

[0] func 1
[1] func 2
[2] func 3
[3] HudUpdate

[php]*(0xDEADBEEF+3) = &your_func;[/php]
#11 · 15y ago
LI
lilneo
Okay but the function gets used every frame... If I patch it then it wont do what it's supposed to.
Or would my function return the original function?
~lilneo
#12 · 15y ago
Void
Void
Before patching the table, you save the address of the original function so you can call it later in your hooked function.
#13 · 15y ago
LI
lilneo
It's suddenly working! o.o
I didn't change anything, and now when I put GetAbsOrigin in a while loop no crash... Anyway, now I have an issue, the enemy position is obtainable. But in order to use my bone location finding function, I need the index of the headbone. So I use
Code:
EnemyBones->LookupBone("ValveBiped.Bip01_Head1");
Now this is completely correct, EnemyBones is casted over from my C_BaseEntity*, and I can use GetAbsOrigin with that. So all is good, except when I compile... I get a Linker Error, unresolved external D=
I took out all includes that were not mandatory and checked for double includes etc... But I just can't make it work, what the fuck? What's wrong?

Another problem I am having is testing if a Bot is dead or not, I am using IsAlive, but it's not working.

~lilneo
#14 · edited 15y ago · 15y ago
Void
Void
Make sure you aren't declaring any functions without having the body of the function. \:
#15 · 15y ago
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Similar Threads

  • My own css aimbot v.2.0.By aTTroX717 in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    12Last post 17y ago
  • eConic Applications External Material Pixel CSS Aimbot v5.1By consca in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    16Last post 14y ago
  • [Closed] Css Hack, (aimbot,Esp,boxes,autoshoot MORE!!By koolguyy in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    2Last post 15y ago
  • CSS Universal Aimbot 1.5.7By Charles Dickens in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    2Last post 15y ago
  • America's Army aimbotBy garebear in General Game Hacking
    6Last post 20y ago

Tags for this Thread

None