Set player target Wow 1.12.1 problems menu

User Tag List

Results 1 to 8 of 8
  1. #1
    killmeplease's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    10
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set player target Wow 1.12.1 problems

    Hi all.

    I am having a bit of difficulty acquiring a target in wow 1.12.1. I understand that I can use onRightClick and some other functions but for the time being that is not really my goal. I wish to acquire a target by writing its GUID into RAM. Well that is the idea anyway. Reason for this well for the time being I am trying to make the bot as passive as possible and keeping the intrusive methods to the minimum. I only write to CTM and as of now I also found the address of Lock Target GUID which to a good extent works. I write to it and I do indeed target a mob but the in game GUI does not respond, let me clarify. By writing a GUID to that address I gain a target and I can cast spells but the mob icon with health mana/energy/rage does not show up next to mine in the upper left corner.
    So if anyone could further elaborate on this matter on how to target a mob by writing to a memory address as opposed to going with shell code and relaying on calls of built in methods that would be great. Also if you know for a fact that this is not possible to do the way I want it done please do let me know.

    Progress thus far:
    Navigation works well with detour and am able to calculate path between any to given points in world(fun times here figuring out how Recast/Detour works..... )
    Motion also with rather well, I can move the player in any direction with great precision
    NPC interaction also works, quest accepting and quest turning in
    ObjManager is also loaded and individual target tracking works, stats of a mob are updated etc...

    Now I ve come to the point when I would like to attack a mob and I am having a bit of difficulty actually targeting a mob, so if anyone could help with this particular problem.
    I know also that I can write to GUID of the last target press tab and gain target but again I would prefer the previously stated approach.

    Set player target Wow 1.12.1 problems
  2. #2
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Is this something you intend to release? If not, some rudimentary protection should be all you need from Warden. I think there are even open source implementations that you could use. It would make your life considerably easier.

  3. #3
    killmeplease's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    10
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could I trouble you for those links if possible. I was considering opening up a remote thread to call a function in wow for targeting but I hoped that I would manage to handle targeting via RAM write. Targeting is just one of two pieces left of the puzzle the other one is the AI that I am working on that will control the player.

  4. #4
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    This is from one of the most recently active threads on this very forum: GitHub - Zz9uk3/ZzukBot_V3: A bot for World of Warcraft. Visit https://forum.zzukbot.com/index.php?/forum/68-core-development/ -- he has a 'Protection' directory in there. I don't know what it does or how, but the author is active on this site. Maybe you could ask him.

  5. #5
    WiNiFiX's Avatar Banned
    Reputation
    242
    Join Date
    Jun 2008
    Posts
    447
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The method I use for my Vanilla Bot - I think this does as you require.

    PHP Code:
    public static void TargetUnit(ulong guid)
    {
        
    lock (thisLock)
        {
            var 
    num hook.Memory.AllocateMemory(8);
            
    hook.Memory.Write(numguid);
            
    string[] asm = {"mov ecx, " num"call " 0x489A40"retn"};
            
    hook.InjectAndExecute(asm);
            
    hook.Memory.FreeMemory(num);
        }


  6. #6
    uzzy13u's Avatar Active Member
    Reputation
    40
    Join Date
    Oct 2008
    Posts
    99
    Thanks G/R
    21/20
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    // edit - removed
    Last edited by uzzy13u; 03-24-2022 at 06:01 AM.

  7. #7
    killmeplease's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    10
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WiNiFiX View Post
    The method I use for my Vanilla Bot - I think this does as you require.

    PHP Code:
    public static void TargetUnit(ulong guid)
    {
        
    lock (thisLock)
        {
            var 
    num hook.Memory.AllocateMemory(8);
            
    hook.Memory.Write(numguid);
            
    string[] asm = {"mov ecx, " num"call " 0x489A40"retn"};
            
    hook.InjectAndExecute(asm);
            
    hook.Memory.FreeMemory(num);
        }

    Could I please trouble you for the link to the library you are calling InjectAndExecute from?

  8. #8
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,824
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by killmeplease View Post
    Could I please trouble you for the link to the library you are calling InjectAndExecute from?
    Memory Hacking Library List

    Will need to google BlackMagic, looks like the link is dead.

  9. Thanks killmeplease (1 members gave Thanks to DarkLinux for this useful post)

Similar Threads

  1. WoW 1.12 torrent
    By TheDipper in forum World of Warcraft General
    Replies: 16
    Last Post: 10-14-2007, 06:39 PM
  2. Nice player on WoW.
    By Disphotic in forum Community Chat
    Replies: 3
    Last Post: 06-18-2007, 08:33 PM
  3. "WoW Has Encountered a problem" Netherdrake mod crashing me
    By Hakosa in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 05-02-2007, 09:00 PM
  4. how to set player as gm or 6 persmision
    By ilovethissite in forum World of Warcraft General
    Replies: 1
    Last Post: 12-27-2006, 09:07 AM
  5. WoW 1.12 Drums of War - Patch Download
    By Cypher in forum World of Warcraft General
    Replies: 13
    Last Post: 08-23-2006, 04:27 PM
All times are GMT -5. The time now is 05:52 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search