[sylverant] r752 committed - Don't disconnect people playing MA2 on PSOGC.

1 view
Skip to first unread message

sylv...@googlecode.com

unread,
Nov 13, 2014, 1:11:44 PM11/13/14
to sylverant-...@googlegroups.com
Revision: 752
Author: bluecrab
Date: Thu Nov 13 18:11:15 2014 UTC
Log: Don't disconnect people playing MA2 on PSOGC.


https://code.google.com/p/sylverant/source/detail?r=752

Modified:
/trunk/ship_server/src/block.c
/trunk/ship_server/src/packets.h

=======================================
--- /trunk/ship_server/src/block.c Thu Jul 17 02:14:20 2014 UTC
+++ /trunk/ship_server/src/block.c Thu Nov 13 18:11:15 2014 UTC
@@ -3041,6 +3041,12 @@
case EP3_GAME_CREATE_TYPE:
return ep3_process_game_create(c, (ep3_game_create_pkt *)pkt);

+ case QUEST_STATS_TYPE:
+ debug(DBG_LOG, "Received quest stats packet from %s (%d)\n",
+ c->pl->v1.name, c->guildcard);
+ print_packet((unsigned char *)pkt, len);
+ return 0;
+
default:
#ifdef HAVE_PYTHON
if(script_execute_pkt(ScriptActionUnknownBlockPacket, c, pkt,
=======================================
--- /trunk/ship_server/src/packets.h Fri Aug 15 00:21:33 2014 UTC
+++ /trunk/ship_server/src/packets.h Thu Nov 13 18:11:15 2014 UTC
@@ -1482,6 +1482,12 @@
uint16_t text[88];
} PACKED bb_guildcard_comment_pkt;

+/* Gamecube quest statistics packet (from Maximum Attack 2). */
+typedef struct gc_quest_stats {
+ dc_pkt_hdr_t hdr;
+ uint32_t stats[10];
+} PACKED gc_quest_stats_pkt;
+
#undef PACKED

/* Parameters for the various packets. */
@@ -1550,6 +1556,7 @@
#define DL_QUEST_FILE_TYPE 0x00A6
#define DL_QUEST_CHUNK_TYPE 0x00A7
#define QUEST_END_LIST_TYPE 0x00A9
+#define QUEST_STATS_TYPE 0x00AA
#define QUEST_LOAD_DONE_TYPE 0x00AC
#define TEXT_MSG_TYPE 0x00B0
#define TIMESTAMP_TYPE 0x00B1
Reply all
Reply to author
Forward
0 new messages