White Paper : Memory reading menu

Shout-Out

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 42
  1. #16
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't code in C# but the know z and the dynamic z must be searched in the same types

    White Paper : Memory reading
  2. #17
    localhostage's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as in they must both be searched as a float (4 byte) value? i've converted my buffer (byte[] array) into float and did sucessfully obtain the correct Z value. so next i tried to scan upwards to find the dynamic Z but to no avail. sometimes i'd find it but then tried to hit the found player base address + 0xA54C (mana) to locate the dynamic mana, but that returns 0. so i think i'm deffinately doing something wrong here when scanning for my base address.

  3. #18
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Float != 4Byte, I just discovered that searching in 4 byte will just give you a faster result (not much change but...)

    Float : -454,4466
    4Byte = 22554564

  4. #19
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dont use those "4 byte" / "2 byte" names ... its still Long ("8 byte"), Integer ("4 byte"), Short ("2 byte"), Byte / Character, float, double (float*2)..

  5. #20
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Easier to use those schlumpf, because I also could say dword etc and then nobody would understand it.

  6. #21
    localhostage's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay so i am searching by 4 byte but using the BitConverter class to convert into a float. You think if i change to converting into a Int16 this might fix it? i'm at work now and can't test the code so won't be able to do testing till i get home.

    or did i just confuse my self, i think i need to do BitConvert.ToDouble(); since double = float * 2 correct? and you said float is a 2 byte.

    *edit* i found this page Help - IBM Mac OS X Compilers which states:


    float 4 bytes
    float _Complex 8 bytes
    double 8 bytes
    double _Complex 16 bytes
    long double 8 bytes

    Code:
                int z = 0xDBBCDC;
                int start = 0x07000BF0;
                int offset = 0x2000;
    
                ProcessMemoryReader procMemReader = new ProcessMemoryReader();
                procMemReader.ReadProcess = GetProcess();
                procMemReader.OpenProcess();
    
                int bytesRead = 0;
                byte[] staticZbuff = procMemReader.ReadProcessMemory((IntPtr)z, 4, out bytesRead);
                int knownZ = BitConverter.ToInt16(staticZbuff, 0);
    
                int dynamicZ;
                do
                {
                    // read
                    byte[] playerStart = procMemReader.ReadProcessMemory((IntPtr)start, 4, out bytesRead);
                    dynamicZ = BitConverter.ToInt16(playerStart, 0);
    
                    // increment
                    start += offset;
                } while (dynamicZ != knownZ);
    
                procMemReader.CloseHandle();
    
                Console.WriteLine("found player address @ {0}", start - 0xBF0);
                Console.ReadKey();
    Last edited by localhostage; 12-07-2007 at 04:27 PM.

  7. #22
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tttommeke View Post
    Easier to use those schlumpf, because I also could say dword etc and then nobody would understand it.
    Dword is a typdef not a new data type, just use the normal names.

  8. #23
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I know it is, but I never really saw the normal names because everyone is using others. The standard types are unknown to me

  9. #24
    localhostage's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay i found the base address, silly mistakes. i've verified by pulling dynamic x,y,z but when i do base + heath or mana i get 0. are those accurate?

  10. #25
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tttommeke View Post
    Yes I know it is, but I never really saw the normal names because everyone is using others. The standard types are unknown to me
    http://msdn2.microsoft.com/en-us/library/aa383751.aspx

    There you go.

  11. #26
    Croak's Avatar Member
    Reputation
    8
    Join Date
    Dec 2007
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice read. I used to toy around in Gunbound with TSearch, it will be fun to hop back into memory editing.

  12. #27
    Wonderland's Avatar Member
    Reputation
    8
    Join Date
    Jun 2007
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very good post =) +rep

  13. #28
    Miguel9614's Avatar Member
    Reputation
    25
    Join Date
    Aug 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found this quite useful, thank you. I'd love if you made some more like it, maybe some info on the mob structs? Forgive me, I've only just started =P

  14. #29
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mig i will be posting an updated Source to the public MMOwned bot.

    I'm only going to be releasing the base because the community hasn't supported the project yet and hasn't put forth effort to contribute to it, but it will have last patches' cheap mob structs it has the player structs and is a complete base ready to be a bot.

    I'll post it after I finish my job.


  15. #30
    Miguel9614's Avatar Member
    Reputation
    25
    Join Date
    Aug 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks suicidity, sounds good. I was actually going to try and contribute to it, but VB express was giving me a stupid error when I tried to compile. But I'm looking forward to the updated source.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Memory Reading Chat, w/ help from an Add-On
    By Vector0 in forum WoW Memory Editing
    Replies: 6
    Last Post: 05-08-2008, 10:00 AM
  2. WoW Leveling Bot Memory Reading
    By Lindoz12 in forum WoW Memory Editing
    Replies: 2
    Last Post: 02-21-2008, 06:25 PM
  3. VB .Net Memory Reading Project
    By Glitchy in forum WoW Memory Editing
    Replies: 4
    Last Post: 01-22-2008, 12:37 PM
  4. [AutoIT3] WoW Cordinator (X,Y,MapID and rotation memory reading)
    By Vladinator in forum World of Warcraft Bots and Programs
    Replies: 22
    Last Post: 05-15-2007, 03:26 AM
All times are GMT -5. The time now is 08:41 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search