Results 1 to 8 of 8
  1. #1
    yonk2's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1

    How to get clients IP address in 1.4.382 (tekno)

    Hello, well because i made some 'terrible' mistake to put extenral URL i had the post removed, so the question is simple, how to get client ip address in teknomw3 1.4.382, or if anyone know the mem offsets for that.
    Thanks.

  2. The Following User Says Thank You to yonk2 For This Useful Post:

    zaidww (07-29-2013)

  3. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    Are you talking about Client Sided or Host Sided?

  4. #3
    Threadstarter
    New Member
    yonk2's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Kenshin13 View Post
    Are you talking about Client Sided or Host Sided?
    Host sided, the idea is to use a plugin for nukem server addon to get the IP from clients, as version compatible with teknomw3 does not have this feature. I use a plugin from another forum that get the IP from memory but when i use it in my server it returns zeroes so the only question is to know the correct memory offsets for the IP of clients in teknomw3.

    Thanks

  5. #4
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    It'd be easier to do it yourself:

    Get ~2-3 people.
    Join the server.
    Do a text search (Or byte-search) for their IPs
    Find the difference in between them
    Get the base (Player ID = 0)

    Then for each player, loop through them and multiply the difference by the client ID.

    Code:
    DWORD BaseOffset = 0x400000, Difference = 0x7FFF;
    DWORD PlayerIPOffset[ 18 ];
    
    for( int i=0; i<18; i++)
    {
       if( Player[i]->IsValid )
             PlayerIPOffset[ i ] = BaseOffset + ( i * Difference );
    }
    There, some pseudocode to help you along.

  6. #5
    Threadstarter
    New Member
    yonk2's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1
    To do the text search can i use cheatengine right? the memory offsets would be the same even if i run the server through wine? I suppose so but im not sure.

    Thanks

  7. #6
    PunisherOfCod's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    MW3/iw5mp.exe
    Posts
    187
    Reputation
    10
    Thanks
    1,251
    My Mood
    Sad
    Quote Originally Posted by yonk2 View Post
    To do the text search can i use cheatengine right? the memory offsets would be the same even if i run the server through wine? I suppose so but im not sure.

    Thanks
    Search the text in CE, but make sure to tick off the "HEX" checkbox and change the drop boxes under the text to string.

  8. #7
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    The offsets can also be stored as an integer:

    127.0.0.1-> 7F + 00 + 00 + 01

    => 7F000001 = 2130706433(In decimal)

  9. #8
    SOON.'s Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    774
    Reputation
    21
    Thanks
    114
    My Mood
    Lurking
    Exactly on the host side, you will need the offsets, i was looking for those for a while xD

Similar Threads

  1. How to get clients to run in Flash Projector?
    By m00sey in forum Realm of the Mad God Help & Requests
    Replies: 6
    Last Post: 12-29-2012, 09:53 AM
  2. How to get DIP Pointer address
    By Ryuesi in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 09-06-2012, 11:03 PM
  3. [Help] How to get Korean WarRock Address
    By WhiteLabel in forum WarRock Hack Source Code
    Replies: 9
    Last Post: 08-24-2012, 08:48 AM
  4. (TUT)how to change your IP address incase u get banned
    By (FPS)H4X0R in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 06-19-2009, 01:38 AM
  5. [help]how would i get the superjump address?
    By fable741 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-08-2007, 08:37 AM