From 6ec02be0f479ccedeeb3fa6595505e7c1c7e999d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 3 Sep 2010 01:45:05 +0200 Subject: [PATCH] psu_game: Small change to send_1005 based on research. --- src/psu/psu_game.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psu/psu_game.erl b/src/psu/psu_game.erl index cbfa736..1ca7f83 100644 --- a/src/psu/psu_game.erl +++ b/src/psu/psu_game.erl @@ -1431,7 +1431,7 @@ send_1005(Name) -> {ok, File} = file:read_file("p/packet1005.bin"), << _:352, Before:160/bits, _:608, After/bits >> = File, GID = get(gid), - send(<< (header(16#1005))/binary, Before/binary, GID:32/little-unsigned-integer, 0:64, Name/binary, After/binary >>). + send(<< 16#10050300:32, 16#ffff:16, 0:144, 16#00011300:32, GID:32/little, 0:64, Before/binary, GID:32/little, 0:64, Name/binary, After/binary >>). %% @doc Party-related command probably controlling the party state. %% EventID 11 aborts the mission.