Oh thanks Arkshine, works quite well now ^^
I have a question on the hook, and I thought it's not worth doing another topic with this...
If I hook MessageBegin() and put a variable there to check the message. such as this
Code:
public OnMessageBegin(msg_dest, msg_type, p1, p2)
{
if (msg_type == g_msgid && dest == 2)
{
bla bla
}
}
ANd doing the same kind of thing for WriteByte... I was wondering, can it affect directly registry (i mean, on shots)? Aren't messages used to communicate the damages and stuff related to regs?
Not sure on that, I'm asking...
Thanks,
Misery