Got Main Player how to get the other players?
Hello, I have got the main player base address from Mount And Blade Warband 1.170 and its offsets(Health, XYZ positions, Mouse XY positions). And my questions is how to get other players?
Find another players health and do the same thing you did for your local player, just do it on him
I'm not doing anything, but I have a question, what if the game has 32 players max (Counter Strike 1.6) or 64 players max (Battlefield 4), is there another way for this scenarios ?
Originally Posted by [GH]Rake
Something like a pointer with the list of players ?
I really don't know, what should I do if I want to do this on that games ?
pointerAddress+0 = pointerToPlayer1
pointerAddress+4 = pointerToPlayer2
pointerAddress+8 = pointerToPlayer3
“I don't know half of you half as well as I should like, and I like less than half of you half as well as you deserve.”
Yeah you just do that on 2-3 people and then you have to find out, is the player array an array of player objects, or is it an array of player pointers. Then you search for pointers to players or for their base addresses and if they are near each other in memory, then you have probably found the array. If it's an array of objects, you figure out the object size and add or subtract the size of the object from the base address of a player you found, if this brings you to another player, than you have the player array. If it's pointers, you just scan for the base address of a few players and if they are next to each other in memory, there it is. On x86 they will 4 bytes apart and x64 they will be 8 bytes apart
Post Thanks / Like - 2 Thanks