Added a big honking warning after learning something in

hindsight about the removal of RenderingHints. :P
Seemed simple enough... but now I have to watch people
get connection errors to my server instead of getting
a nice kick.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 13 years ago
parent d1576a3580
commit dc46e28eb9
  1. 21
      engine/src/networking/com/jme3/network/serializing/Serializer.java

@ -73,6 +73,27 @@ public abstract class Serializer {
private static boolean strictRegistration = true; private static boolean strictRegistration = true;
/****************************************************************
****************************************************************
****************************************************************
READ THIS BEFORE CHANGING ANYTHING BELOW
If a registration is moved or removed before the
ClientRegistrationMessage then it screws up the application's
ability to gracefully warn users about bad versions.
There really needs to be a version rolled into the protocol
and I intend to do that very soon. In the mean time, don't
edit the static registrations without decrementing nextId
appropriately.
Yes, that's how fragile this is. Live and learn.
****************************************************************
****************************************************************
****************************************************************/
// Registers the classes we already have serializers for. // Registers the classes we already have serializers for.
static { static {

Loading…
Cancel
Save