Marauroa 3.8: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann |
imported>Kymara minor correction and link to db structure table |
||
| Line 12: | Line 12: | ||
; Details : The client sends the first message with the protocol version it prefers. The server will check if it understands this version. If it does understand that version it will make sure that it sends only messages to the client with up to that version. |
; Details : The client sends the first message with the protocol version it prefers. The server will check if it understands this version. If it does understand that version it will make sure that it sends only messages to the client with up to that version. |
||
: So an old client which speaks version 31 can talk to a server |
: So an old client which speaks version 31 can talk to a server which speaks version 33 (Marauroa 3.8). The server will automatically downgrade all answers to version 31. As a result some information like details in the S2CCharacterList Message will be missing, of course. |
||
: To makes things compatible the other way round, the server will now accept messages up to version 40. It will reply with the highest protocol version it can support. |
: To makes things compatible the other way round, the server will now accept messages up to version 40. It will reply with the highest protocol version it can support. |
||
| Line 22: | Line 22: | ||
; Summary : The protocol version is now stored in a new column along the blog |
; Summary : The protocol version is now stored in a new column along the blog |
||
; Reason for change : The new map feature made it necessary to change the way RPObjects are serialized. |
; Reason for change : The new map feature made it necessary to change the way RPObjects are serialized. |
||
; Impact on Marauroa users : The first Marauroa server start after an update might take a couple of seconds because a protocolVersion column is added automatically to the tables rpobject and rpzone. |
; Impact on Marauroa users : The first Marauroa server start after an update might take a couple of seconds because a protocolVersion column is added automatically to the tables [[Marauroa_Database_Structure#RPObjects|rpobject and rpzone]]. |
||
; Details : As characters and zones are stored using the serialization mechanism, chances to the serialization protocol break saved content. Marauroa needs a way to learn the version of the protocol used for saving the blog in order to load it correctly. |
; Details : As characters and zones are stored using the serialization mechanism, chances to the serialization protocol break saved content. Marauroa needs a way to learn the version of the protocol used for saving the blog in order to load it correctly. |
||