(this is the login request packet going from server to client) char peer1_1[] = { 0x01, // packet id 0x00, 0x00, 0x89, 0x65, // entity id 0x00, 0x00, // unused string 0x8e, 0x9a, 0x75, 0xbd, 0xa5, 0x54, 0x33, 0x48, // map seed 0x00, 0x07, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66, 0x00, 0x61, 0x00, 0x75, 0x00, 0x6c, 0x00, 0x74, // level type: "default" 0x00, 0x00, 0x00, 0x00, // server mode int 0x00, // dimension byte 0x00, // NOT difficulty (what is this?!) 0x00, 0x00, // ??? 0x01, // difficulty! 0x00, // ??? 0x14, // max players 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x02, 0x25, 0x54, 0x0b, 0x19, 0x00, 0x00, 0x00, 0xc3, 0x00, 0x08, 0x00, 0x57, 0x00, 0x61, 0x00, 0x6e, 0x00, 0x64, 0x00, 0x65, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x41, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x01, 0x32, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x0e, 0x01, 0x32, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x01 }; ...which is obviously a few packets run in together, but i put some spacing where i think they separate and tried to annotate the packet. 0x14 b/c i have max players at 20, dec20==hex0x14.