CharacterListPacket, refactor packetwriter