From 945217010e8d6fb1d0b9c1de3ce26f6607ebf215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Jun 2010 19:49:52 +0200 Subject: [PATCH] proto: Conformance for send_loading_end, 0208. --- src/egs_proto.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egs_proto.erl b/src/egs_proto.erl index b61327f..db92e08 100644 --- a/src/egs_proto.erl +++ b/src/egs_proto.erl @@ -221,9 +221,10 @@ send_load_quest(CSocket, GID) -> packet_send(CSocket, Packet). %% @doc Indicate to the client that loading should finish. +%% @todo Last value seems to be 2 most of the time. Never 0 though. send_loading_end(CSocket, GID) -> - Packet = << 16#0208:16, 0:208, GID:32/little-unsigned-integer, 0:96 >>, + Packet = << 16#02080300:32, 0:160, 16#00011300:32, GID:32/little-unsigned-integer, 0:64, 2:32/little-unsigned-integer >>, packet_send(CSocket, Packet). %% @doc Send the player's current location.