A basic question about dll injection menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    wanyancan's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A basic question about dll injection

    How to communicate with the remote thread running in the game process?

    As I started to write the bot from a 'radar', I was always controlling my bot based solely on the raw data collected by reading the memory and by sending key/mouse events. However, I think it would definitely be much easier to do things by calling some function (such as TraceLine, SetTargetByGUID, Interact) within the remote process directly.

    Here comes a very basic question: After a dll being injected into the remote game process, how does the bot (the invoker) communicate with it(the dll)? By 'communicate' I mean such as: calling the exported functions and get returned value(s)?

    I've seen that the SampleBot source code which runs the objMgr all within the dll thread. If I were doing this, how do I send the data back to another external window to display them (as a radar does) ? Does people write bot completely in the dll ? :confused:

    A basic question about dll injection
  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)
    If you're good at C++/DirectX, you could make a GUI in D3D drawn onto the WoW window. For remote comm, you can use named pipes or shared memory with a Mutex/Events for synchronization.

  3. #3
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Google "named pipes."
    Google "serialization."
    Google "RPC."
    Don't believe everything you think.

  4. #4
    wanyancan's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think if I were let the dll manages all the object data, then it's not easy to send them back to external process via pipe(like server/client), and to make GUI in D3D would be a good choice. However, as my current bot manages the objects externally and all I need is occasionally call certain function(like setTargetByGUID) I would prefer using pipes to call the functions of the dll injected in the game like a client making request to the server (the dll).

    Thank you guys for the information!

Similar Threads

  1. Replies: 2
    Last Post: 02-17-2015, 08:42 AM
  2. A question about GW2 remote inject
    By oraclex in forum GW2 Memory Editing
    Replies: 3
    Last Post: 12-09-2013, 10:33 PM
  3. [Question]DLL Injection
    By hestas in forum WoW Memory Editing
    Replies: 12
    Last Post: 11-18-2009, 02:26 PM
  4. Question about MCing - Frostwolf
    By Hydrox in forum World of Warcraft General
    Replies: 0
    Last Post: 07-21-2006, 02:53 AM
  5. questions about model editing
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 07-08-2006, 09:41 PM
All times are GMT -5. The time now is 01:05 PM. 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