ReadUint64 failed menu

User Tag List

Results 1 to 15 of 15
  1. #1
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ReadUint64 failed

    Hey guys, maybe you can help me.
    Im stuck with an error trying to read from WoW's memory and I have no idea why. VC# and WoW were both started as administrator and in 32-bit mode.

    Code:
    try {
        StaticClientConnection = BaseAddress + (uint)Pointers.ObjectManager.CurMgrPointer;
        CurrentTargetGUID = BaseAddress + (uint)Pointers.StaticPointers.CurrentTargetGUID;
        ClientConnection = Magic.ReadUInt(StaticClientConnection + (uint)Pointers.ObjectManager.CurMgrOffset);
        FirstObject = Magic.ReadUInt(ClientConnection + FirstObjectOffset);
    } catch (Exception ex) {
        setStatus("Exception while finding the first object");
        log("Exception while finding 'FirstObject': (BaseAddress=" + BaseAddress + ") (StaticClientConnection=" + StaticClientConnection + ") (CurrentTargetGUID=" + CurrentTargetGUID + ") (ClientConnection=" + ClientConnection + ")");
    }
    And I'm getting the exception:

    Code:
    ReadUint64 failed
    Exception while finding 'FirstObject': (BaseAddress=4194304) (StaticClientConnection=17276128) (CurrentTargetGUID=16582576) (ClientConnection=0)
    Im using WoW Version 3.3.5 Build 12340 and these are my offsets:

    Code:
            internal enum General {
                IsInGame = 0x00BD0792,
            }
    
            internal enum StaticPointers {
                CurrentTargetGUID = 0x00BD07B0,             // 3.3.5a 12340
                LocalPlayerGUID = 0x00CA1238,               // 3.3.5a 12340
            }
    
            internal enum ObjectManager {
                CurMgrPointer = 0xC79CE0,                 // 3.3.5a 12340
                CurMgrOffset = 0x2ED0,                      // 3.3.5a 12340
                NextObject = 0x3C,                          // 3.3.5a 12340
                FirstObject = 0xAC,                         // 3.3.5a 12340
                LocalGUID = 0xC0                            // 3.3.5a 12340
            }
    Any idea?
    Last edited by mskc33; 01-28-2013 at 12:19 PM.

    ReadUint64 failed
  2. #2
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you checked if your offsets are 100% right?

  3. #3
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think so. As seen in this post: http://www.ownedcore.com/forums/worl...ml#post1917706 ([WoW][3.3.5.12340] Info Dump Thread)

    Maybe it's the way I'm reading the ClientConnection. I just tested the same code on Vanilla WoW (with different offsets ofcourse) and it works fine. Has anything in this regard changed from 1.12.1 to 3.3.5a?

  4. #4
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i do not know much about that patch sry. but you could try a diffrent way to reading clientconnection and see if you get the same problem?

  5. #5
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What different way?

    // Edit: I just read since 3.3.5a I have to add the "WoW Base". What is this and how can i read it?
    Last edited by mskc33; 01-28-2013 at 11:49 AM.

  6. #6
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IntPtr baseAddress = WowProcess.MainModule.BaseAddress;

    this will add the wow base address

    edit: it may be the problem in your code
    Last edited by flowtek333; 01-28-2013 at 12:11 PM.

  7. #7
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But I'm already adding the BaseAddress to the CurMgrPointer. Anywhere else I need to add it?

  8. #8
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry i cant see the problem right now.. give me some time to look it threw

    //edit: try change the FirstObject = Magic.ReadUInt(ClientConnection + FirstObjectOffset);

    to: FirstObject = Magic.ReadUInt(Baseaddress + FirstObjectOffset);

    works?

  9. #9
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is, the ClientConnection is 0 and I don't know why. If you want, I can upload my whole project?

  10. #10
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mskc33 i do not know much about ClientConnection but you can upload it all to let people see and maybe help you with the problem you may have.

  11. #11
    CrimeTime's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    83
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is how it works with 3.3.5:

    Code:
                CurrMgr = 0x00C79CE0,
                CurrMgrEx = 0x2ED0,
                FirstObjectOffset = 0xAC,
    
                ObjectManager = Magic.ReadUInt((uint)(Magic.ReadUInt((uint)(BaseAddress + ClientOffsets.CurrMgr)) + ClientOffsets.CurrMgrEx));
                FirstObject = Magic.ReadUInt((uint)(ObjectManager + ClientOffsets.FirstObjectOffset));
    (taken from an old source)

  12. #12
    mskc33's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    28
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still doesn't work. I uploaded my code to pastebin:

    [C#] Game.cs - Pastebin.com (the ReadUint64 failed happens in line 59)
    [C#] Pointers.cs - Pastebin.com

    I think I'm missing something very obvious here ... :confused:

  13. #13
    CrimeTime's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    83
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry dude, I've opend the cataclysmn source.

    This one should now work properly:

    Code:
                StaticClientConnection = Magic.ReadUInt((uint)0x00C79CE0);
                ClientConnection = Magic.ReadUInt((uint)(StaticClientConnection + (uint)0x2ED0));
                FirstObject =  Magic.ReadUInt((uint)(ClientConnection + (uint)0xAC));

  14. #14
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by CrimeTime View Post
    Sorry dude, I've opend the cataclysmn source.

    This one should now work properly:

    Code:
                StaticClientConnection = Magic.ReadUInt((uint)0x00C79CE0);
                ClientConnection = Magic.ReadUInt((uint)(StaticClientConnection + (uint)0x2ED0));
                FirstObject =  Magic.ReadUInt((uint)(ClientConnection + (uint)0xAC));
    And what about the BaseAddress?

  15. #15
    CrimeTime's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    83
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    convice yourself, here the link of the source: Download
    Credits to jbraumann

Similar Threads

  1. Server connection failed!
    By dromeztah in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 10-08-2007, 03:38 PM
  2. How do you fix "The app failed to initialize properly(0xc0150002)"?
    By explode13 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 08-30-2007, 07:34 PM
  3. My own try,failed...
    By Mysti- in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 07-20-2007, 11:51 PM
  4. funny failed backflips
    By Sacrifice in forum Screenshot & Video Showoff
    Replies: 0
    Last Post: 07-14-2007, 12:18 PM
  5. Few model changes. please help :) , tryed self and failed
    By luddo9 in forum WoW ME Questions and Requests
    Replies: 12
    Last Post: 07-04-2007, 12:32 PM
All times are GMT -5. The time now is 12:20 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