Author Topic: Some Classes  (Read 354 times)

0 Members and 1 Guest are viewing this topic.

Seb

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
    • Aimjunkies.com
Some Classes
« on: May 19, 2018, 05:18:50 am »
Don't know if anyone still comes on here, but it's been a while, so I'll dump some stuff from my old cheat if anyone wants to learn.
Code: [Select]
class Agent
{
public:
char pad_0x0000[0x4]; //0x0000
unsigned char Type; //0x0004
char pad_0x0005[0x3B]; //0x0005
D3DXVECTOR3 Position; //0x0040
char pad_0x004C[0x768]; //0x004C
__int32 Team; //0x07B4

}; //Size=0x0804

class GameObjectManager
{
public:
Agent* Start; //0x0000
Agent* End; //0x0004

Agent* GetAgent(int idx)
{
return (Agent*)((DWORD)Start + (idx * 0x6200));
}

DWORD NumAgents()
{
DWORD dif = reinterpret_cast<DWORD>(End) - reinterpret_cast<DWORD>(Start);
return dif / 0x6200;
}

}; //Size=0x0008

class Game
{
public:
char pad_0x0000[0x20]; //0x0000
GameObjectManager* pGameManager; //0x0020
char pad_0x0024[0xA0]; //0x0024

}; //Size=0x00C4

class cur_mission
{
public:
Game* pGame; //0x0000
}; //Size=0x0440


All you need is the projection/view matrix and you have yourself an ESP.
Current mission is not hard to find, but here's a sig anyways: A1 ? ? ? ? 8B 48 20 8B 14 31

Seb

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
    • Aimjunkies.com
Re: Some Classes
« Reply #1 on: May 20, 2018, 12:37:03 pm »

As a small update, I would suggest not creating your own thread but rather consoleing a known one which runs every frame like this one:
Code: [Select]
55 8B EC 83 E4 F0 B8 ? ? ? ? E8 ? ? ? ? 53 8B D9

Seb

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
    • Aimjunkies.com
Re: Some Classes
« Reply #2 on: May 24, 2018, 09:03:20 am »
Here's some more information and hints if you want to make your own cheat.
I found my old method of looping through entities wasn't as efficient as it could be, so instead I'm now using a function which loops through all player/npc agents which outputs a result like this: https://prnt.sc/jlvu3w
My one hint for that function is 'Tick + 0xAAC'

Here's some other cool functions.
Agent::become_dead, is called whenever an agent dies (B8 ? ? ? ? E8 ? ? ? ? 53 8B 9C 24 ? ? ? ? 8B 03)
Agent::is_enemy, I use this for team checks, don't even need to find the team number in the agent class, although it says it in the function (51 83 79 28 01 8B 51 08 53 8B 1D ? ? ? ? 55 56 8B 74 24 14 8B 46 08 57 89 44 24 10 75 6B 8B 81 ? ? ? ? 85 C0 7C 5C 3B 43 08 7D 57 8B 7B 20 8B E8 83 E5 0F 69 ED ? ? ? ? 8B C8 C1 E9 04)

StartParryAction, use this for autoblock, is called whenever you attempt a parry (83 EC 0C 53 55 56 8B F1)
And finally, Agent:register_parry, same function as above basically, also for autoblock (8B 44 24 04 83 EC 08 83 78 4C 02)

Something else: You can spoof values sent to the server with your own to fuck with it, you just need to find the actual function ;)