I'm a novice. I've been learning how to make my own robot here.
Now I try to calling FrameScript_ExecuteBuffer in wowclassic.
It seems to have failed to operate according to the experience I learned here.
I first tried remote execution asm
The game will not get any output, Similar code I test in the 1.21 client is feasible. I know it needs to be executed in the main thread, but according to my experience in the forum, it will not be thread safe but it can be executed successfully occasionally.Code:sub rsp, 0x20 xor r8d, r8d mov rdx, LuaByte_Buffer //print("test") byte mov rcx, LuaByte_Buffer //print("test") byte call FrameScript__ExecuteBuffer //0x328660 add rsp, 0x20 retn
I also tried to inject DLL to start the C# assembly. and hook WndProc. Let the calling function run on the main thread. The result is a game memory execute error. Or nothing happens.
I checked a lot of forum posts. Did not find the answer. Ask everyone for help or provide ideas. thank you very much.
English is not my native language, sorry.