I'm trying to make my first DLL calling game functions
What I need is tracing functions that call
WSASend, so it will be easy for me to get all functions address to call them from my DLL.
What I want is to call game functions, so if I can trace when WSASend is called, then return to the function that called it, I will be able to get all functions I need.
My final goal is getting all functions addressess like SendWalk, ChangeLookDir, Attack, Follow, MoveItem, DropItem, etc... all of them are calling WSASend
This is what I get from logging calls to WSASend:
The problem is that the game is sending packets all time, so if I put a breakpoint in that call it will pause everytime and I won't be able to make anything in game.
After reading the
WSASend documentation, I understand that maybe what I need is the buffer, so I can filter the parameter
lpBuffers maybe setting a conditional breakpoint and hopefully the buffer will be the same in that packets that are sent every 1 sec (I'm not sure about what I'm saying)
I'm a beginner so if I can improve in any way this question let me know, maybe I'm missing any detail that would help you to help me :)