Solved Making a ESP for Call of Duty Black Ops II - Multiplayer

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

0101001101110111011010010

Newbie
Full Member
Oct 15, 2016
12
1,848
0
Hey i have some trouble to make an ESP for Call of Duty Black Ops II (multiplayer), someone have already make a ESP can reply to my questions ?

Question n°1

How can i find the player base, because i cant find it and i cant find things like others players health in game...

Question n°2

Which other variables i have to find for an ESP ?

Question n°3

What should i do after finding all variables ?
 
Last edited:

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,091
78,998
2,372
Humm, i can find my health if im the host (in private match) but i dont find it on multiplayer server... What's wrong ?

Edit : i find the health and the client number of the "current" player (me if i am alive, the player im watching if im dead and the player in killcam if i was killed) it is the same variable for all of this player.. it is normal ?
Perhaps there is a pointer to a player object. This pointer is called CurrentViewActor. If you're alive it points to your player object, if your dead it points to whoever your spectating etc... You just need to keep reverse engineering the game until you find the correct pointer to your player object, good luck

Also:
https://guidedhacking.com/showthread.php?8313-ESP-Overview
https://guidedhacking.com/showthread.php?8044-World2Screen-function
https://guidedhacking.com/threads/how-to-get-started-hacking-call-of-duty-games.11155/
https://guidedhacking.com/threads/iw5mp-1-4-382-multi-hack-aimbot-esp.9254/
 
Last edited:

HexMurder

Arcane Hacker
Dank Tier VIP
Dank Tier Donator
Jun 7, 2012
319
7,988
22
To be honest if you're asking all of these questions you need to learn a LOT more before doing an esp. But i will answer your questions regardless.
1. Join a bot game and find the health of your own player. (You are part of the entity list too.) Then find the base address of your player using that health address. Then find the pointer to the player base and do some searching until you find the distance between player structures.

2. Technically you could get away with writing an esp using only player positions and the viewmatrix. But you will want other variables like health to determine if they are alive or not, and team numbers so you can draw different colors for different teams.

3. Learn how a world to screen function works.
 

0101001101110111011010010

Newbie
Full Member
Oct 15, 2016
12
1,848
0
Humm, i can find my health if im the host (in private match) but i dont find it on multiplayer server... What's wrong ?

Edit : i find the health and the client number of the "current" player (me if i am alive, the player im watching if im dead and the player in killcam if i was killed) it is the same variable for all of this player.. it is normal ?
 
Last edited:

Icew0lf

Software Ninjaneer
Dank Tier VIP
Fleep Tier Donator
Aug 20, 2013
603
17,558
43
open up olly and search for text strings in ur exe file...then lookup "g_TeamColor"

these asm lines are from cod4 but this way u can lookup the entitybase in all call of duty games:
00431F60 69C9 CC040000 IMUL ECX,ECX,4CC '<<<--- Size of the ClientInfo class' -> 4CC
00431F66 05 70928300 ADD EAX,iw3mp.00839270 '<<<---ClientInfo class offset'
00431F6B 8B40 1C MOV EAX,DWORD PTR DS:[EAX+1C]
00431F6E 81C1 70928300 ADD ECX,iw3mp.00839270'<<<---ClientInfo class offset'
00431F74 83F8 03 CMP EAX,3
00431F77 57 PUSH EDI
00431F78 75 0C JNZ SHORT iw3mp.00431F86
00431F7A 68 887D6C00 PUSH iw3mp.006C7D88 ; ASCII "g_TeamColor"
00431F7F 68 A87F6C00 PUSH iw3mp.006C7FA8 ; ASCII "%s_Spectator"
get ur clientinfo offset and u can loop through all entitys
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods