Results 1 to 7 of 7
  1. #1
    T.Vader's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1

    Thumbs up Check Player team in game

    Hey guys , im just need one small help . Can someone give me the hint , how to check player team ? or simply give me the values of teams and i will find them . Thx and sry for my great English

  2. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    C++
    Code:
    typedef struct { 
    	int Valid; //0x0 (0xAD69F8) 
    	char _0x0004[0x8]; //0x4 
    	char Name[16]; //0xC (0xAD6A04) 
    	int Team; //0x1C (0xAD6A14) 
    	char _0x0020[0x4]; //0x20 
    	int Rank; //0x24 (0xAD6A1C) 
    	char _0x0028[0x10]; //0x28 
    	int Perk; //0x38 (0xAD6A30)
    	char _0x003C[0x8]; //0x3C 
    	int Score; //0x44 (0xAD6A3C) 
    	char _0x0048[0x458]; //0x48 
    	int Attacking; //0x4A0 (0xAD6E98) 
    	char _0x04A4[0x4]; //0x4A4 
    	int Zooming; //0x4A8 (0xAD6EA0) 
    	char _0x04AC[0xB8]; //0x4AC 
    }Client_T; //[Addr: 0xAD69F8] [Size: 0x564]
    
    Client_T* Clients[18]; //Create 18 objects from Client_T struct
    
    //In function:
    for( int i=0; i<18; i++ ) Clients[i] = (Client_T*)((i*0x564)+0x00AD9A78); //Read memory arrays
    
    //Get Team:
    int ClientTeam = Clients[SomeClientNumberHere]->Team;
    C#:
    Code:
    public int ClientOffset = 0x00AD9A78, ClientSize = 0x564;
    
    //GetTeam
    private int ClientTeam = ReadInteger((ClientOffset + 0x1C + (ClientIndexNumber * ClientSize));

  3. #3
    T.Vader's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1
    any vb codes ? but i want to make myself , just give hints

  4. #4
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    248
    Reputation
    15
    Thanks
    696
    Here is player 1 team 0x1D0BC90

    long winded code to display colour

    Code:
     If Not name1 = "" Then
                    If gteuk.ReadInteger(p1team, 4) = 2 Then
                        Label6.ForeColor = Color.SteelBlue
                    ElseIf gteuk.ReadInteger(p1team, 4) = 1 Then
                        Label6.ForeColor = Color.Red
                    ElseIf gteuk.ReadInteger(p1team, 4) = 3 Then
                        Label6.ForeColor = Color.White
                    End If
                    Label6.Text = name1
    
                End If
    Reminds me I got to right that to be more efficient

    Forgot to mention this works on server tools only, you have to be host
    Last edited by gteuk; 06-01-2013 at 12:06 PM.

  5. #5
    T.Vader's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1
    gteuk Player1 - Player2 = ???
    what is the hex value ? 38EC ?

  6. #6
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    248
    Reputation
    15
    Thanks
    696
    Sorry you said you wanted a hint, with the first value all the others are easy you have your player one name i assume so what is the offset between player1 name and player 1 team

    It is an integer

    so

    p1team as integer =&H1D0BC90

    The offset is the same as amm et think 38ec sounds right

    FFA = 0 Red =1 Blue=2 Spectator=3

  7. #7
    T.Vader's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1
    Thank you very much

Similar Threads

  1. [Solved] Need Commands to change Players Team
    By GrafBumsula in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 1
    Last Post: 07-16-2011, 03:54 PM
  2. [Help] Need Players for my Game Mode
    By BulletReign in forum Call of Duty Black Ops Discussions
    Replies: 0
    Last Post: 06-27-2011, 09:25 PM
  3. [Help Request] How to check which websites the game accesses?
    By HoLyNeSs in forum Vindictus Help
    Replies: 8
    Last Post: 05-04-2011, 01:41 AM
  4. Kick Players From Private Games (Console)?
    By Groby234 in forum Call of Duty Black Ops Help
    Replies: 10
    Last Post: 01-23-2011, 10:08 PM
  5. [Help] New player in this game
    By kvll in forum Operation 7 General
    Replies: 5
    Last Post: 04-24-2010, 10:34 AM