Quote:
Originally Posted by RandomOne
This is what I am using for blocking OUTGOING packets (Client to Server)
Why wont this work with INCOMING packets!? (Server to Client) 
|
It does work with incoming packets, as such (using behilits proxy as an example for you):
Under the 'analyze_recv2' function after all the other code there
Code:
If Skip = 0 Then cl_recv2 (tpr)
in other words, if skip not true then receive the packet, otherwise do nothing.
Of course make sure the function understands what Skip is, either by making it local to each function it's needed in, or making it a global variable and changing my example slightly to this:
Code:
If Skip = 0 then
cl_recv2
Else
Skip = 0 'Resets the variable for next time.
End If