diff options
author | Haru <haru@dotalux.com> | 2017-10-21 17:48:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 17:48:13 +0200 |
commit | d1691ef81112667c2cfb3ae74a074a6debd4af53 (patch) | |
tree | c8c1126b5407fcfe8fe43b1db14e3970c656eda8 /src/common/mmo.h | |
parent | e5d9b3768241a7e91bf8dd9bf8b776d4cee310d7 (diff) | |
parent | ec9f4b20aca50905d635db6d1e5398918a6dba5d (diff) | |
download | hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.gz hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.bz2 hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.tar.xz hercules-d1691ef81112667c2cfb3ae74a074a6debd4af53.zip |
Merge pull request #1859 from 4144/newpackets
Add shuffle packets for latest clients, fix rodex in 2017 clients, fix exp packets.
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index fe67d6efb..52f68b719 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -276,7 +276,11 @@ STATIC_ASSERT(MAX_ITEM_OPTIONS <= 5, "This value is limited by the client and da #define RODEX_BODY_LENGTH (500 + 1) #define RODEX_MAX_ITEM (5) #define RODEX_EXPIRE (1 * 15 * 24 * 60 * 60) +#if PACKETVER >= 20170419 +#define RODEX_MAIL_PER_PAGE 32 +#else #define RODEX_MAIL_PER_PAGE 7 +#endif // The following system marks a different job ID system used by the map server, // which makes a lot more sense than the normal one. [Skotlex] @@ -418,7 +422,7 @@ enum e_item_bound_type { #endif }; -enum { +enum e_option { OPTION_NOTHING = 0x00000000, OPTION_SIGHT = 0x00000001, OPTION_HIDE = 0x00000002, @@ -851,6 +855,7 @@ enum rodex_opentype { RODEX_OPENTYPE_MAIL = 0, RODEX_OPENTYPE_ACCOUNT = 1, RODEX_OPENTYPE_RETURN = 2, + RODEX_OPENTYPE_UNSET = 3, }; enum MAIL_TYPE { @@ -917,7 +922,7 @@ enum { }; //These mark the ID of the jobs, as expected by the client. [Skotlex] -enum { +enum e_class { JOB_NOVICE, JOB_SWORDMAN, JOB_MAGE, |