Hello All!
I am hoping to get some update on the current state of the distributed networking components from David, Josh, or someone on here who knows what they are talking about…
I have been working on getting the sample chat sample program running from Panda version 1.05 with no success.
I have followed the tips listed in the following threads:
Bugs from “lem”:
discourse.panda3d.org/viewtopic.php?t=2843 – not fixed in my version of the souce (1.5.3)
discourse.panda3d.org/viewtopic.php?t=2844 – not fixed in my version of the source
discourse.panda3d.org/viewtopic.php?t=2846 – looks fixed in my version of the source
Unfortunately no one replied to “lem” on the status of the first two, so I tried with and without his suggested fixes… Still no results
Adding “keyword p2p” in my dc files:
discourse.panda3d.org/viewtopic.php?t=1152
This seemed to get dcparse (now named p3dcparse) to read my files… I think my dc files are working because my program output now includes “DCFiles:: read of sample.dc”
Turning off SSL random seed generation:
discourse.panda3d.org/viewtopic.php?t=312
Seemed to have no effect…
I also found this pdf cs.princeton.edu/courses/arc … /panda.pdf that gives a brief overview of the Panda3d networking, but isn’t too helpful as far as implementation goes… It was helpful nonetheless in getting a more firm idea of the general process and capabilities of the distributed code.
The results of my efforts have lead me to various errors, the most common being:
- Client connects, runs the connectionSucces callback function
- Server says “Sending DOID range 1000001 1000000”
- Client says “distributed(warning): Could not send datagram.”
- Client sys “ClientRepositorywarning: Lost connection to game server”
To add to my confusion I also am seeing that some files have multiple versions, ie:
DistributedObjectGlobal
DistributedObjectGlobalAI
DistributedObjectGlobalUD
DistributedObject
DistributedObjectAI
DistributedObjectOV
DistributedObjectUD
Some of these are obviously made to be global while some aren’t, and I was able to glean from the in-code comments that the OV version was for “owner view,” but am having trouble sorting out the difference between normal, UD, and AI versions.
I see in the Panda3D CVS that drannali and others have been making patches to the distributed source as recently as two weeks ago so I am hoping that there is a revamp to the networking code underway!
I should also mention that I tried both doxygen and pydoc to get some automatic documentation working for Panda3D with no success, until I found pydoctor ( codespeak.net/~mwh/pydoctor/ ) which was written for Twisted Matrix auto-documentation, but worked great for Panda3D also!!! It does a good job of parsing out any comments for modules/classes/methods.
Hope everyone is having a fabulous start to their week… Many thanks in advance for any help you can give me in sorting this out or at least an update on what works, what doesn’t?
I would love to help write an High-level networking how-to section for the manual, or at least put out a document describing how I got everything to work, that is, once I get it all working, so please give me a hand so that I can help others taking this path in the future!!