🔒 Closed [source code] player base location 11/23/17

Status
Not open for further replies.

Maviz

(Otaku)
Good for Line ESP, Box ESP and Distance ESP.

Code:
Code:
struct GAMEINFO_CHARACTER
{
    char __spacer03[276];
    D3DXVECTOR3 RootPos;
};

class BattleSlotContext
{
public:
   GAMEINFO_CHARACTER* getGameInfo_Chara(int slot){
     return (GAMEINFO_CHARACTER*)(((DWORD)this + 0xC40) +
       (slot * 0x161C));
   }

   static BattleSlotContext* StaticClass(){
     return *(BattleSlotContext**)0xCC5A78;
   }
};

How to use it ? ( Spoonfeed )

Code:
Code:
void DrawESP(LPDIRECT3DDEVICE9 pDevice)
{
   if (BattleSlotContext::StaticClass() != nullptr)
   {
      for (int slot = 0; slot < 16; slot++)
      {         
            D3DXVECTOR3 pos = BattleSlotContext::StaticClass()->getGameInfo_Chara(slot)->RootPos;
            if (Trans3DTo2D(pDevice, &pos))
            {
                   // Draw Line, Distance, Box or Names
                   DrawGameText(pos.x, pos.y, Green, DT_CENTER, "Players");
            }
      }
   }
}

For H4cks Developer or C++ User :D

~Death Code Team :D
 
Status
Not open for further replies.

About this Thread

  • 17
    Replies
  • 1K
    Views
  • 8
    Participants
Last reply from:
Kidje

Trending Topics

Online now

Members online
690
Guests online
1,820
Total visitors
2,510

Forum statistics

Threads
2,270,631
Posts
28,935,549
Members
1,240,934
Latest member
rippttt
Back
Top