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: