Difference In Player address location between clients

This is a discussion on Difference In Player address location between clients within the Starcraft 2 Coding board part of the Starcraft 2 forum category; I just double checked my offsets against Bella's and Mr. Nukes and they they all matched except for one - ...

Results 1 to 6 of 6
  1. #1
    madBovine123 is offline Hacker


    Array
    Join Date
    Jun 2012
    Posts
    162
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    513

    Difference In Player address location between clients

    I just double checked my offsets against Bella's and Mr. Nukes and they they all matched except for one -
    The player structure base address.

    Their base address is : SC2.exe+0x35E6E00

    Whereas on my client it is: SC2.exe+0x035E7BC0

    For example player 1 current mineral count is at:
    SC2.exe+0x035E7BC0 + 0x8A0
    Player 1 Name:
    SC2.exe+0x035E7BC0 + 0xB8

    I had to re-download/install my client a couple of days ago because I changed computers...... but wtf?

    Last edited by madBovine123; 08-05-2013 at 09:36 AM.

  2. #2
    Darchrow's Avatar
    Darchrow is offline Life's good.



    Array
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    1,854
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    15
    Reputation
    1247
    Are you sure that your client version matches theirs?


  3. #3
    madBovine123 is offline Hacker


    Array
    Join Date
    Jun 2012
    Posts
    162
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    513
    It's 2.0.10.26585 and i'm currently playing on battlenet.

  4. #4
    bellaPatricia's Avatar
    bellaPatricia is offline Legend




    Array
    Join Date
    Oct 2010
    Posts
    1,401
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    14
    Reputation
    1128
    Your forgot to add the Neutral- player (which is always [at custom- games] on pos 0).

    Your address: 0x035E7BC0 - Size (0xDC0) = Our address: 0x35E6E00
    Just check the bytes that appear in front of 0x035E7BC0 (Player 1, most likely). If you don't have a lot 00 00 00... there is another player. So subtract by the size and check again!

    This is player 1 (your address):


    And this is player 0 (our address):
    Last edited by bellaPatricia; 08-05-2013 at 10:05 AM.


  5. The Following 2 Users Say Thank You to bellaPatricia For This Useful Post:


  6. #5
    madBovine123 is offline Hacker


    Array
    Join Date
    Jun 2012
    Posts
    162
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    513
    Thanks, for the explanation, learn something new ever day. That's unfortunate though, I was hoping I had found a mistake which could explain some recent user problems. But it seems I have always used player 1 address as my base - All my functions subtract 1 from the local player ID, which would make everything align.

  7. #6
    WarnerTar is offline Newbie
    Array
    Join Date
    Dec 2018
    Location
    Panama
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Difference In Player address location between clients

    hehe. Well this is a new game as starcraft was new before.Dont you think that they will make many new maps?

Similar Threads

  1. How to get more than 8 clients online at once?
    By poopington in forum Warcraft 3 Hacks, bots and tools
    Replies: 4
    Last Post: 05-24-2012, 11:07 AM
  2. [Help] Getting Player's IP Address
    By MountainDew in forum Warcraft 3 Hacks, bots and tools
    Replies: 17
    Last Post: 02-17-2012, 01:35 PM
  3. Interface Mods and PSD for Season 4 MU Clients
    By Milamber in forum Mu Game Skins
    Replies: 3
    Last Post: 09-27-2010, 11:52 AM
  4. The Difference Between Men and Women
    By gevorgkhc in forum Entertainment
    Replies: 2
    Last Post: 04-10-2008, 02:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •