MRMJ-1: Messenger & Skills fixes

This commit is contained in:
Mind Rapist
2025-12-14 05:17:16 +02:00
parent da619922cb
commit 0f79d890ba
53 changed files with 1387 additions and 231 deletions

View File

@@ -147,11 +147,12 @@ enum EDragonSoulStepTypes
DRAGON_SOUL_STEP_HIGHEST,
DRAGON_SOUL_STEP_MAX,
};
#define DRAGON_SOUL_STRENGTH_MAX 7
enum EDSInventoryMaxNum
{
DRAGON_SOUL_INVENTORY_MAX_NUM = DS_SLOT_MAX * DRAGON_SOUL_GRADE_MAX * DRAGON_SOUL_BOX_SIZE,
DRAGON_SOUL_INVENTORY_MAX_NUM = static_cast<int>(DS_SLOT_MAX) * static_cast<int>(DRAGON_SOUL_GRADE_MAX) * DRAGON_SOUL_BOX_SIZE,
};
enum EFishSubTypes

View File

@@ -672,8 +672,8 @@ enum EDragonSoulRefineWindowSize
enum EMisc2
{
DRAGON_SOUL_EQUIP_SLOT_START = INVENTORY_MAX_NUM + WEAR_MAX_NUM,
DRAGON_SOUL_EQUIP_SLOT_END = DRAGON_SOUL_EQUIP_SLOT_START + (DS_SLOT_MAX * DRAGON_SOUL_DECK_MAX_NUM),
DRAGON_SOUL_EQUIP_RESERVED_SLOT_END = DRAGON_SOUL_EQUIP_SLOT_END + (DS_SLOT_MAX * DRAGON_SOUL_DECK_RESERVED_MAX_NUM),
DRAGON_SOUL_EQUIP_SLOT_END = DRAGON_SOUL_EQUIP_SLOT_START + (static_cast<int>(DS_SLOT_MAX) * static_cast<int>(DRAGON_SOUL_DECK_MAX_NUM)),
DRAGON_SOUL_EQUIP_RESERVED_SLOT_END = DRAGON_SOUL_EQUIP_SLOT_END + (static_cast<int>(DS_SLOT_MAX) * static_cast<int>(DRAGON_SOUL_DECK_RESERVED_MAX_NUM)),
BELT_INVENTORY_SLOT_START = DRAGON_SOUL_EQUIP_RESERVED_SLOT_END,
BELT_INVENTORY_SLOT_END = BELT_INVENTORY_SLOT_START + BELT_INVENTORY_SLOT_COUNT,

View File

@@ -6,4 +6,15 @@
#define _IMPROVED_PACKET_ENCRYPTION_ // 패킷 암호화 개선
#define __PET_SYSTEM__
#define __UDP_BLOCK__
#define FIX_HEADER_CG_MARK_LOGIN // Fix for syserr error header 100 (login phase does not handle this packet! header 100);
#define FIX_NEG_CMD_CORE_DOWNER // Fix core downer after negative command value (mobs, items, etc...)
#define FIX_NEG_HP // Fix negative HP value when dead
#define FIX_MESSENGER_ACTION_SYNC // Fix companion messenger updates when being deleted by a friend
#define CHAR_SELECT_STATS_IMPROVEMENT // Improve stats values in character select screen
#define CROSS_CHANNEL_FRIEND_REQUEST // Allow friend requests across different channels
#define FIX_REFRESH_SKILL_COOLDOWN // Fix cooldown display time on skill slots
#define FIX_BOOK_READING_FOR_MAX_LEVEL // Disable experience point deduction for reading a book when in max level
//#define FIX_POS_SYNC // Fix position synching between clients
#endif