Hi, I've been working on my own bot for EQ2 for a few weeks now, it's a standalone program I'm making in C++. I figured out how to send key presses to EQ2 via code, however it looks like EQ2 ignores key presses unless the window has focus. So for instance If I have 2 EQ2 clients open my my computer, I'm trying to send automated key presses to the 2nd window without the first window losing focus. This is needed for two boxing when you're in manual control of one character.
I see crappysoftware has done this, I'm just not sure how. So as a test I opened an EQ2 window through crappysoftware, and my code is able to send that EQ2 window key presses. But my code doesn't work for windows not opened through crappysoftware/don't have focus/foreground.
So have any of you other programmers had an success emulating key presses in EQ2 without the window having focus?
I'm thinking maybe there is some function you need to override, via injecting a DLL or something.. Maybe there is some bit/byte I need to set in EQ2's memory to set to 0 or something... Not sure.
I'm comfortable in CheatEngine/ReadProcessMemory(C++), So any hints will be greatly appreciated
