ClntObjMgrObjectPtr problem menu

User Tag List

Results 1 to 2 of 2
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ClntObjMgrObjectPtr problem

    Hey all,

    Im updating some VERY old code for a friend, this code was made around 4.0.1 or whatever.

    Everything needs to work for 5.4.8!

    Anyway, I am trying to call ClntObjMgrObjectPtr which as I understand it is currently used like this

    Code:
    ClntObjMgrObjectPtr (guid, guidHigh, filter)
    In my external code, I use ASM injection and I am doing this

    Code:
            "push 1",
            "push " + (uint) (GUID >> 32),
            "push " + (uint) GUID,
            "call " +  (uint) ((int) GeneralHelper.RebaseAddress(Offsets.WoWFunctions.ClntObjMgrObjectPtr)),
    in the code for my friend its injected C# I am doing this

    Code:
                ulong guidhigh = localPlayerGuid >> 32;
                var localPlayerPointer = _getObjectByGuid(localPlayerGuid, guidhigh, 1);
    localPlayerPointer is always 0! Can anyone see what I am doing wrong here? The function I am using is GetObjectByGuid = 0x39BA5B;


    EDIT:

    As l0l1dk pointed out to me on skype _getObjectByGuid now takes two uint's and not ulong!

    /Fixed
    Last edited by -Ryuk-; 08-28-2014 at 05:56 PM. Reason: typos
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    ClntObjMgrObjectPtr problem
  2. #2
    l0l1dk's Avatar Elite User

    Reputation
    499
    Join Date
    Sep 2010
    Posts
    342
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    Hey all,


    Im updating some VERY old code for a friend, this code was made around 4.0.1 or whatever.

    Everything needs to work for 5.4.8!

    Anyway, I am trying to call ClntObjMgrObjectPtr which as I understand it is currently used like this

    Code:
    ClntObjMgrObjectPtr (guid, guidHigh, filter)
    In my external code, I use ASM injection and I am doing this

    Code:
            "push 1",
            "push " + (uint) (GUID >> 32),
            "push " + uint) GUID,
            "call " +  (uint) ((int) GeneralHelper.RebaseAddress(Offsets.WoWFunctions.ClntObjMgrObjectPtr)),
    in the code for my friend its injected C# I am doing this

    Code:
                ulong guidhigh = localPlayerGuid >> 32;
                var localPlayerPointer = _getObjectByGuid(localPlayerGuid, guidhigh, 1);
    localPlayerPointer is always 0! Can anyone see what I am doing wrong here? The function I am using is GetObjectByGuid = 0x39BA5B;
    You're passing two ulongs to _getObjectByGuid. Just pass one for the GUID, and then a uint for the type filter.

Similar Threads

  1. Problem with CE.
    By Eldretch in forum World of Warcraft General
    Replies: 1
    Last Post: 08-08-2006, 06:49 PM
  2. realm list problem
    By robtuner in forum World of Warcraft General
    Replies: 2
    Last Post: 07-21-2006, 09:08 AM
  3. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
  4. wow emu problem
    By bezike in forum World of Warcraft General
    Replies: 0
    Last Post: 07-09-2006, 04:45 PM
  5. Site problems
    By Shanaar in forum Community Chat
    Replies: 10
    Last Post: 05-14-2006, 01:15 AM
All times are GMT -5. The time now is 11:17 PM. 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