Page 7 of 7 FirstFirst ... 567
Results 91 to 102 of 102
  1. #91
    Douggem's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    53
    Reputation
    37
    Thanks
    93
    Quote Originally Posted by bLu3eYeZ View Post
    Master, could you give me a hand with reading player names? ( I'm working C++ and I can't seem to get a working function for reading ascii string... )
    Reading strings in C++ is just setting a char pointer to the first char in the string and passing that address to whatever function you use that handles strings.

  2. #92
    Flats's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    6
    My Mood
    Devilish
    This reminds me of dayz navigator and it works quite well but you need to really try because it fails a lot.

  3. #93
    Mysticaloki's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    I have really tried to understand this but, it's like greek to me, I have "played" with Cheat Engine before but how do I put all this info together? Could anyone teach me or just point me a way to go? I really want to build one of these and learn how to!

  4. #94
    Symboliq's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    420.69.1337.7010
    Posts
    1,575
    Reputation
    234
    Thanks
    318
    You think you could make this in download form? . . Lol, sorry. :/ I know, not just me does not understand / want to read this much of stuff/code/whatever. We also know you didn't make that yourself, like stated in the first few comments.
    Last edited by Rance-Llama; 07-10-2013 at 02:18 AM.

  5. #95
    sk93's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    for some reason, I can't seem to get the local player coords?
    I always seem to get 970.0 for the Y and 0.0 for the x

    yet, I can get the coords for all the other players just fine!

    here's a snippet of code I've writtent just for pulling back the local player coords.
    Could someone point out my mistake?

    Code:
            public void FindLocalPlayer()
            {            
                var localPlayerAddress = GetAddress(0xDFCDD8, 0X13A8, 0X4);
                var localCoordsBaseAddress = (localPlayerAddress + 0x18);
                var localX = mem.ReadFloat(localCoordsBaseAddress + 0x28);
                var localY = mem.ReadFloat(localCoordsBaseAddress + 0x30);
                var localZ = mem.ReadFloat(localCoordsBaseAddress + 0x2C);
                var localXDir = mem.ReadFloat(localCoordsBaseAddress + 0x1C);
                var localYDir = mem.ReadFloat(localCoordsBaseAddress + 0x24);            
            }
    
            private int GetAddress(params int[] offsets)
            {
                int address = 0;
                foreach (var offset in offsets)
                {
                    address = mem.ReadInt(address + offset);
                }
                return address;
            }

    Edit:

    Nevermind.. I was being a div!

    Here's the "right" code just incase anyone else stumbles on the same issue (unlikely):

    Code:
            public void FindLocalPlayer()
            {            
                var localPlayerAddress = GetAddress(0xDFCDD8, 0X13A8, 0X4);
                var localCoordsBaseAddress = mem.ReadInt(localPlayerAddress + 0x18);
                var localX = mem.ReadFloat(localCoordsBaseAddress + 0x28);
                var localY = mem.ReadFloat(localCoordsBaseAddress + 0x30);
                var localZ = mem.ReadFloat(localCoordsBaseAddress + 0x2C);
                var localXDir = mem.ReadFloat(localCoordsBaseAddress + 0x1C);
                var localYDir = mem.ReadFloat(localCoordsBaseAddress + 0x24);            
            }
    
            private int GetAddress(params int[] offsets)
            {
                int address = 0;
                foreach (var offset in offsets)
                {
                    address = mem.ReadInt(address + offset);
                }
                return address;
            }


    ---------- Post added at 05:39 AM ---------- Previous post was at 04:08 AM ----------

    There's a typo on this line (for finding weapon names):

    Code:
    weaponNameAddress: Player + 694] + (0x24 * weaponID + 8)] + 0x10] + 4]
    I believe it should read:

    Code:
    weaponNameAddress: Player + 0x694] + (0x24 * weaponID + 8)] + 0x10] + 4]


    ---------- Post added at 06:06 AM ---------- Previous post was at 05:39 AM ----------

    I'd also say this:

    Code:
    PlayerSkinStringAddress: player + 0x3C] + 0x30] + 0x8]
    should be this:
    Code:
    PlayerSkinStringAddress: player + 0x3C] + 0x30]
    and then you can read it like any other string:

    Code:
    PlayerSkinStringLength: PlayerSkinStringAddress + 0x4
    PlayerSkinString: PlayerSkinStringAddress + 0x8
    ps - I'm not knocking the tut btw - it's precisely what I wanted and I'm learning a shit-tonne from it so thanks for that.
    I just want to help out anyone help out anyone else who is following it and gets stuck / confused by it

    ---------- Post added at 06:36 AM ---------- Previous post was at 06:06 AM ----------

    Could I suggest this bit be cleared up a little?
    From this:
    Code:
    To get the player name, first we have to get the NameID. Things like vehicles or AI will have a NameID of 1, which means their only name is stored in their entity struct at:
    
    
    Code:
    GenericName: entity + 0xAC8].
    If their name is !=1 and >0, then we can get their name from the scoreboard
    to maybe this:

    ...To get the player name, first we have to get the NameID:
    Code:
    NameID: entity + 0xAC8]

    Things like vehicles or AI will have a NameID of 1, which means their only name is stored in their entity struct, which we can find a pointer to at this address:

    Code:
    NameStringAddress: entity + 0xA20
    which can then be read like any other string

    Code:
    NameStringLength: NameStringAddress + 0x4
    NameString: NameStringAddress + 0x8
    If their name is !=1 and >0, then we can get their name from the scoreboard...
    Last edited by sk93; 07-17-2013 at 04:48 AM.

  6. #96
    sk93's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    I think this bit in "other entities" is inaccurate also:
    Code:
    TableSize: ObjectTableAddress] + MasterOffset] + SlaveOffset + 8]
    I believe it should read:
    Code:
    TableSize: ObjectTableAddress] + MasterOffset] + SlaveOffset + 4]

  7. #97
    sk93's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    So.. finally worked through the entire tut now, and have managed to create my own working RPM radar XD
    (which is coincidentally my first "hack")

    Excellent Tut and thanks to both the OP of this thread and the one you leeched it from!

    Attached Thumbnails Attached Thumbnails
    mapper.jpg  


  8. #98
    Gorski26's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    3
    My Mood
    Cool
    If anyone can explain how to compile this in skype, I'll be willing to negotiate what you want for it.

    Skype

    Xmarkxi

  9. #99
    Keenswe's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    This...makes my head hurt :S

  10. #100
    sk93's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Gorski26 View Post
    If anyone can explain how to compile this in skype, I'll be willing to negotiate what you want for it.

    Skype

    Xmarkxi
    I can explain it for you here - for free!


    First, read the tut - all of it - at least twice
    Then, download and install Visual Studio
    Next, Write the code to look up and handle all the offsets posted
    Finally, to compile it, press F6.


  11. #101
    Douggem's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    53
    Reputation
    37
    Thanks
    93
    For the people asking for a download, I released the source and a binary and tried to release it here, but it got deleted because I didn't do all the stuff your forum requires and I don't use this forum much so I didn't bother after that. If you google ObamaDrone DayZ you'll find it.

  12. #102
    daYMAN0071's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    I was banned because this :O

Page 7 of 7 FirstFirst ... 567

Similar Threads

  1. [Help Request] How to make a DayZ Key Auto Buy?
    By `Rejected in forum DayZ Help & Requests
    Replies: 15
    Last Post: 03-28-2013, 04:20 AM
  2. [Help Request] How to I make my DayZ server a No-CD Key server?
    By Arrxzon in forum DayZ Help & Requests
    Replies: 2
    Last Post: 03-23-2013, 08:38 PM
  3. [Release] How to make a DayZ keyshop | Free package for entrepreneurs!
    By fragrantparrot in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 47
    Last Post: 01-16-2013, 11:40 AM
  4. [Help] How to make dayz series
    By karelke in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 8
    Last Post: 12-26-2012, 12:59 AM
  5. How I make wallhack?
    By RaidenDXX in forum WarRock - International Hacks
    Replies: 6
    Last Post: 01-23-2006, 01:28 PM