/admin_esp

Newbie Spellweaver
Joined
Sep 13, 2012
Messages
55
Reaction score
11
Zchat_cmds.cpp:

void ChatCmd_AdminEsp(const char* line, const int argc, char **const argv);

_CC_AC("admin_esp", &ChatCmd_AdminEsp, CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_esp", "");
void ChatCmd_AdminEsp(const char* line, const int argc, char **const argv)
{
char szMsg[256];

if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 0)
{
ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP = 1;
ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
sprintf(szMsg, "ESP has been enabled!");
}
else if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 1)
{
ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP = 0;
ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
sprintf(szMsg, "ESP has been disabled!");
}
ZChatOutput(szMsg);
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Zcharacter.h:

int isESP;

isESP(0),

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ZCombatInterface.cpp:

if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 1)
bDrawAllPlayerName = true;
 
i can only say OMG
Hmm i don't think so because it's a little bit useful when you have hacker in the wall you can catch him.
The question is who will use it for bad things and who will use it for good things, all depends on you.
Antway thank you.
 
Last edited:
What the ****, who are you?
How do you have some old /esp code from me? LOLOLOL.


waaaaaaaaat.

Write in memory nops all over



and you have ESP FOR ALL

Nope, CCF_Admin things in ZChatCommands

Anyway, for secure:
Code:
if (ZGetMyInfo()->IsAdminGrade()) 
{
if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 1)
bDrawAllPlayerName = true; 
}
else if(!ZGetMyInfo()->IsAdminGrade()) return;
 
Last edited:
What the ****, who are you?
How do you have some old /esp code from me? LOLOLOL.


waaaaaaaaat.



Nope, CCF_Admin things in ZChatCommands

Anyway, for secure:
Code:
if (ZGetMyInfo()->IsAdminGrade()) 
{
if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 1)
bDrawAllPlayerName = true; 
}
else if(!ZGetMyInfo()->IsAdminGrade()) return;
So you're the only coder here? It's normal to have same codes lolzz. Anyway the best thing is to code it like admin_hide
 
What the ****, who are you?
How do you have some old /esp code from me? LOLOLOL.


waaaaaaaaat.



Nope, CCF_Admin things in ZChatCommands

Anyway, for secure:
Code:
if (ZGetMyInfo()->IsAdminGrade()) 
{
if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().isESP == 1)
bDrawAllPlayerName = true; 
}
else if(!ZGetMyInfo()->IsAdminGrade()) return;

I can easily change my ugradeid for admin by writeprocessmemory :love:
 
So you're the only coder here? It's normal to have same codes lolzz. Anyway the best thing is to code it like admin_hide

It's exatly how i did it, output, everything.
Probably somebody that was copying the code when i was streaming this a long time ago.
 
It's exatly how i did it, output, everything.
Probably somebody that was copying the code when i was streaming this a long time ago.
Lol? everyone can do it by this way.
I used Thunderz idea like the damage counter
Anyway you can do this command bye alot of ways.
void ChatCmd_AdminEsp(const char* line, const int argc, char **const argv)
{
ZGetConfiguration()->GetEtc()->bESP = ((ZGetConfiguration()->GetEtc()->bESP == false) ? true : false);
if(ZGetConfiguration()->GetEtc()->bESP)
ZChatOutput("ESP has been enabled!");
else
ZChatOutput("ESP has been disabled!");
ZGetOptionInterface()->SaveInterfaceOption();
}
 
Back