Jump to content

Flatline: Difference between revisions

114 bytes removed ,  20 October 2008
Forgot how packets work >_<
No edit summary
(Forgot how packets work >_<)
Line 51: Line 51:
==Packets==
==Packets==


'''XXPPPPYYZZZZ…'''
'''PPPPYYZZZZ…'''
   
   
'''XX''' = Sender. If XX=FF then server communication. All others use the server designated player number.
'''PPPP''' = Destination players. Hex =>Binary etc If player limit was kept at 6, only one byte would be needed. Any more than that requires one more byte. Player => Server communication uses 0000 Server=> All players uses FFFF   
'''PPPP''' = Destination players. Hex =>Binary etc If player limit was kept at 6, only one byte would be needed. Any more than that requires one more byte. Player => Server communication uses 0000 Server=> All players uses FFFF   


Line 68: Line 65:
'''Example:'''
'''Example:'''


FF FFFF 01 646D7367282248656C6C6f20576f726C642229
FFFF 01 646D7367282248656C6C6f20576f726C642229


Server is sending to all players to execute the Dev console command “dmsg("Hello World")”
Server is sending to all players to execute the Dev console command “dmsg("Hello World")”
826

edits