unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2010, 04:57 AM
disco disco is offline
Administrator
 
Join Date: Feb 2010
Posts: 271
Default CS2D Stuff

Posted by Geek4Ever.




Credits struct builder and me. didnt know where to post and this aint a first person shoot but only place i could think of.
Code:
DWORD Point = (DWORD)GetModuleHandleA("CounterStrike2D.exe");
 _Player * Player = (_Player*)(Point+ 0x21D42C);
size 0x240
Code:
class _Player;
class CPlayer;
class _Player
{
public:
    CPlayer* PT; //0000
};
class CPlayer
{
public:
                char unknown0[272];
    float pX; //0110
                char unknown1[4];
    float pY; //0118
    float *Angle; //011C
                char unknown2[8];
    __int32 curHealth; //0128
    __int32 maxHealth; //012C
    __int32 Armor; //0130
                char unknown3[52];
    __int32 hasNightVision; //0168
                char unknown4[4];
    __int32 hasBomb; //0170
                char unknown5[16];
    __int32 isKnifing; //0184
    __int32 isReloading; //0188
                char unknown6[8];
    __int32 *isPlanting; //0194
};
How to use(i belive):
Code:
int player = 0;
DWORD Point = (DWORD)GetModuleHandleA("CounterStrike2D.exe");
_Player * Player = (_Player*)(Point+ 0x21D42C);
for( unsigned int i = 0; i < 32; i++ )//the max players is 32 so we want to loop through CPlayer
         {
player  = Point + 0x21D42 + (i * 0x240);//0x240 is the size of CPlayer struct
Player = (_Player *)( player );

}
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
cs2d, stuff

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:08 PM.