diff options
author | Hercules.ws <dev@herc.ws> | 2019-11-17 23:26:28 +0100 |
---|---|---|
committer | HerculesWSAPI <dev@herc.ws> | 2019-11-17 23:26:28 +0100 |
commit | 364183f6688b2cf0d971f91fb753c4125f08583f (patch) | |
tree | 2abc7c88daae937ca6a37fff59a4d54fdb433805 /doc | |
parent | 4062c7a8ab23270590fadf1f804ed912ce26310e (diff) | |
download | hercules-364183f6688b2cf0d971f91fb753c4125f08583f.tar.gz hercules-364183f6688b2cf0d971f91fb753c4125f08583f.tar.bz2 hercules-364183f6688b2cf0d971f91fb753c4125f08583f.tar.xz hercules-364183f6688b2cf0d971f91fb753c4125f08583f.zip |
Constants Documentation Sync
Signed-off-by: HerculesWSAPI <dev@herc.ws>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/constants.md | 1251 |
1 files changed, 635 insertions, 616 deletions
diff --git a/doc/constants.md b/doc/constants.md index 5ffef5175..bc2a16f52 100644 --- a/doc/constants.md +++ b/doc/constants.md @@ -1324,6 +1324,20 @@ - `SC_DAILYSENDMAILCNT`: 653 - `SC_DRESS_UP`: 652 - `SC_CLAN_INFO`: 654 +- `SC_SIT`: 655 +- `SC_MOON`: 656 +- `SC_TING`: 657 +- `SC_DEVIL1`: 658 +- `SC_RIDING`: 659 +- `SC_FALCON`: 660 +- `SC_WUGRIDER`: 661 +- `SC_POSTDELAY`: 662 +- `SC_ON_PUSH_CART`: 663 +- `SC_RESIST_PROPERTY_WATER`: 664 +- `SC_RESIST_PROPERTY_GROUND`: 665 +- `SC_RESIST_PROPERTY_FIRE`: 666 +- `SC_RESIST_PROPERTY_WIND`: 667 +- `SC_CLIENT_ONLY_EQUIP_ARROW`: 668 ### Emotes @@ -3969,621 +3983,7 @@ - `INVENTORY_INCREASE_STEP`: 10 - -## Hardcoded Constants (source) - - -### Boolean - -- `true`: 1 -- `false`: 0 - -### Server defines - -- `PACKETVER`: 20141022 -- `MAX_LEVEL`: 175 -- `MAX_STORAGE`: 600 -- `MAX_GUILD_STORAGE`: 600 -- `MAX_CART`: 100 -- `MAX_INVENTORY`: 100 -- `FIXED_INVENTORY_SIZE`: 100 -- `MAX_ZENY`: 2147483647 -- `MAX_BANK_ZENY`: 2147483647 -- `MAX_BG_MEMBERS`: 30 -- `MAX_CHAT_USERS`: 20 -- `MAX_REFINE`: 20 -- `MAX_ITEM_ID`: 65535 -- `MAX_MENU_OPTIONS`: 255 -- `MAX_MENU_LENGTH`: 2048 -- `MOB_CLONE_START`: 4001 -- `MOB_CLONE_END`: 5000 -- `MAX_NPC_PER_MAP`: 512 - -### status options - -- `Option_Nothing`: 0 -- `Option_Sight`: 1 -- `Option_Hide`: 2 -- `Option_Cloak`: 4 -- `Option_Falcon`: 16 -- `Option_Riding`: 32 -- `Option_Invisible`: 64 -- `Option_Orcish`: 2048 -- `Option_Wedding`: 4096 -- `Option_Chasewalk`: 16384 -- `Option_Flying`: 32768 -- `Option_Xmas`: 65536 -- `Option_Transform`: 131072 -- `Option_Summer`: 262144 -- `Option_Dragon1`: 524288 -- `Option_Wug`: 1048576 -- `Option_Wugrider`: 2097152 -- `Option_Madogear`: 4194304 -- `Option_Dragon2`: 8388608 -- `Option_Dragon3`: 16777216 -- `Option_Dragon4`: 33554432 -- `Option_Dragon5`: 67108864 -- `Option_Hanbok`: 134217728 -- `Option_Oktoberfest`: 268435456 -- `Option_Summer2`: 536870912 - -### status option compounds - -- `Option_Dragon`: 126353408 -- `Option_Costume`: 939855872 - -### send_target - -- `ALL_CLIENT`: 0 -- `ALL_SAMEMAP`: 1 -- `AREA`: 2 -- `AREA_WOS`: 3 -- `AREA_WOC`: 4 -- `AREA_WOSC`: 5 -- `AREA_CHAT_WOC`: 6 -- `CHAT`: 8 -- `CHAT_WOS`: 9 -- `PARTY`: 10 -- `PARTY_WOS`: 11 -- `PARTY_SAMEMAP`: 12 -- `PARTY_SAMEMAP_WOS`: 13 -- `PARTY_AREA`: 14 -- `PARTY_AREA_WOS`: 15 -- `GUILD`: 16 -- `GUILD_WOS`: 17 -- `GUILD_SAMEMAP`: 18 -- `GUILD_SAMEMAP_WOS`: 19 -- `GUILD_AREA`: 20 -- `GUILD_AREA_WOS`: 21 -- `GUILD_NOBG`: 22 -- `DUEL`: 23 -- `DUEL_WOS`: 24 -- `SELF`: 25 -- `BG`: 26 -- `BG_WOS`: 27 -- `BG_SAMEMAP`: 28 -- `BG_SAMEMAP_WOS`: 29 -- `BG_AREA`: 30 -- `BG_AREA_WOS`: 31 -- `BG_QUEUE`: 32 - -### LOOK_ constants, use in setlook/changelook script commands - -- `LOOK_BASE`: 0 -- `LOOK_HAIR`: 1 -- `LOOK_WEAPON`: 2 -- `LOOK_HEAD_BOTTOM`: 3 -- `LOOK_HEAD_TOP`: 4 -- `LOOK_HEAD_MID`: 5 -- `LOOK_HAIR_COLOR`: 6 -- `LOOK_CLOTHES_COLOR`: 7 -- `LOOK_SHIELD`: 8 -- `LOOK_SHOES`: 9 -- `LOOK_BODY`: 10 -- `LOOK_FLOOR`: 11 -- `LOOK_ROBE`: 12 -- `LOOK_BODY2`: 13 - -### Equip Position in Bits, use with *getiteminfo type 5, or @inventorylist_equip - -- `EQP_HEAD_LOW`: 1 -- `EQP_HEAD_MID`: 512 -- `EQP_HEAD_TOP`: 256 -- `EQP_HAND_R`: 2 -- `EQP_HAND_L`: 32 -- `EQP_ARMOR`: 16 -- `EQP_SHOES`: 64 -- `EQP_GARMENT`: 4 -- `EQP_ACC_L`: 8 -- `EQP_ACC_R`: 128 -- `EQP_COSTUME_HEAD_TOP`: 1024 -- `EQP_COSTUME_HEAD_MID`: 2048 -- `EQP_COSTUME_HEAD_LOW`: 4096 -- `EQP_COSTUME_GARMENT`: 8192 -- `EQP_AMMO`: 32768 -- `EQP_SHADOW_ARMOR`: 65536 -- `EQP_SHADOW_WEAPON`: 131072 -- `EQP_SHADOW_SHIELD`: 262144 -- `EQP_SHADOW_SHOES`: 524288 -- `EQP_SHADOW_ACC_R`: 1048576 -- `EQP_SHADOW_ACC_L`: 2097152 -- `EQP_WEAPON`: 2 -- `EQP_SHIELD`: 32 -- `EQP_ARMS`: 34 -- `EQP_HELM`: 769 -- `EQP_ACC`: 136 -- `EQP_COSTUME`: 15360 -- `EQP_SHADOW_ACC`: 3145728 -- `EQP_SHADOW_ARMS`: 393216 - -### Item Option Types - -- `IT_OPT_INDEX`: 0 -- `IT_OPT_VALUE`: 1 -- `IT_OPT_PARAM`: 2 - -### Maximum Item Options - -- `MAX_ITEM_OPTIONS`: 5 - -### Navigation constants, use with *navigateto* - -- `NAV_NONE`: 0 -- `NAV_AIRSHIP_ONLY`: 1 -- `NAV_SCROLL_ONLY`: 10 -- `NAV_AIRSHIP_AND_SCROLL`: 11 -- `NAV_KAFRA_ONLY`: 100 -- `NAV_KAFRA_AND_AIRSHIP`: 101 -- `NAV_KAFRA_AND_SCROLL`: 110 -- `NAV_ALL`: 111 - -### BL types - -- `BL_PC`: 1 -- `BL_MOB`: 2 -- `BL_PET`: 4 -- `BL_HOM`: 8 -- `BL_MER`: 16 -- `BL_ITEM`: 32 -- `BL_SKILL`: 64 -- `BL_NPC`: 128 -- `BL_CHAT`: 256 -- `BL_ELEM`: 512 -- `BL_CHAR`: 539 -- `BL_ALL`: 4095 - -### Refine Chance Types - -- `REFINE_CHANCE_TYPE_NORMAL`: 0 -- `REFINE_CHANCE_TYPE_ENRICHED`: 1 -- `REFINE_CHANCE_TYPE_E_NORMAL`: 2 -- `REFINE_CHANCE_TYPE_E_ENRICHED`: 3 - -### Player permissions - -- `PERM_TRADE`: 1 -- `PERM_PARTY`: 2 -- `PERM_ALL_SKILL`: 4 -- `PERM_USE_ALL_EQUIPMENT`: 8 -- `PERM_SKILL_UNCONDITIONAL`: 16 -- `PERM_JOIN_ALL_CHAT`: 32 -- `PERM_NO_CHAT_KICK`: 64 -- `PERM_HIDE_SESSION`: 128 -- `PERM_RECEIVE_HACK_INFO`: 512 -- `PERM_WARP_ANYWHERE`: 1024 -- `PERM_VIEW_HPMETER`: 2048 -- `PERM_VIEW_EQUIPMENT`: 4096 -- `PERM_USE_CHECK`: 8192 -- `PERM_USE_CHANGEMAPTYPE`: 16384 -- `PERM_USE_ALL_COMMANDS`: 32768 -- `PERM_RECEIVE_REQUESTS`: 65536 -- `PERM_SHOW_BOSS`: 131072 -- `PERM_DISABLE_PVM`: 262144 -- `PERM_DISABLE_PVP`: 524288 -- `PERM_DISABLE_CMD_DEAD`: 1048576 -- `PERM_HCHSYS_ADMIN`: 2097152 -- `PERM_TRADE_BOUND`: 4194304 -- `PERM_DISABLE_PICK_UP`: 8388608 -- `PERM_DISABLE_STORE`: 16777216 -- `PERM_DISABLE_EXP`: 33554432 -- `PERM_DISABLE_SKILL_USAGE`: 67108864 -- `PERM_BYPASS_NOSTORAGE`: 134217728 - -### Data types - -- `DATATYPE_NIL`: 128 -- `DATATYPE_STR`: 256 -- `DATATYPE_INT`: 512 -- `DATATYPE_CONST`: 1024 -- `DATATYPE_PARAM`: 2048 -- `DATATYPE_VAR`: 4096 -- `DATATYPE_LABEL`: 8192 - -### Logmes types - -- `LOGMES_NPC`: 0 -- `LOGMES_ATCOMMAND`: 1 - -### Item Subtypes (Weapon types) - -- `W_FIST`: 0 -- `W_DAGGER`: 1 -- `W_1HSWORD`: 2 -- `W_2HSWORD`: 3 -- `W_1HSPEAR`: 4 -- `W_2HSPEAR`: 5 -- `W_1HAXE`: 6 -- `W_2HAXE`: 7 -- `W_MACE`: 8 -- `W_2HMACE`: 9 -- `W_STAFF`: 10 -- `W_BOW`: 11 -- `W_KNUCKLE`: 12 -- `W_MUSICAL`: 13 -- `W_WHIP`: 14 -- `W_BOOK`: 15 -- `W_KATAR`: 16 -- `W_REVOLVER`: 17 -- `W_RIFLE`: 18 -- `W_GATLING`: 19 -- `W_SHOTGUN`: 20 -- `W_GRENADE`: 21 -- `W_HUUMA`: 22 -- `W_2HSTAFF`: 23 - -### Item Subtypes (Ammunition types) - -- `A_ARROW`: 1 -- `A_DAGGER`: 2 -- `A_BULLET`: 3 -- `A_SHELL`: 4 -- `A_GRENADE`: 5 -- `A_SHURIKEN`: 6 -- `A_KUNAI`: 7 -- `A_CANNONBALL`: 8 -- `A_THROWWEAPON`: 9 - -### Item Upper Masks - -- `ITEMUPPER_NONE`: 0 -- `ITEMUPPER_NORMAL`: 1 -- `ITEMUPPER_UPPER`: 2 -- `ITEMUPPER_BABY`: 4 -- `ITEMUPPER_THIRD`: 8 -- `ITEMUPPER_THIRDUPPER`: 16 -- `ITEMUPPER_THIRDBABY`: 32 -- `ITEMUPPER_ALL`: 63 - -### dressroom modes - -- `DRESSROOM_OPEN`: 1 -- `DRESSROOM_CLOSE`: 0 - -### getmapinfo options - -- `MAPINFO_NAME`: 0 -- `MAPINFO_ID`: 1 -- `MAPINFO_SIZE_X`: 2 -- `MAPINFO_SIZE_Y`: 3 -- `MAPINFO_ZONE`: 4 -- `MAPINFO_NPC_COUNT`: 5 - -### consolemes options - -- `CONSOLEMES_DEBUG`: 0 -- `CONSOLEMES_ERROR`: 1 -- `CONSOLEMES_WARNING`: 2 -- `CONSOLEMES_INFO`: 3 -- `CONSOLEMES_STATUS`: 4 -- `CONSOLEMES_NOTICE`: 5 - -### set/getiteminfo options - -- `ITEMINFO_BUYPRICE`: 0 -- `ITEMINFO_SELLPRICE`: 1 -- `ITEMINFO_TYPE`: 2 -- `ITEMINFO_MAXCHANCE`: 3 -- `ITEMINFO_SEX`: 4 -- `ITEMINFO_LOC`: 5 -- `ITEMINFO_WEIGHT`: 6 -- `ITEMINFO_ATK`: 7 -- `ITEMINFO_DEF`: 8 -- `ITEMINFO_RANGE`: 9 -- `ITEMINFO_SLOTS`: 10 -- `ITEMINFO_SUBTYPE`: 11 -- `ITEMINFO_ELV`: 12 -- `ITEMINFO_WLV`: 13 -- `ITEMINFO_VIEWID`: 14 -- `ITEMINFO_MATK`: 15 -- `ITEMINFO_VIEWSPRITE`: 16 -- `ITEMINFO_TRADE`: 17 -- `ITEMINFO_ELV_MAX`: 18 -- `ITEMINFO_DROPEFFECT_MODE`: 19 -- `ITEMINFO_DELAY`: 20 -- `ITEMINFO_CLASS_BASE_1`: 21 -- `ITEMINFO_CLASS_BASE_2`: 22 -- `ITEMINFO_CLASS_BASE_3`: 23 -- `ITEMINFO_CLASS_UPPER`: 24 -- `ITEMINFO_FLAG_NO_REFINE`: 25 -- `ITEMINFO_FLAG_DELAY_CONSUME`: 26 -- `ITEMINFO_FLAG_AUTOEQUIP`: 27 -- `ITEMINFO_FLAG_AUTO_FAVORITE`: 28 -- `ITEMINFO_FLAG_BUYINGSTORE`: 29 -- `ITEMINFO_FLAG_BINDONEQUIP`: 30 -- `ITEMINFO_FLAG_KEEPAFTERUSE`: 31 -- `ITEMINFO_FLAG_FORCE_SERIAL`: 32 -- `ITEMINFO_FLAG_NO_OPTIONS`: 33 -- `ITEMINFO_FLAG_DROP_ANNOUNCE`: 34 -- `ITEMINFO_FLAG_SHOWDROPEFFECT`: 35 -- `ITEMINFO_STACK_AMOUNT`: 36 -- `ITEMINFO_STACK_FLAG`: 37 -- `ITEMINFO_ITEM_USAGE_FLAG`: 38 -- `ITEMINFO_ITEM_USAGE_OVERRIDE`: 39 -- `ITEMINFO_GM_LV_TRADE_OVERRIDE`: 40 - -### getmercinfo options - -- `MERCINFO_ID,`: 0 -- `MERCINFO_CLASS`: 1 -- `MERCINFO_NAME`: 2 -- `MERCINFO_FAITH`: 3 -- `MERCINFO_CALLS`: 4 -- `MERCINFO_KILLCOUNT`: 5 -- `MERCINFO_LIFETIME`: 6 -- `MERCINFO_LEVEL`: 7 -- `MERCINFO_GID`: 8 - -### getpetinfo options - -- `PETINFO_ID`: 0 -- `PETINFO_CLASS`: 1 -- `PETINFO_NAME`: 2 -- `PETINFO_INTIMACY`: 3 -- `PETINFO_HUNGRY`: 4 -- `PETINFO_RENAME`: 5 -- `PETINFO_GID`: 6 -- `PETINFO_EGGITEM`: 7 -- `PETINFO_FOODITEM`: 8 -- `PETINFO_ACCESSORYITEM`: 9 -- `PETINFO_ACCESSORYFLAG`: 10 -- `PETINFO_EVO_EGGID`: 11 -- `PETINFO_AUTOFEED`: 12 - -### monster skill states - -- `MSS_ANY`: -1 -- `MSS_IDLE`: 0 -- `MSS_WALK`: 1 -- `MSS_LOOT`: 2 -- `MSS_DEAD`: 3 -- `MSS_BERSERK`: 4 -- `MSS_ANGRY`: 5 -- `MSS_RUSH`: 6 -- `MSS_FOLLOW`: 7 -- `MSS_ANYTARGET`: 8 - -### monster skill conditions - -- `MSC_ANY`: -1 -- `MSC_ALWAYS`: 0 -- `MSC_MYHPLTMAXRATE`: 1 -- `MSC_MYHPINRATE`: 2 -- `MSC_FRIENDHPLTMAXRATE`: 3 -- `MSC_FRIENDHPINRATE`: 4 -- `MSC_MYSTATUSON`: 5 -- `MSC_MYSTATUSOFF`: 6 -- `MSC_FRIENDSTATUSON`: 7 -- `MSC_FRIENDSTATUSOFF`: 8 -- `MSC_ATTACKPCGT`: 9 -- `MSC_ATTACKPCGE`: 10 -- `MSC_SLAVELT`: 11 -- `MSC_SLAVELE`: 12 -- `MSC_CLOSEDATTACKED`: 13 -- `MSC_LONGRANGEATTACKED`: 14 -- `MSC_SKILLUSED`: 16 -- `MSC_AFTERSKILL`: 15 -- `MSC_CASTTARGETED`: 17 -- `MSC_RUDEATTACKED`: 18 -- `MSC_MASTERHPLTMAXRATE`: 19 -- `MSC_MASTERATTACKED`: 20 -- `MSC_ALCHEMIST`: 21 -- `MSC_SPAWN`: 22 - -### monster skill targets - -- `MST_TARGET`: 0 -- `MST_RANDOM`: 1 -- `MST_SELF`: 2 -- `MST_FRIEND`: 3 -- `MST_MASTER`: 4 -- `MST_AROUND5`: 5 -- `MST_AROUND6`: 6 -- `MST_AROUND7`: 7 -- `MST_AROUND8`: 8 -- `MST_AROUND1`: 9 -- `MST_AROUND2`: 10 -- `MST_AROUND3`: 11 -- `MST_AROUND4`: 12 -- `MST_AROUND`: 12 - -### pc block constants, use with *setpcblock* and *checkpcblock* - -- `PCBLOCK_NONE`: 0 -- `PCBLOCK_MOVE`: 1 -- `PCBLOCK_ATTACK`: 2 -- `PCBLOCK_SKILL`: 4 -- `PCBLOCK_USEITEM`: 8 -- `PCBLOCK_CHAT`: 16 -- `PCBLOCK_IMMUNE`: 32 -- `PCBLOCK_SITSTAND`: 64 -- `PCBLOCK_COMMANDS`: 128 - -### private airship responds - -- `P_AIRSHIP_NONE`: 0 -- `P_AIRSHIP_RETRY`: 1 -- `P_AIRSHIP_INVALID_START_MAP`: 4 -- `P_AIRSHIP_INVALID_END_MAP`: 3 -- `P_AIRSHIP_ITEM_NOT_ENOUGH`: 2 -- `P_AIRSHIP_ITEM_INVALID`: 5 - -### questinfo types - -- `QINFO_JOB`: 0 -- `QINFO_SEX`: 1 -- `QINFO_BASE_LEVEL`: 2 -- `QINFO_JOB_LEVEL`: 3 -- `QINFO_ITEM`: 4 -- `QINFO_HOMUN_LEVEL`: 5 -- `QINFO_HOMUN_TYPE`: 6 -- `QINFO_QUEST`: 7 -- `QINFO_MERCENARY_CLASS`: 8 - -### function types - -- `FUNCTION_IS_COMMAND`: 1 -- `FUNCTION_IS_GLOBAL`: 2 -- `FUNCTION_IS_LOCAL`: 3 -- `FUNCTION_IS_LABEL`: 4 - -### item trade restrictions - -- `ITR_NONE`: 0 -- `ITR_NODROP`: 1 -- `ITR_NOTRADE`: 2 -- `ITR_PARTNEROVERRIDE`: 4 -- `ITR_NOSELLTONPC`: 8 -- `ITR_NOCART`: 16 -- `ITR_NOSTORAGE`: 32 -- `ITR_NOGSTORAGE`: 64 -- `ITR_NOMAIL`: 128 -- `ITR_NOAUCTION`: 256 -- `ITR_ALL`: 511 - -### inventory expand ack responds - -- `EXPAND_INV_ASK_CONFIRMATION`: 0 -- `EXPAND_INV_FAILED`: 1 -- `EXPAND_INV_OTHER_WORK`: 2 -- `EXPAND_INV_MISSING_ITEM`: 3 -- `EXPAND_INV_MAX_SIZE`: 4 - -### inventory expand final responds - -- `EXPAND_INV_RESULT_SUCCESS`: 0 -- `EXPAND_INV_RESULT_FAILED`: 1 -- `EXPAND_INV_RESULT_OTHER_WORK`: 2 -- `EXPAND_INV_RESULT_MISSING_ITEM`: 3 -- `EXPAND_INV_RESULT_MAX_SIZE`: 4 - -### trader type - -- `NST_ZENY`: 0 -- `NST_CASH`: 1 -- `NST_MARKET`: 2 -- `NST_CUSTOM`: 3 -- `NST_BARTER`: 4 - -### script unit data types - -- `UDT_TYPE`: 0 -- `UDT_SIZE`: 1 -- `UDT_LEVEL`: 2 -- `UDT_HP`: 3 -- `UDT_MAXHP`: 4 -- `UDT_SP`: 5 -- `UDT_MAXSP`: 6 -- `UDT_MASTERAID`: 7 -- `UDT_MASTERCID`: 8 -- `UDT_MAPIDXY`: 9 **(DEPRECATED)** -- `UDT_WALKTOXY`: 10 **(DEPRECATED)** -- `UDT_SPEED`: 11 -- `UDT_MODE`: 12 -- `UDT_AI`: 13 -- `UDT_SCOPTION`: 14 -- `UDT_SEX`: 15 -- `UDT_CLASS`: 16 -- `UDT_HAIRSTYLE`: 17 -- `UDT_HAIRCOLOR`: 18 -- `UDT_HEADBOTTOM`: 19 -- `UDT_HEADMIDDLE`: 20 -- `UDT_HEADTOP`: 21 -- `UDT_CLOTHCOLOR`: 22 -- `UDT_SHIELD`: 23 -- `UDT_WEAPON`: 24 -- `UDT_LOOKDIR`: 25 -- `UDT_CANMOVETICK`: 26 -- `UDT_STR`: 27 -- `UDT_AGI`: 28 -- `UDT_VIT`: 29 -- `UDT_INT`: 30 -- `UDT_DEX`: 31 -- `UDT_LUK`: 32 -- `UDT_ATKRANGE`: 33 -- `UDT_ATKMIN`: 34 -- `UDT_ATKMAX`: 35 -- `UDT_MATKMIN`: 36 -- `UDT_MATKMAX`: 37 -- `UDT_DEF`: 38 -- `UDT_MDEF`: 39 -- `UDT_HIT`: 40 -- `UDT_FLEE`: 41 -- `UDT_PDODGE`: 42 -- `UDT_CRIT`: 43 -- `UDT_RACE`: 44 -- `UDT_ELETYPE`: 45 -- `UDT_ELELEVEL`: 46 -- `UDT_AMOTION`: 47 -- `UDT_ADELAY`: 48 -- `UDT_DMOTION`: 49 -- `UDT_HUNGER`: 50 -- `UDT_INTIMACY`: 51 -- `UDT_LIFETIME`: 52 -- `UDT_MERC_KILLCOUNT`: 53 -- `UDT_STATPOINT`: 54 -- `UDT_ROBE`: 55 -- `UDT_BODY2`: 56 -- `UDT_GROUP`: 57 -- `UDT_DAMAGE_TAKEN_RATE`: 58 - -### getguildonline types - -- `GUILD_ONLINE_ALL`: 0 -- `GUILD_ONLINE_VENDOR`: 1 -- `GUILD_ONLINE_NO_VENDOR`: 2 - -### Siege Types - -- `SIEGE_TYPE_FE`: 0 -- `SIEGE_TYPE_SE`: 1 -- `SIEGE_TYPE_TE`: 2 - -### guildinfo types - -- `GUILDINFO_NAME`: 0 -- `GUILDINFO_ID`: 1 -- `GUILDINFO_LEVEL`: 2 -- `GUILDINFO_ONLINE`: 3 -- `GUILDINFO_AV_LEVEL`: 4 -- `GUILDINFO_MAX_MEMBERS`: 5 -- `GUILDINFO_EXP`: 6 -- `GUILDINFO_NEXT_EXP`: 7 -- `GUILDINFO_SKILL_POINTS`: 8 -- `GUILDINFO_MASTER_NAME`: 9 -- `GUILDINFO_MASTER_CID`: 10 - -### Renewal - -- `RENEWAL`: 1 -- `RENEWAL_CAST`: 1 -- `RENEWAL_DROP`: 1 -- `RENEWAL_EXP`: 1 -- `RENEWAL_LVDMG`: 1 -- `RENEWAL_EDP`: 1 -- `RENEWAL_ASPD`: 1 - - -### Status Icons +### Status Effect Icons - `SI_BLANK`: -1 - `SI_PROVOKE`: 0 @@ -5213,8 +4613,10 @@ - `SI_MTF_HITFLEE`: 796 - `SI_FLOWERSMOKE`: 822 - `SI_FSTONE`: 823 +- `SI_DAILYSENDMAILCNT`: 824 - `SI_LJOSALFAR`: 826 - `SI_HAPPINESS_STAR`: 849 +- `SI_DRESS_UP`: 856 - `SI_MAPLE_FALLS`: 857 - `SI_MERMAID_LONGING`: 863 - `SI_MAGICAL_FEATHER`: 864 @@ -5223,6 +4625,10 @@ - `SI_CATNIPPOWDER`: 894 - `SI_BLOSSOM_FLUTTERING`: 895 - `SI_SV_ROOTTWIST`: 896 +- `SI_RESIST_PROPERTY_WATER`: 908 +- `SI_RESIST_PROPERTY_GROUND`: 909 +- `SI_RESIST_PROPERTY_FIRE`: 910 +- `SI_RESIST_PROPERTY_WIND`: 911 - `SI_BITESCAR`: 917 - `SI_ARCLOUSEDASH`: 918 - `SI_TUNAPARTY`: 919 @@ -5230,7 +4636,620 @@ - `SI_FRESHSHRIMP`: 921 - `SI_SUHIDE`: 933 - `SI_SPRITEMABLE`: 937 -- `SI_MAX`: 938 + + +## Hardcoded Constants (source) + + +### Boolean + +- `true`: 1 +- `false`: 0 + +### Server defines + +- `PACKETVER`: 20141022 +- `MAX_LEVEL`: 175 +- `MAX_STORAGE`: 600 +- `MAX_GUILD_STORAGE`: 600 +- `MAX_CART`: 100 +- `MAX_INVENTORY`: 100 +- `FIXED_INVENTORY_SIZE`: 100 +- `MAX_ZENY`: 2147483647 +- `MAX_BANK_ZENY`: 2147483647 +- `MAX_BG_MEMBERS`: 30 +- `MAX_CHAT_USERS`: 20 +- `MAX_REFINE`: 20 +- `MAX_ITEM_ID`: 65535 +- `MAX_MENU_OPTIONS`: 255 +- `MAX_MENU_LENGTH`: 2048 +- `MOB_CLONE_START`: 4001 +- `MOB_CLONE_END`: 5000 +- `MAX_NPC_PER_MAP`: 512 + +### status options + +- `Option_Nothing`: 0 +- `Option_Sight`: 1 +- `Option_Hide`: 2 +- `Option_Cloak`: 4 +- `Option_Falcon`: 16 +- `Option_Riding`: 32 +- `Option_Invisible`: 64 +- `Option_Orcish`: 2048 +- `Option_Wedding`: 4096 +- `Option_Chasewalk`: 16384 +- `Option_Flying`: 32768 +- `Option_Xmas`: 65536 +- `Option_Transform`: 131072 +- `Option_Summer`: 262144 +- `Option_Dragon1`: 524288 +- `Option_Wug`: 1048576 +- `Option_Wugrider`: 2097152 +- `Option_Madogear`: 4194304 +- `Option_Dragon2`: 8388608 +- `Option_Dragon3`: 16777216 +- `Option_Dragon4`: 33554432 +- `Option_Dragon5`: 67108864 +- `Option_Hanbok`: 134217728 +- `Option_Oktoberfest`: 268435456 +- `Option_Summer2`: 536870912 + +### status option compounds + +- `Option_Dragon`: 126353408 +- `Option_Costume`: 939855872 + +### send_target + +- `ALL_CLIENT`: 0 +- `ALL_SAMEMAP`: 1 +- `AREA`: 2 +- `AREA_WOS`: 3 +- `AREA_WOC`: 4 +- `AREA_WOSC`: 5 +- `AREA_CHAT_WOC`: 6 +- `CHAT`: 8 +- `CHAT_WOS`: 9 +- `PARTY`: 10 +- `PARTY_WOS`: 11 +- `PARTY_SAMEMAP`: 12 +- `PARTY_SAMEMAP_WOS`: 13 +- `PARTY_AREA`: 14 +- `PARTY_AREA_WOS`: 15 +- `GUILD`: 16 +- `GUILD_WOS`: 17 +- `GUILD_SAMEMAP`: 18 +- `GUILD_SAMEMAP_WOS`: 19 +- `GUILD_AREA`: 20 +- `GUILD_AREA_WOS`: 21 +- `GUILD_NOBG`: 22 +- `DUEL`: 23 +- `DUEL_WOS`: 24 +- `SELF`: 25 +- `BG`: 26 +- `BG_WOS`: 27 +- `BG_SAMEMAP`: 28 +- `BG_SAMEMAP_WOS`: 29 +- `BG_AREA`: 30 +- `BG_AREA_WOS`: 31 +- `BG_QUEUE`: 32 + +### LOOK_ constants, use in setlook/changelook script commands + +- `LOOK_BASE`: 0 +- `LOOK_HAIR`: 1 +- `LOOK_WEAPON`: 2 +- `LOOK_HEAD_BOTTOM`: 3 +- `LOOK_HEAD_TOP`: 4 +- `LOOK_HEAD_MID`: 5 +- `LOOK_HAIR_COLOR`: 6 +- `LOOK_CLOTHES_COLOR`: 7 +- `LOOK_SHIELD`: 8 +- `LOOK_SHOES`: 9 +- `LOOK_BODY`: 10 +- `LOOK_FLOOR`: 11 +- `LOOK_ROBE`: 12 +- `LOOK_BODY2`: 13 + +### Equip Position in Bits, use with *getiteminfo type 5, or @inventorylist_equip + +- `EQP_HEAD_LOW`: 1 +- `EQP_HEAD_MID`: 512 +- `EQP_HEAD_TOP`: 256 +- `EQP_HAND_R`: 2 +- `EQP_HAND_L`: 32 +- `EQP_ARMOR`: 16 +- `EQP_SHOES`: 64 +- `EQP_GARMENT`: 4 +- `EQP_ACC_L`: 8 +- `EQP_ACC_R`: 128 +- `EQP_COSTUME_HEAD_TOP`: 1024 +- `EQP_COSTUME_HEAD_MID`: 2048 +- `EQP_COSTUME_HEAD_LOW`: 4096 +- `EQP_COSTUME_GARMENT`: 8192 +- `EQP_AMMO`: 32768 +- `EQP_SHADOW_ARMOR`: 65536 +- `EQP_SHADOW_WEAPON`: 131072 +- `EQP_SHADOW_SHIELD`: 262144 +- `EQP_SHADOW_SHOES`: 524288 +- `EQP_SHADOW_ACC_R`: 1048576 +- `EQP_SHADOW_ACC_L`: 2097152 +- `EQP_WEAPON`: 2 +- `EQP_SHIELD`: 32 +- `EQP_ARMS`: 34 +- `EQP_HELM`: 769 +- `EQP_ACC`: 136 +- `EQP_COSTUME`: 15360 +- `EQP_SHADOW_ACC`: 3145728 +- `EQP_SHADOW_ARMS`: 393216 + +### Item Option Types + +- `IT_OPT_INDEX`: 0 +- `IT_OPT_VALUE`: 1 +- `IT_OPT_PARAM`: 2 + +### Maximum Item Options + +- `MAX_ITEM_OPTIONS`: 5 + +### Navigation constants, use with *navigateto* + +- `NAV_NONE`: 0 +- `NAV_AIRSHIP_ONLY`: 1 +- `NAV_SCROLL_ONLY`: 10 +- `NAV_AIRSHIP_AND_SCROLL`: 11 +- `NAV_KAFRA_ONLY`: 100 +- `NAV_KAFRA_AND_AIRSHIP`: 101 +- `NAV_KAFRA_AND_SCROLL`: 110 +- `NAV_ALL`: 111 + +### BL types + +- `BL_PC`: 1 +- `BL_MOB`: 2 +- `BL_PET`: 4 +- `BL_HOM`: 8 +- `BL_MER`: 16 +- `BL_ITEM`: 32 +- `BL_SKILL`: 64 +- `BL_NPC`: 128 +- `BL_CHAT`: 256 +- `BL_ELEM`: 512 +- `BL_CHAR`: 539 +- `BL_ALL`: 4095 + +### Refine Chance Types + +- `REFINE_CHANCE_TYPE_NORMAL`: 0 +- `REFINE_CHANCE_TYPE_ENRICHED`: 1 +- `REFINE_CHANCE_TYPE_E_NORMAL`: 2 +- `REFINE_CHANCE_TYPE_E_ENRICHED`: 3 + +### Player permissions + +- `PERM_TRADE`: 1 +- `PERM_PARTY`: 2 +- `PERM_ALL_SKILL`: 4 +- `PERM_USE_ALL_EQUIPMENT`: 8 +- `PERM_SKILL_UNCONDITIONAL`: 16 +- `PERM_JOIN_ALL_CHAT`: 32 +- `PERM_NO_CHAT_KICK`: 64 +- `PERM_HIDE_SESSION`: 128 +- `PERM_RECEIVE_HACK_INFO`: 512 +- `PERM_WARP_ANYWHERE`: 1024 +- `PERM_VIEW_HPMETER`: 2048 +- `PERM_VIEW_EQUIPMENT`: 4096 +- `PERM_USE_CHECK`: 8192 +- `PERM_USE_CHANGEMAPTYPE`: 16384 +- `PERM_USE_ALL_COMMANDS`: 32768 +- `PERM_RECEIVE_REQUESTS`: 65536 +- `PERM_SHOW_BOSS`: 131072 +- `PERM_DISABLE_PVM`: 262144 +- `PERM_DISABLE_PVP`: 524288 +- `PERM_DISABLE_CMD_DEAD`: 1048576 +- `PERM_HCHSYS_ADMIN`: 2097152 +- `PERM_TRADE_BOUND`: 4194304 +- `PERM_DISABLE_PICK_UP`: 8388608 +- `PERM_DISABLE_STORE`: 16777216 +- `PERM_DISABLE_EXP`: 33554432 +- `PERM_DISABLE_SKILL_USAGE`: 67108864 +- `PERM_BYPASS_NOSTORAGE`: 134217728 + +### Data types + +- `DATATYPE_NIL`: 128 +- `DATATYPE_STR`: 256 +- `DATATYPE_INT`: 512 +- `DATATYPE_CONST`: 1024 +- `DATATYPE_PARAM`: 2048 +- `DATATYPE_VAR`: 4096 +- `DATATYPE_LABEL`: 8192 + +### Logmes types + +- `LOGMES_NPC`: 0 +- `LOGMES_ATCOMMAND`: 1 + +### Item Subtypes (Weapon types) + +- `W_FIST`: 0 +- `W_DAGGER`: 1 +- `W_1HSWORD`: 2 +- `W_2HSWORD`: 3 +- `W_1HSPEAR`: 4 +- `W_2HSPEAR`: 5 +- `W_1HAXE`: 6 +- `W_2HAXE`: 7 +- `W_MACE`: 8 +- `W_2HMACE`: 9 +- `W_STAFF`: 10 +- `W_BOW`: 11 +- `W_KNUCKLE`: 12 +- `W_MUSICAL`: 13 +- `W_WHIP`: 14 +- `W_BOOK`: 15 +- `W_KATAR`: 16 +- `W_REVOLVER`: 17 +- `W_RIFLE`: 18 +- `W_GATLING`: 19 +- `W_SHOTGUN`: 20 +- `W_GRENADE`: 21 +- `W_HUUMA`: 22 +- `W_2HSTAFF`: 23 + +### Item Subtypes (Ammunition types) + +- `A_ARROW`: 1 +- `A_DAGGER`: 2 +- `A_BULLET`: 3 +- `A_SHELL`: 4 +- `A_GRENADE`: 5 +- `A_SHURIKEN`: 6 +- `A_KUNAI`: 7 +- `A_CANNONBALL`: 8 +- `A_THROWWEAPON`: 9 + +### Item Upper Masks + +- `ITEMUPPER_NONE`: 0 +- `ITEMUPPER_NORMAL`: 1 +- `ITEMUPPER_UPPER`: 2 +- `ITEMUPPER_BABY`: 4 +- `ITEMUPPER_THIRD`: 8 +- `ITEMUPPER_THIRDUPPER`: 16 +- `ITEMUPPER_THIRDBABY`: 32 +- `ITEMUPPER_ALL`: 63 + +### dressroom modes + +- `DRESSROOM_OPEN`: 1 +- `DRESSROOM_CLOSE`: 0 + +### getmapinfo options + +- `MAPINFO_NAME`: 0 +- `MAPINFO_ID`: 1 +- `MAPINFO_SIZE_X`: 2 +- `MAPINFO_SIZE_Y`: 3 +- `MAPINFO_ZONE`: 4 +- `MAPINFO_NPC_COUNT`: 5 + +### consolemes options + +- `CONSOLEMES_DEBUG`: 0 +- `CONSOLEMES_ERROR`: 1 +- `CONSOLEMES_WARNING`: 2 +- `CONSOLEMES_INFO`: 3 +- `CONSOLEMES_STATUS`: 4 +- `CONSOLEMES_NOTICE`: 5 + +### set/getiteminfo options + +- `ITEMINFO_BUYPRICE`: 0 +- `ITEMINFO_SELLPRICE`: 1 +- `ITEMINFO_TYPE`: 2 +- `ITEMINFO_MAXCHANCE`: 3 +- `ITEMINFO_SEX`: 4 +- `ITEMINFO_LOC`: 5 +- `ITEMINFO_WEIGHT`: 6 +- `ITEMINFO_ATK`: 7 +- `ITEMINFO_DEF`: 8 +- `ITEMINFO_RANGE`: 9 +- `ITEMINFO_SLOTS`: 10 +- `ITEMINFO_SUBTYPE`: 11 +- `ITEMINFO_ELV`: 12 +- `ITEMINFO_WLV`: 13 +- `ITEMINFO_VIEWID`: 14 +- `ITEMINFO_MATK`: 15 +- `ITEMINFO_VIEWSPRITE`: 16 +- `ITEMINFO_TRADE`: 17 +- `ITEMINFO_ELV_MAX`: 18 +- `ITEMINFO_DROPEFFECT_MODE`: 19 +- `ITEMINFO_DELAY`: 20 +- `ITEMINFO_CLASS_BASE_1`: 21 +- `ITEMINFO_CLASS_BASE_2`: 22 +- `ITEMINFO_CLASS_BASE_3`: 23 +- `ITEMINFO_CLASS_UPPER`: 24 +- `ITEMINFO_FLAG_NO_REFINE`: 25 +- `ITEMINFO_FLAG_DELAY_CONSUME`: 26 +- `ITEMINFO_FLAG_AUTOEQUIP`: 27 +- `ITEMINFO_FLAG_AUTO_FAVORITE`: 28 +- `ITEMINFO_FLAG_BUYINGSTORE`: 29 +- `ITEMINFO_FLAG_BINDONEQUIP`: 30 +- `ITEMINFO_FLAG_KEEPAFTERUSE`: 31 +- `ITEMINFO_FLAG_FORCE_SERIAL`: 32 +- `ITEMINFO_FLAG_NO_OPTIONS`: 33 +- `ITEMINFO_FLAG_DROP_ANNOUNCE`: 34 +- `ITEMINFO_FLAG_SHOWDROPEFFECT`: 35 +- `ITEMINFO_STACK_AMOUNT`: 36 +- `ITEMINFO_STACK_FLAG`: 37 +- `ITEMINFO_ITEM_USAGE_FLAG`: 38 +- `ITEMINFO_ITEM_USAGE_OVERRIDE`: 39 +- `ITEMINFO_GM_LV_TRADE_OVERRIDE`: 40 + +### getmercinfo options + +- `MERCINFO_ID,`: 0 +- `MERCINFO_CLASS`: 1 +- `MERCINFO_NAME`: 2 +- `MERCINFO_FAITH`: 3 +- `MERCINFO_CALLS`: 4 +- `MERCINFO_KILLCOUNT`: 5 +- `MERCINFO_LIFETIME`: 6 +- `MERCINFO_LEVEL`: 7 +- `MERCINFO_GID`: 8 + +### getpetinfo options + +- `PETINFO_ID`: 0 +- `PETINFO_CLASS`: 1 +- `PETINFO_NAME`: 2 +- `PETINFO_INTIMACY`: 3 +- `PETINFO_HUNGRY`: 4 +- `PETINFO_RENAME`: 5 +- `PETINFO_GID`: 6 +- `PETINFO_EGGITEM`: 7 +- `PETINFO_FOODITEM`: 8 +- `PETINFO_ACCESSORYITEM`: 9 +- `PETINFO_ACCESSORYFLAG`: 10 +- `PETINFO_EVO_EGGID`: 11 +- `PETINFO_AUTOFEED`: 12 + +### monster skill states + +- `MSS_ANY`: -1 +- `MSS_IDLE`: 0 +- `MSS_WALK`: 1 +- `MSS_LOOT`: 2 +- `MSS_DEAD`: 3 +- `MSS_BERSERK`: 4 +- `MSS_ANGRY`: 5 +- `MSS_RUSH`: 6 +- `MSS_FOLLOW`: 7 +- `MSS_ANYTARGET`: 8 + +### monster skill conditions + +- `MSC_ANY`: -1 +- `MSC_ALWAYS`: 0 +- `MSC_MYHPLTMAXRATE`: 1 +- `MSC_MYHPINRATE`: 2 +- `MSC_FRIENDHPLTMAXRATE`: 3 +- `MSC_FRIENDHPINRATE`: 4 +- `MSC_MYSTATUSON`: 5 +- `MSC_MYSTATUSOFF`: 6 +- `MSC_FRIENDSTATUSON`: 7 +- `MSC_FRIENDSTATUSOFF`: 8 +- `MSC_ATTACKPCGT`: 9 +- `MSC_ATTACKPCGE`: 10 +- `MSC_SLAVELT`: 11 +- `MSC_SLAVELE`: 12 +- `MSC_CLOSEDATTACKED`: 13 +- `MSC_LONGRANGEATTACKED`: 14 +- `MSC_SKILLUSED`: 16 +- `MSC_AFTERSKILL`: 15 +- `MSC_CASTTARGETED`: 17 +- `MSC_RUDEATTACKED`: 18 +- `MSC_MASTERHPLTMAXRATE`: 19 +- `MSC_MASTERATTACKED`: 20 +- `MSC_ALCHEMIST`: 21 +- `MSC_SPAWN`: 22 + +### monster skill targets + +- `MST_TARGET`: 0 +- `MST_RANDOM`: 1 +- `MST_SELF`: 2 +- `MST_FRIEND`: 3 +- `MST_MASTER`: 4 +- `MST_AROUND5`: 5 +- `MST_AROUND6`: 6 +- `MST_AROUND7`: 7 +- `MST_AROUND8`: 8 +- `MST_AROUND1`: 9 +- `MST_AROUND2`: 10 +- `MST_AROUND3`: 11 +- `MST_AROUND4`: 12 +- `MST_AROUND`: 12 + +### pc block constants, use with *setpcblock* and *checkpcblock* + +- `PCBLOCK_NONE`: 0 +- `PCBLOCK_MOVE`: 1 +- `PCBLOCK_ATTACK`: 2 +- `PCBLOCK_SKILL`: 4 +- `PCBLOCK_USEITEM`: 8 +- `PCBLOCK_CHAT`: 16 +- `PCBLOCK_IMMUNE`: 32 +- `PCBLOCK_SITSTAND`: 64 +- `PCBLOCK_COMMANDS`: 128 + +### private airship responds + +- `P_AIRSHIP_NONE`: 0 +- `P_AIRSHIP_RETRY`: 1 +- `P_AIRSHIP_INVALID_START_MAP`: 4 +- `P_AIRSHIP_INVALID_END_MAP`: 3 +- `P_AIRSHIP_ITEM_NOT_ENOUGH`: 2 +- `P_AIRSHIP_ITEM_INVALID`: 5 + +### questinfo types + +- `QINFO_JOB`: 0 +- `QINFO_SEX`: 1 +- `QINFO_BASE_LEVEL`: 2 +- `QINFO_JOB_LEVEL`: 3 +- `QINFO_ITEM`: 4 +- `QINFO_HOMUN_LEVEL`: 5 +- `QINFO_HOMUN_TYPE`: 6 +- `QINFO_QUEST`: 7 +- `QINFO_MERCENARY_CLASS`: 8 + +### function types + +- `FUNCTION_IS_COMMAND`: 1 +- `FUNCTION_IS_GLOBAL`: 2 +- `FUNCTION_IS_LOCAL`: 3 +- `FUNCTION_IS_LABEL`: 4 + +### item trade restrictions + +- `ITR_NONE`: 0 +- `ITR_NODROP`: 1 +- `ITR_NOTRADE`: 2 +- `ITR_PARTNEROVERRIDE`: 4 +- `ITR_NOSELLTONPC`: 8 +- `ITR_NOCART`: 16 +- `ITR_NOSTORAGE`: 32 +- `ITR_NOGSTORAGE`: 64 +- `ITR_NOMAIL`: 128 +- `ITR_NOAUCTION`: 256 +- `ITR_ALL`: 511 + +### inventory expand ack responds + +- `EXPAND_INV_ASK_CONFIRMATION`: 0 +- `EXPAND_INV_FAILED`: 1 +- `EXPAND_INV_OTHER_WORK`: 2 +- `EXPAND_INV_MISSING_ITEM`: 3 +- `EXPAND_INV_MAX_SIZE`: 4 + +### inventory expand final responds + +- `EXPAND_INV_RESULT_SUCCESS`: 0 +- `EXPAND_INV_RESULT_FAILED`: 1 +- `EXPAND_INV_RESULT_OTHER_WORK`: 2 +- `EXPAND_INV_RESULT_MISSING_ITEM`: 3 +- `EXPAND_INV_RESULT_MAX_SIZE`: 4 + +### trader type + +- `NST_ZENY`: 0 +- `NST_CASH`: 1 +- `NST_MARKET`: 2 +- `NST_CUSTOM`: 3 +- `NST_BARTER`: 4 + +### script unit data types + +- `UDT_TYPE`: 0 +- `UDT_SIZE`: 1 +- `UDT_LEVEL`: 2 +- `UDT_HP`: 3 +- `UDT_MAXHP`: 4 +- `UDT_SP`: 5 +- `UDT_MAXSP`: 6 +- `UDT_MASTERAID`: 7 +- `UDT_MASTERCID`: 8 +- `UDT_MAPIDXY`: 9 **(DEPRECATED)** +- `UDT_WALKTOXY`: 10 **(DEPRECATED)** +- `UDT_SPEED`: 11 +- `UDT_MODE`: 12 +- `UDT_AI`: 13 +- `UDT_SCOPTION`: 14 +- `UDT_SEX`: 15 +- `UDT_CLASS`: 16 +- `UDT_HAIRSTYLE`: 17 +- `UDT_HAIRCOLOR`: 18 +- `UDT_HEADBOTTOM`: 19 +- `UDT_HEADMIDDLE`: 20 +- `UDT_HEADTOP`: 21 +- `UDT_CLOTHCOLOR`: 22 +- `UDT_SHIELD`: 23 +- `UDT_WEAPON`: 24 +- `UDT_LOOKDIR`: 25 +- `UDT_CANMOVETICK`: 26 +- `UDT_STR`: 27 +- `UDT_AGI`: 28 +- `UDT_VIT`: 29 +- `UDT_INT`: 30 +- `UDT_DEX`: 31 +- `UDT_LUK`: 32 +- `UDT_ATKRANGE`: 33 +- `UDT_ATKMIN`: 34 +- `UDT_ATKMAX`: 35 +- `UDT_MATKMIN`: 36 +- `UDT_MATKMAX`: 37 +- `UDT_DEF`: 38 +- `UDT_MDEF`: 39 +- `UDT_HIT`: 40 +- `UDT_FLEE`: 41 +- `UDT_PDODGE`: 42 +- `UDT_CRIT`: 43 +- `UDT_RACE`: 44 +- `UDT_ELETYPE`: 45 +- `UDT_ELELEVEL`: 46 +- `UDT_AMOTION`: 47 +- `UDT_ADELAY`: 48 +- `UDT_DMOTION`: 49 +- `UDT_HUNGER`: 50 +- `UDT_INTIMACY`: 51 +- `UDT_LIFETIME`: 52 +- `UDT_MERC_KILLCOUNT`: 53 +- `UDT_STATPOINT`: 54 +- `UDT_ROBE`: 55 +- `UDT_BODY2`: 56 +- `UDT_GROUP`: 57 +- `UDT_DAMAGE_TAKEN_RATE`: 58 + +### getguildonline types + +- `GUILD_ONLINE_ALL`: 0 +- `GUILD_ONLINE_VENDOR`: 1 +- `GUILD_ONLINE_NO_VENDOR`: 2 + +### Siege Types + +- `SIEGE_TYPE_FE`: 0 +- `SIEGE_TYPE_SE`: 1 +- `SIEGE_TYPE_TE`: 2 + +### guildinfo types + +- `GUILDINFO_NAME`: 0 +- `GUILDINFO_ID`: 1 +- `GUILDINFO_LEVEL`: 2 +- `GUILDINFO_ONLINE`: 3 +- `GUILDINFO_AV_LEVEL`: 4 +- `GUILDINFO_MAX_MEMBERS`: 5 +- `GUILDINFO_EXP`: 6 +- `GUILDINFO_NEXT_EXP`: 7 +- `GUILDINFO_SKILL_POINTS`: 8 +- `GUILDINFO_MASTER_NAME`: 9 +- `GUILDINFO_MASTER_CID`: 10 + +### Renewal + +- `RENEWAL`: 1 +- `RENEWAL_CAST`: 1 +- `RENEWAL_DROP`: 1 +- `RENEWAL_EXP`: 1 +- `RENEWAL_LVDMG`: 1 +- `RENEWAL_EDP`: 1 +- `RENEWAL_ASPD`: 1 + ## Parameters (source) |