Class NetConst

java.lang.Object
marauroa.common.net.NetConst

public class NetConst extends Object
This class hosts several constants related to the network configuration of Marauroa
  • Field Details

    • NETWORK_PROTOCOL_VERSION

      public static final byte NETWORK_PROTOCOL_VERSION
      Number of the protocol version. 0 - Initial version 1 - Added Action message 2 - Added Perception message 3 - Multipacket udp 4 - Added server info 5 - Modified Action message 6 - Added zlib support to Perception message 7 - Modified Perception Added Invalid Version message 8 - Added Delta-delta support 9 - Added Timestamp to the Perception message 10 - Added conditional myRPObject send to Perception 11 - Added Map message - Added Timestamp to all Messages - Changed the ordering inside Perception message 12 - Changed perception to send only what is hidden on myRPObject - Added Out of Sync Message - Improved speed of perception creation 13 - Redefined Map message 14 - Compressed the Map message 15 - Modified ServerInfo message to add RPClass stuff 16 - Added Transfer Content - Added zone in perception 17 - Secured login 18 - Game name and version C2S and S2C on Login messages 19 - Added Perception Delta^2 MyRPObject 20 - Compressed server info message. 21 - Added capacity to RPSlot - Changed the RPClass serialization scheme 22 - Changed signature method. Two bytes now. 30 - Marauroa 2.0 refactoring - Dropped UDP support 31 - Added KeepAlive message. 32 - Include RPObjects in S2CCharacterList 33 - Added support for maps as attributes 34 - Added hash on content transfer, empty perceptions are now omittable 35 - Aded data type long
      See Also:
      Constant Field Values
    • NETWORK_PROTOCOL_VERSION_MIN

      public static final byte NETWORK_PROTOCOL_VERSION_MIN
      Oldest supported protocol version
      See Also:
      Constant Field Values
    • NETWORK_PROTOCOL_VERSION_MAX

      public static final byte NETWORK_PROTOCOL_VERSION_MAX
      Newest supported protocol version
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_DETAILS_IN_CHARACTER_LIST

      public static final byte FIRST_VERSION_WITH_DETAILS_IN_CHARACTER_LIST
      the first version with details on the MessageS2CCharacterList.
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_MULTI_VERSION_SUPPORT

      public static final byte FIRST_VERSION_WITH_MULTI_VERSION_SUPPORT
      the first version with support for older versions.
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_MAP_SUPPORT

      public static final byte FIRST_VERSION_WITH_MAP_SUPPORT
      the first version that supports maps in rpobjects.
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_CONTENT_HASH

      public static final byte FIRST_VERSION_WITH_CONTENT_HASH
      the first version that supports maps in rpobjects.
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_OMITTABLE_EMPTY_PERCEPTIONS

      public static final int FIRST_VERSION_WITH_OMITTABLE_EMPTY_PERCEPTIONS
      the first version which allows the omittion of empty perceptions because the client does not depend sending of the KeepAlive message anymore on counting perception messages
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_LONG_BAN_MESSAGE

      public static final int FIRST_VERSION_WITH_LONG_BAN_MESSAGE
      longer reasons for bans
      See Also:
      Constant Field Values
    • FIRST_VERSION_WITH_TYPE_LONG

      public static final int FIRST_VERSION_WITH_TYPE_LONG
      data type long
      See Also:
      Constant Field Values
  • Constructor Details

    • NetConst

      public NetConst()