From 29de937a2d8b485498fa9ce573efebfb64e8d669 Mon Sep 17 00:00:00 2001 From: panikon Date: Wed, 9 Jul 2014 00:19:37 -0300 Subject: Fixed status_calc_regen crash issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/ Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947 --- src/map/packets_struct.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/packets_struct.h') diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 3d49944d1..403ab6fa3 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -943,6 +943,9 @@ struct packet_npc_market_open { unsigned int price; unsigned int qty; unsigned short view; + // It seems that the client doesn't have any hard-coded limit for this list + // it's possible to send up to 1890 items without dropping a packet that's + // too large [Panikon] } list[1000];/* TODO: whats the actual max of this? */ } __attribute__((packed)); -- cgit v1.2.3-60-g2f50