From 92b4a569192f9b09f2a8264c31ec0e7b1ee49c03 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Tue, 28 Mar 2017 19:41:44 +0200 Subject: [PATCH 1/2] Follow up to 11f5009 Sorry I should not rush. --- src/common/mmo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mmo.h b/src/common/mmo.h index 1496c50401..b9baf93b07 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -68,7 +68,7 @@ #define DEFAULT_WALK_SPEED 150 ///Default walk speed #define MIN_WALK_SPEED 20 ///Min walk speed #define MAX_WALK_SPEED 1000 ///Max walk speed -#define MAX_STORAGE 300 ///Max number of storage slots a player can have +#define MAX_STORAGE 600 ///Max number of storage slots a player can have #define MAX_GUILD_STORAGE 600 ///Max number of storage slots a guild #define MAX_PARTY 12 ///Max party member #define MAX_GUILD 16+10*6 ///Increased max guild members +6 per 1 extension levels [Lupus] From ebc39cda6b8b75f890615637b1ba829dcbb56aa4 Mon Sep 17 00:00:00 2001 From: Aleos Date: Tue, 28 Mar 2017 15:57:43 -0400 Subject: [PATCH 2/2] Follow up to 5fa2db9 --- src/char/char_clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/char/char_clif.c b/src/char/char_clif.c index aec836160b..311f457425 100644 --- a/src/char/char_clif.c +++ b/src/char/char_clif.c @@ -801,7 +801,7 @@ int chclif_parse_charselect(int fd, struct char_session_data* sd,uint32 ipl){ RFIFOSKIP(fd,3); // Check if the character exists and is not scheduled for deletion - if ( SQL_SUCCESS != Sql_Query(sql_handle, "SELECT `char_id` FROM `%s` WHERE `account_id`='%d' AND `char_num`='%d' AND `delete_time` = 0", schema_config.char_db, sd->account_id, slot) + if ( SQL_SUCCESS != Sql_Query(sql_handle, "SELECT `char_id` FROM `%s` WHERE `account_id`='%d' AND `char_num`='%d' AND `delete_date` = 0", schema_config.char_db, sd->account_id, slot) || SQL_SUCCESS != Sql_NextRow(sql_handle) || SQL_SUCCESS != Sql_GetData(sql_handle, 0, &data, NULL) ) { //Not found?? May be forged packet.