Fixed protocol issue: Avatar data packets did not have any padding. Increased maximum packet size.

This commit is contained in:
lotodore
2007-10-12 15:15:03 +00:00
parent 375ea47778
commit 6cf0d8777a
3 changed files with 27 additions and 7 deletions
+5 -2
View File
@@ -26,7 +26,7 @@ PokerTH general message format:
| +-------------------------------+
/ | padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Minimum length is 8. Maximum length is 264.
Minimum length is 8. Maximum length is 268.
Client Request: Init
@@ -135,9 +135,12 @@ Server/Client Reply: Avatar File
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Request ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Avatar Block Size | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
\ Avatar File Data (up to 256 Bytes) /
| +
| +-------------------------------+
/ | padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[Additional blocks will be sent if data is more than 256 Bytes.]