Help with ObjectByGUID menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    TheWolph's Avatar Member
    Reputation
    1
    Join Date
    Jun 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with ObjectByGUID

    When ever i try to run this code it crashs wow anyone know what im doing wrong? :confused:

    Code:
    int ObjectByGUID = 0x007BE110; //update every patch
    BM.OpenProcessAndThread(Memory.GetProcessIdByProcessName("WoW"));
    uint codeCave = BM.AllocateMemory();
    BM.Asm.Clear();
    BM.Asm.AddLine("push 0x10");
    BM.Asm.AddLine("push {0}", GUIDHigh);   //local guid
    BM.Asm.AddLine("push {0}", GUIDLow);   //local guid
    BM.Asm.AddLine("mov eax, {0}", ObjectByGUID);
    BM.Asm.AddLine("call eax");
    BM.Asm.AddLine("add esp, 0x14");
    BM.Asm.AddLine("retn");
    BM.SuspendThread();
    uint obj = BM.Asm.InjectAndExecute(codeCave); ;
    BM.ResumeThread();
    BM.FreeMemory(codeCave);
    return obj;
    Function that im copying (I think this my problem copying the wrong one)
    Code:
    0079B0B9   E8 12180200      CALL WoW.007BC8D0
    0079B0BE   68 A1000000      PUSH 0A1
    0079B0C3   68 78439900      PUSH WoW.00994378 
    0079B0C8   6A 10                  PUSH 10
    0079B0CA   52                       PUSH EDX  //high
    0079B0CB   50                       PUSH EAX  //low
    0079B0CC   E8 3F300200      CALL WoW.007BE110
    0079B0D1   83C4 14              ADD ESP,14
    Last edited by TheWolph; 07-13-2009 at 09:32 PM. Reason: deletin useless stuff

    Help with ObjectByGUID
  2. #2
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to add 0xC to esp after your function call. Also, you have to update the TLS before calling that. If you look at the function, it uses the thread-local storage, so you have to copy the ObjectManager into it. It's all over the place, you won't have to look far(hint: search).

  3. #3
    TheWolph's Avatar Member
    Reputation
    1
    Join Date
    Jun 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was missing 2 pushes
    BM.Asm.AddLine("add esp, 0x14");
    I also thought that the ObjectByGUID function updated the tls to the object manager but it just checks it
    Code:
    007BE110  /$ 55             PUSH EBP
    007BE111  |. 8BEC           MOV EBP,ESP
    007BE113  |. 64:8B0D 2C0000>MOV ECX,DWORD PTR FS:[2C]
    007BE11A  |. A1 FCD93501    MOV EAX,DWORD PTR DS:[135D9FC]
    007BE11F  |. 8B1481         MOV EDX,DWORD PTR DS:[ECX+EAX*4]
    007BE122  |. 8B8A 10000000  MOV ECX,DWORD PTR DS:[EDX+10]
    007BE128  |. 83EC 08        SUB ESP,8
    007BE12B  |. 85C9           TEST ECX,ECX
    just found a topic that is 4 days old thats the exact same as mine sorry XD thanks though lanman92 got it working

Similar Threads

  1. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  2. help with emu server
    By Chsz in forum World of Warcraft General
    Replies: 1
    Last Post: 07-04-2006, 10:01 PM
  3. Help with wowglider
    By Voldaroi in forum World of Warcraft General
    Replies: 6
    Last Post: 06-17-2006, 08:54 PM
  4. Help with Ranks!!
    By Krazzee in forum Community Chat
    Replies: 7
    Last Post: 06-16-2006, 06:58 PM
  5. Help with Auto-it!!
    By Krazzee in forum World of Warcraft General
    Replies: 7
    Last Post: 06-12-2006, 09:22 PM
All times are GMT -5. The time now is 11:01 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