From 2afaa28c05733cfed8af004df5ea0b572fa95ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Jun 2010 02:03:43 +0200 Subject: [PATCH] proto: Send all working NPCs cards to everyone. --- p/npc.bin | Bin 0 -> 416 bytes src/egs_proto.erl | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 p/npc.bin diff --git a/p/npc.bin b/p/npc.bin new file mode 100644 index 0000000000000000000000000000000000000000..2f92afce4ace8107701ce373976280807bd140d8 GIT binary patch literal 416 zcmci7xe0(k07TJI*Zamm6qGgb>P4^}yLW?Mfq_4H;V_ %% @doc Send the player's NPC and PM information. send_npc_info(CSocket, GID) -> - Packet = << 16#1602:16, 0:208, GID:32/little-unsigned-integer, 0:3680 >>, + {ok, File} = file:read_file("p/npc.bin"), + Packet = << 16#16020300:16, 0:192, GID:32/little-unsigned-integer, 0:96, File/binary >>, packet_send(CSocket, Packet). %% @doc Send the player's partner card.