Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Enhance HookProxy #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should enhance the hook proxy so that it has all the capabilities of the
normal proxy:

Send packets to the server (done with SendPacketByMemory)
Send packets to the client
Block sending of packets to the server or client
(and/or modify packets)

Original issue reported on code.google.com by ian320 on 20 Apr 2009 at 8:12

GoogleCodeExporter commented 9 years ago
Partially done in r645 with the addition of a SendToServer method in HookProxy.

Original comment by ian320 on 22 Apr 2009 at 1:47

GoogleCodeExporter commented 9 years ago
You wanted me to create this issue, but you already made it so I'm just going 
to bump
it for you.

Original comment by joebingham07@gmail.com on 7 May 2009 at 5:54

GoogleCodeExporter commented 9 years ago
Sending packets to the client should be possible using the injected dll as 
described
by Stepler at Tpforums and/or how i did it in c#, although i'm not sure about 
how
safe both "methods" are.
As for the packet moding, i don't think we should mess with that on our pipe 
based
HookProxy concept and to be honest i don't see big advantages on having this 
feature...

Original comment by geancarl...@gmail.com on 19 Jul 2009 at 10:12

GoogleCodeExporter commented 9 years ago
I'd prefer to use your method in C#. Please add it if you have time, and we 
will have
to do some testing to see if we'll run into any problems with synchronization. 
It
shouldn't be too much of a problem because most users won't be sending a whole 
lot of
packets to the client.

Original comment by ian320 on 20 Jul 2009 at 7:29

GoogleCodeExporter commented 9 years ago
Seeing as though we have SendToServer/ClientByMemory I see no use in sending 
packets 
with the injected dll unless someone disagrees. Also, I see no use in 
blocking/modifying packets whether it be from the server or client. I'll change 
the 
status to verified since Farsa added the SendTo methods.

Original comment by joebingham07@gmail.com on 10 Nov 2009 at 6:14