proto: Send all working NPCs cards to everyone.

This commit is contained in:
Loïc Hoguin 2010-06-04 02:03:43 +02:00
parent dd743a9b6d
commit 2afaa28c05
2 changed files with 2 additions and 1 deletions

BIN
p/npc.bin Normal file

Binary file not shown.

View File

@ -300,7 +300,8 @@ send_map(CSocket, Quest, MapType, MapNumber, MapEntry) ->
%% @doc Send the player's NPC and PM information. %% @doc Send the player's NPC and PM information.
send_npc_info(CSocket, GID) -> 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). packet_send(CSocket, Packet).
%% @doc Send the player's partner card. %% @doc Send the player's partner card.