Solved Issue with player name.

  • CSGO recently moved logic from 'client_panorama.dll' to 'client.dll', you must update all code that uses 'client_panorama.dll' and replace it with 'client.dll' or the code will not work.
Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

SubJectioN

Newbie
Full Member
Aug 14, 2016
16
92
0
Hey guys,

I have tried to use the radar struct to get the players names but nothing prints.

C++:
#define radarBase 0x04EFCD2C
#define radarPointer 0x50
#define radarSize 0x1E8

const DWORD RadarEntity = memory->GetClient() + radarBase;
const DWORD RadarEntityPointer = RadarEntity + radarPointer;

ReadProcessMemory(memory->GetHandleProcess(), (LPCVOID*)RadarEntityPointer + (0x1E8 * (i + 1)) + 0x24, Name, 32, NULL);
Does that look good?

Thanks.

-------------------------------------------------------UPDATE----------------------------------------




I get that when printing. This is my current code.

C++:
wchar_t Name[32];
char charName[32];

ReadProcessMemory(memory->GetHandleProcess(), (LPVOID)(RadarEntityPointer + (0x1E0 * (2 + 1) + 0x24)), &Name, sizeof(wchar_t) * 32, NULL);

sprintf(charName, "%ls", Name);
		
for (int i = 0; i < 32; i++) {
	cout << charName[i];
}
 
Last edited:

Sh8dow

Newbie
Silenced
May 14, 2013
1
153
1
Hello guys,
have you solved your problem since I do have the same error?

C++:
DWORD dwRadarBase = 0x4EFDE5C;
DWORD dwRadarBasePointer = 0x54;
DWORD RadarSize = 0x1E8; /some say 0x1E0
DWORD EntityRadarbaseName = 0x24;
DWORD meth_clientBase = 0x1d210000;
int i = 5; //only in this example value, I am passing 0-31 with a for loop
wchar_t pchName[32] = { 0 };
	DWORD Radarbase = memory.Read<DWORD>(meth_clientBase + Offset.dwRadarBase);
	Radarbase = memory.Read<DWORD>(Radarbase + Offset.dwRadarBasePointer);
	ReadProcessMemory(handle, (PBYTE*)Radarbase + (Offset.RadarSize * (i + 1) + Offset.EntityRadarbaseName), &pchName, sizeof(pchName), 0);
Thank you for your help!

EDIT:
okay after debugging and checking CE i found the solution ..
for everyone else my RPM fked up my pointer
C++:
Radarbase = Radarbase + (Offset.RadarSize * (i + 1) + Offset.EntityRadarbaseName);
	ReadProcessMemory(handle, (LPCVOID)Radarbase, &pchName, sizeof(pchName), 0);
Sorry guys :/
 
Last edited:

Traxin

Escobar Tier VIP
Dank Tier Donator
Aug 3, 2015
1,041
25,378
154
Is your read buffer null terminated?
You see the name clearly in your Name variable with no junk in there?
 

SubJectioN

Newbie
Full Member
Aug 14, 2016
16
92
0
No it does not display the name. It's just full of junk. I believe the offsets are correct too. Any obvious mistakes you can see?
 

Traxin

Escobar Tier VIP
Dank Tier Donator
Aug 3, 2015
1,041
25,378
154
Obvious mistakes? I don't see any lol
Check to make sure, cause you might have to deference RadarEntityPointer and then add the offsets after.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,185
78,998
2,399
Someone plz fix this codenz, I can't stand to look at it anymore!
 

Traxin

Escobar Tier VIP
Dank Tier Donator
Aug 3, 2015
1,041
25,378
154
I'm pretty sure this is the issue...

C++:
(RadarEntityPointer + (0x1E0 * (2 + 1) + 0x24))
I don't know the game specifics though.
I assume RadarEntityPointer is the base for the player list, cool. If 0x1E0 * (i + 1) is how far each player is from each other in memory then you need to read that first.
Then you add the final offset to the result of the first RPM call and use another call to RPM to get the name.
 

Oneshot

Meme Tier VIP
Apr 4, 2015
232
190
13
HAHAHHA (2+1) HAHHAHAH WHY????? WHY not just 3?

C++:
(RadarEntityPointer + (0x1E0 * (2 + 1) + 0x24))

Okej have you followed the adress you get from this i Cheat Engine?

if you do that then you might just see whats going wrong. and cant ju just try to use cout instead of printf?
 
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.

Similar threads

Community Mods