Results 1 to 6 of 6
  1. #1
    dheir's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Florida
    Posts
    376
    Reputation
    13
    Thanks
    228
    My Mood
    Amused

    [SOLVED] Coding help.

    I'm working on making a MW2 client kicker for host's.
    I know there are a few others that made them. I don't necessarily like how those people did there's. I am also working on learning C++ better and this is an exercise that I think is feasible for me. Now for the help part.
    I am gathering info about the clients through RPM (ReadProcessMemory).
    I have this class from External Box ESP that I'm going to use (I think atleast).
    Code:
    class MW2_ClientInfo_T
    {
    public:
    	char	Unknown1[12];
    	char	name[16]; //0x000C  
    	//__int32 team; //0x001C  
    	//__int32 team2; //0x0020  
    	char	unknown36[8]; //0x0024
    	//__int32	perk;			//0x002C
    	char	unknown48[16]; //0x0030
    	//char	BodyModel[64]; //0x0040  
    	//char	HeadModel[64]; //0x0080  
    	//char	WeaponModel[64]; //0x00C0  
    	//char	WeaponModel2[64]; //0x0100  
    	//char	WeaponExplosive[64]; //0x0140 
    	char	unknown372[552]; //0x0180
    	//__int32	pose; //0x03A8  
    	char	unknown936[96]; //0x03AC
    	//__int32	pose2; //0x040C  
    	char	unknown1028[284]; //0x0410
    };
    Obviously the code that is commented out is not of use to me. I'm trying to get the IP address of each client. Are any of the unknowns IP addy?
    If not, do you have it, and can you pass it along? Like I said I'm learning C++ and gave myself a challenge, if I'm doing something wrong here, or got the information mixed up and you know what your talking about, please set me straight. I believe you can get IP address from RPM, maybe not. I'm not good with sockets and packet analyzing so this is why I choose this approach.

    NOTE: I know this is a hack site, I know what I am saying suggests kicking those who hack. This is an exercise that I want to try to learn some programming, I also want to kick those who come in a server and rage hack, I don't care about people who wall and use aim, just assholes. So if you are going to flame me for what I would like to do, keep it to yourself, it's not wanted and not helpful. Thanks in advance to anyone with some helpful information.

  2. #2
    House's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    2,990
    Reputation
    223
    Thanks
    8,953
    My Mood
    Cynical
    coding section maybe?

  3. The Following User Says Thank You to House For This Useful Post:

    dheir (06-19-2010)

  4. #3
    dheir's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Florida
    Posts
    376
    Reputation
    13
    Thanks
    228
    My Mood
    Amused
    I looked there and did not see any sort of info that related to my IP address needs.
    I'm not a good reverser or much of one at all. I would have posted this in there, but I think that section is more or less for posting info and sharing and not support. I did however download about 10 pieces of code for different hacks to try and see if the info I needed was available. I know that the KIDEBR has IP info in it. But obviously that's closed source or at least as far as I know it is. Thanks for the response.

  5. #4
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,868
    Reputation
    1021
    Thanks
    8,868
    My Mood
    Angelic
    i saw this on another forum some time ago:
    Read player IP addresses
    One nice feature of IWNet is that everyone on a given server knows each others' IP address. Here is how to read them (offset for v1.0.180):

    PBYTE ip = *(PBYTE*)0x01086D38 + clientNum * 56 + 0x248;
    printf("client %d address %u.%u.%u.%u", clientNum, ip[0], ip[1], ip[2], ip[3]);

    Not really useful anything, but I thought I'd share it anyway...
    credits to electric eye

    pm me if you need the link

  6. The Following User Says Thank You to Archangel For This Useful Post:

    dheir (06-19-2010)

  7. #5
    dheir's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Florida
    Posts
    376
    Reputation
    13
    Thanks
    228
    My Mood
    Amused
    Very Nice thank you.

  8. #6
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,868
    Reputation
    1021
    Thanks
    8,868
    My Mood
    Angelic
    /marked as solved

Similar Threads

  1. [Solved] Code Help + Autoscope Bot
    By hunter7890 in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 06-13-2011, 03:28 PM
  2. [Help Request] GSC coding help
    By Brabomclaren in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 06-12-2011, 04:05 AM
  3. [Solved]1 hit code...help
    By BUBAAA in forum CrossFire Help
    Replies: 7
    Last Post: 04-27-2011, 06:07 PM
  4. [SOLVED]key code help
    By zeffke008 in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 11-08-2010, 09:55 AM
  5. [SOLVED] weapon code help fix =D
    By TheSaboteur in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 7
    Last Post: 09-24-2010, 04:43 PM