Google-Code-Fork / tibiaapi

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

HookProxy Debug #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Initialize the pipe
2. Create a new HookProxy instance

What is the expected output? What do you see instead?
Breaks on line "clientRecvMsg.Length = length;" in HookProxy.cs saying
Destination array was not long enough. Check destIndex and length, and the
array's lower bounds. The received packet is the PlayerSkillUpdate packet.

Original issue reported on code.google.com by joebingham07@gmail.com on 21 Apr 2009 at 6:52

GoogleCodeExporter commented 9 years ago
It is very easy to see this error if you start Smart Packet Analyzer, login, 
and then
press Ctrl+G to relogin.

I also get a similar error when walking in any direction underground.

Original comment by ian320 on 22 Apr 2009 at 2:46

GoogleCodeExporter commented 9 years ago
You must change main NamedPipeServerStream in pipe.cs buffersize to 0xFFFF and 
main
buffer to (new byte[0xFFFF])

Default is 255 (0xff)

Original comment by beziakcpp@gmail.com on 24 Apr 2009 at 10:43

GoogleCodeExporter commented 9 years ago
The hook proxy appears to be completely broken with the last update.

Original comment by ian320 on 25 Apr 2009 at 6:15

GoogleCodeExporter commented 9 years ago
did you update the PrintTextFunc address?it was incorrect and caused crashes

Original comment by geancarl...@gmail.com on 25 Apr 2009 at 10:51

GoogleCodeExporter commented 9 years ago
Joe, do you get this error anymore?

Original comment by ian320 on 6 May 2009 at 7:48

GoogleCodeExporter commented 9 years ago
No I haven't gotten it since your commit.

Original comment by joebingham07@gmail.com on 6 May 2009 at 7:50

GoogleCodeExporter commented 9 years ago

Original comment by ian320 on 31 Jul 2009 at 5:16