Originally Posted by
why06
Lol. Its not a packet man. You just need to in ur .dll find the value that corresponds to your life points. And when it is low, send a command, to use a healing spell, or call the healing spell function directly. by reversing it. I think what you want to do is send the game certain key and mouse presses correct? and ofcourse you want to be able to control this from an outside window that you can use even when the game is minimized. right?
How is it not a packet?
And i can't do this from within the dll because all of the logic and options are in the other program. I do not want to simulate mouse presses or keyboard presses.
Here basically what I want to do within my program:
Code:
//packet to send, this is the actual heal spell packet
char healSpellBuffer[]="\x03\x00\x23\x91\x05";
if (hp < somevalue)
{
//mSend function is within the dll
mSend(Socket, healSpellBuffer, 5, 0);
}
or I likely will want to have a wrapper function that I only need to send in the buffer and no other information