sending mouseclick to x/y of background window in WOW menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sending mouseclick to x/y of background window in WOW

    my bot has been working great for some time now, but i would like to have it working in the background instead of the foreground.

    using sendmessage win api i can send clicks and keypresses to WOW handle, but unfortunately i have not found a way to send a click to a specific location.

    for instance clicking on the window to farm ores, etc.

    i am using 'out of the process' and memory only techniques with my bot proggie-

    has anyone found an out of process or memory only way to loot, collect resources?

    thanks for the info-

    EDIT: is it possible to send the GUID of the object i want to interact with (ore node) and then send a keypress for the INTERACT and have it mine? same for looting corpse? if so has anyone reversed the current address of the MOUSEOVERGUID ?

    Shoni-
    Last edited by ShoniShilent; 08-05-2009 at 04:45 PM.

    sending mouseclick to x/y of background window in WOW
  2. #2
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SendMessage()

    Edit: nvm, was just reading the first line. There is no reliable way to send clicks to a bg window.
    Last edited by flo8464; 08-05-2009 at 04:39 PM.

  3. #3
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the reply.

    is this possible? or something similar? --> is it possible to send the GUID of the object i want to interact with (ore node) and then send a keypress for the INTERACT and have it mine? same for looting corpse? if so has anyone reversed the current address of the MOUSEOVERGUID ?

  4. #4
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i tried using static address 01127760 and writing the GUID of the ore node to it constantly and then i pressed keybind for mouse over and nothing happens. incidentally, if i put the mouse over the object while writing the GUID to that address, it won't work either. but if i stop writing to the address and then put mouse over and press the key it mines the ore.

    01127760 is probably the wrong address OR i am doing something wrong-

    or this whole line of thought is impossible. there HAS to be a way to loot corpses, skin, and mine ores without having to actually mouse over them (in the background).

    any help is appreciated-

  5. #5
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Write the GUID in the target guid address ( 0x01127770 for 3.2.0 ) and just send "Interact with Target" key in WoW.

  6. #6
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EDIT:: i was writing a stupid LONG value instead of the 8 bytes GUID. seems to work thanks for the infos'

    now if we could just get the teleport info??? LOL
    Last edited by ShoniShilent; 08-05-2009 at 06:25 PM.

  7. #7
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could write a small app in Autoit and use the ControlClick function , to make it more reliable , use the windows XY and not the screens.

    Its for Clicking non active windows .. IE background.

    Its easy to multiprocess with a small au3 app, just pass it the parameters you want, Or you can download AutoitX C++ library , that way you can use autoit functions in C++

    Gluck

  8. #8
    ~OddBall~'s Avatar Contributor
    Reputation
    207
    Join Date
    Jan 2008
    Posts
    1,156
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use the interact key! it works perfectly..
    https://www.mmowned.com/forums/world-of-warcraft/guides/278302-selecting-bot-you.html - SELECTING THE BOT FOR YOU

    PHWOOOOAAAAAR - Parog was here. <3 <----Wtf's a Parog?

  9. #9
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i got it working after realiziing i was writing 4bytes GUID instead of 8bytes. at any rate, the interact works perfectly as described. i been surfing, doing bills, listening to interet radio, etc. all while my bot program is contolling my char in a little bitty windowed WOW running in the background. so cool-

    thanks again all who helped and also all who posted infos on these boards for last 3 years.

  10. #10
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i got it working after realiziing i was writing 4bytes GUID instead of 8bytes. at any rate, the interact works perfectly as described. i been surfing, doing bills, listening to interet radio, etc. all while my bot program is contolling my char in a little bitty windowed WOW running in the background. so cool-

    thanks again all who helped and also all who posted infos on these boards for last 3 years.

  11. #11
    lustikus12's Avatar Banned
    Reputation
    -2
    Join Date
    Jul 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello i tray it with Memorywrite but it don*t work i write (0x01127770,Targetguid,"dword")
    if have triaid it with byte and long to but nothing changes just in the memory if i read 0x01127770 but if i try to attack it says notpossible.... what should i do?

  12. #12
    ShoniShilent's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the GUID is 8 bytes, you must write a QWORD

  13. #13
    voron23's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LegacyAX View Post
    You could write a small app in Autoit and use the ControlClick function , to make it more reliable , use the windows XY and not the screens.

    Its for Clicking non active windows .. IE background.

    Its easy to multiprocess with a small au3 app, just pass it the parameters you want, Or you can download AutoitX C++ library , that way you can use autoit functions in C++

    Gluck
    I was trying to click in bg in some games with ControlClick(), but it take ControlID as a parameter. Window dont have it.

  14. #14
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so if I want to interact with my bobber:

    1. I'd get the bobber's GUID: [bobberbase + 0x30] as a uint

    2. Write the GUID to my target address (0x01127770, bobberGUID, "qword")

    3. Send the key stroke for whatever I keybound my Interact (not mouse over interact) as

    right? I tried that but I get nothing.

  15. #15
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xwinterx View Post
    so if I want to interact with my bobber:

    1. I'd get the bobber's GUID: [bobberbase + 0x30] as a uint

    2. Write the GUID to my target address (0x01127770, bobberGUID, "qword")

    3. Send the key stroke for whatever I keybound my Interact (not mouse over interact) as

    right? I tried that but I get nothing.
    This is how I did it in an old project...it is coded badly but it works. I never had time to clean it up...hope it helps

    btw I am using old adresses..


    Code:
                SendKey SendKey = new SendKey();
    
                if (!FoundBobberObject)
                {
                    SendKey.Send(0x31);
                    Thread.Sleep(1000);
                    ToLog("Setting new Bobber");
                    
                }
    
                //Step 1 Find Bobber and update it
                try
                {
                    ObjectManager.PopulateLists();
                }
                catch (Exception e)
                {
                    ToLog("Could not populate Lists in Fishinject.cs");
                }
    
                if (!FoundBobberObject)
                {
                    foreach (KeyValuePair<ulong, GameObject> Element in ObjectManager.GameObjectList)
                    {
                        if (Element.Value.Name == "Fishing Bobber" && !FoundBobberObject && Element.Value.Created_By == ObjectManager.LocalPlayer.Guid)
                        {
                            BobberBase = Element.Value.BaseAddress;
                            FoundBobberObject = true;
                            ToLog("Found Fishing Bobber");
                        }
                        else
                        {
                            FoundBobberObject = false;
                        }
                    }
                }
    
                GameObject BobberObject = new GameObject(Convert.ToUInt32(BobberBase));
    
                //Step 2 Place Mouse over BobberGUID by a Memory write to 11D3F50 Mouse Over Guid
                if (FoundBobberObject && !SetMouseOverGuid)
                {
                    ObjectManager.WowReader.WriteUInt64(Offsets.MemoryAddresses.MouseOverGuid, BobberObject.Guid);
                    SetMouseOverGuid = true;
                }
    
                //Step 3 detect Bobbing and interact
    
                if (BobberBase != 0)
                {
                    if (BobberObject.isAnimated() && FoundBobberObject && SetMouseOverGuid)
                    {
                        //Cast interact with mouse over
                        SendKey.Send(0x50);
                        FoundBobberObject = false;
                        SetMouseOverGuid = false;
                        Thread.Sleep(2000);
                    }
                }

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 06-08-2012, 10:26 PM
  2. [Hack] WHack - Windows / Mac WoW Retail Multi-Hack
    By JuJuBoSc in forum World of Warcraft Bots and Programs
    Replies: 575
    Last Post: 03-31-2011, 03:46 AM
  3. pasting to a background window.
    By thinkong in forum Programming
    Replies: 0
    Last Post: 10-08-2009, 06:47 AM
  4. Place any window ontop of all other windows including WoW
    By Fault in forum World of Warcraft Bots and Programs
    Replies: 16
    Last Post: 01-20-2007, 07:09 AM
All times are GMT -5. The time now is 07:25 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