Game Development Community

Debugging network question

by Frank Bignone · in Torque Game Engine · 05/23/2002 (7:06 am) · 2 replies

Hy,
I set the DEBUG_NET and PKLOG, but I would like to know what does all the output that I get mean. I have a very bad bug 'class id mismatch for dest class Camera' and I want to correct it.

I would like also to know what should I understand concerning that output
PKLOG 1765 START
PKLOG 1765 CONTROLOBJECTSTATE: 1
PKLOG 1765 PINGCAMSTATE: 1
PKLOG 1765 EVENT 77 ...
PKLOG 1765 END
PKLOG 1764 START
...

Thanks for any tips

About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.


#1
05/23/2002 (9:31 am)
Ok. After digging a lot into that area, I have solve my first error. It is due to a bug in the engine. Indeed, checksum are saved as 16 bit integer, and should be save as 32 bit integer. So you just need to change the different writeInt((xx^CheckSum),16) to the same with 32 (and do the same for the readInt).

Bad news is that I still have a bug somewhere :(
Secondly, this DEBUG_NET & logging + journal saving is a plus when debugging that application. I never though of it before Tim told me about it and really it rules.
#2
05/24/2002 (10:47 am)
ok!
let say topic is closed. I found myself the answer of my questions. I should have dig a little bit more before posting those questions.