From 7e67dfbc6d8d4b2a5c3c4cf3b03226b5c3c442fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Jun 2010 23:02:45 +0200 Subject: [PATCH] game: Counter doesn't seem to send the location IDs. This makes Leave Counter send a command 0812, which is halfway fixing it. --- src/egs_game.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egs_game.erl b/src/egs_game.erl index 0af382b..0c9623b 100644 --- a/src/egs_game.erl +++ b/src/egs_game.erl @@ -220,8 +220,8 @@ counter_load(CSocket, GID, Quest, MapType, MapNumber, MapEntry) -> % 010d egs_proto:send_zone_init(CSocket, GID, mission), egs_proto:send_zone(CSocket, ZoneFile), - egs_proto:send_map(CSocket, MapType, MapNumber, MapEntry), - egs_proto:send_location(CSocket, GID, Quest, MapType, MapNumber, AreaName), + egs_proto:send_map(CSocket, 0, 0, 0), + egs_proto:send_location(CSocket, GID, 16#7fffffff, 0, 0, AreaName), % 0215 0215 send_packet_020c(CSocket), % 1202 1204 1206 1207