From e1393f1f0a6ba6db4c2be02cd357f6a6a58de7f5 Mon Sep 17 00:00:00 2001 From: "Guilherme G. Menaldo" Date: Mon, 18 Dec 2023 09:28:11 -0300 Subject: [PATCH 1/3] Create enum for message.conf (msgtable) messages Co-authored-by: Tio Akima --- conf/messages.conf | 2 + src/common/msgtable.h | 2944 +++++++++++++++++++++++++++ src/map/atcommand.c | 13 +- src/map/atcommand.h | 1 - src/map/script.c | 3 +- src/plugins/generate-translations.c | 3 +- 6 files changed, 2957 insertions(+), 9 deletions(-) create mode 100644 src/common/msgtable.h diff --git a/conf/messages.conf b/conf/messages.conf index 75e83afdde7..c096fb2f931 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -2,6 +2,7 @@ //= Hercules messages.conf //===== Description: ========================================= //= This file handles all messages set throughout the server. +//= Source can access those IDs through MSGTBL_ (common/msgtable.h) enum //============================================================ // For translation, just change msg here (second line), // no need to modify source code or alternatively, @@ -12,6 +13,7 @@ // msg_number: translated message //============================================================ +// Remember to also create records in common/msgtable.h enum // 0-499: reserved for GM commands // 500-549: reserved for others // 550-699: reserved for job names (also loaded by char server) diff --git a/src/common/msgtable.h b/src/common/msgtable.h new file mode 100644 index 00000000000..d3a6a7a113b --- /dev/null +++ b/src/common/msgtable.h @@ -0,0 +1,2944 @@ +/** + * Messages from messages.conf + */ +enum msgtable_messages { + // 0 ~ 499: Messages of GM commands + // ----------------------- + /** Warped. */ + MSGTBL_WARPED = 0, + /** Map not found. */ + MSGTBL_MAP_NOT_FOUND = 1, + /** Invalid coordinates, using random target cell. */ + MSGTBL_INVALID_COORDINATES = 2, + /** Character not found. */ + MSGTBL_CHARACTER_NOT_FOUND = 3, + /** Jump to %s */ + MSGTBL_JUMP_TO_NAME = 4, + /** Jump to %d %d */ + MSGTBL_JUMP_TO_XY = 5, + /** Your save point has been changed. */ + MSGTBL_SAVE_POINT_CHANGED = 6, + /** Warping to save point. */ + MSGTBL_WARP_TO_SAVE_POINT = 7, + /** Speed changed. */ + MSGTBL_SPEED_CHANGED = 8, + /** Options changed. */ + MSGTBL_OPTIONS_CHANGED = 9, + /** Invisible: Off */ + MSGTBL_INVISIBLE_OFF = 10, + /** Invisible: On */ + MSGTBL_INVISIBLE_ON = 11, + /** Your job has been changed. */ + MSGTBL_JOB_CHANGED = 12, + /** You've died. */ + MSGTBL_YOU_DIED = 13, + /** Character killed. */ + MSGTBL_CHARACTER_KILLED = 14, + /** Unknown */ + MSGTBL_UNKNOWN = 15, + /** You've been revived! */ + MSGTBL_REVIVED = 16, + /** HP, SP recovered. */ + MSGTBL_HP_SP_RECOVERED = 17, + /** Item created. */ + MSGTBL_ITEM_CREATED = 18, + /** Invalid item ID or name. */ + MSGTBL_INVALID_ITEMID_NAME = 19, + /** All of your items have been removed. */ + MSGTBL_ITEMS_REMOVED = 20, + /** Base level raised. */ + MSGTBL_BASE_LEVEL_RAISED = 21, + /** Base level lowered. */ + MSGTBL_BASE_LEVEL_LOWERED = 22, + /** Job level can't go any higher. */ + MSGTBL_CANT_INCREASE_JOB_LEVEL = 23, + /** Job level raised. */ + MSGTBL_JOB_LEVEL_RAISED = 24, + /** Job level lowered. */ + MSGTBL_JOB_LEVEL_LOWERED = 25, + /** [%d] seconds left until you can use */ + MSGTBL_SECONDS_UNTIL_USE = 26, + /** Storage has been not loaded yet. */ + MSGTBL_STORAGE_NOT_LOADED = 27, + /** No player found. */ + MSGTBL_NO_PLAYER_FOUND = 28, + /** 1 player found. */ + MSGTBL_1_PLAYER_FOUND = 29, + /** %d players found. */ + MSGTBL_N_PLAYERS_FOUND = 30, + /** PvP: Off. */ + MSGTBL_PVP_OFF = 31, + /** PvP: On. */ + MSGTBL_PVP_ON = 32, + /** GvG: Off. */ + MSGTBL_GVG_OFF = 33, + /** GvG: On. */ + MSGTBL_GVG_ON = 34, + /** This job has no alternate body styles. */ + MSGTBL_NO_ALTERNATE_BODY_AVAILABLE = 35, + /** Appearance changed. */ + MSGTBL_APPEARANCE_CHANGED = 36, + /** An invalid number was specified. */ + MSGTBL_INVALID_NUMBER = 37, + /** Invalid location number, or name. */ + MSGTBL_INVALID_LOCATION_OR_NAME = 38, + /** All monsters summoned! */ + MSGTBL_MONSTERS_SUMMONED = 39, + /** Invalid monster ID or name. */ + MSGTBL_INVALID_MONSTER_ID_NAME = 40, + /** Unable to decrease the number/value. */ + MSGTBL_UNABLE_TO_DECREASE_VALUE = 41, + /** Stat changed. */ + MSGTBL_STAT_CHANGED = 42, + /** You're not in a guild. */ + MSGTBL_NOT_IN_A_GUILD = 43, + /** You're not the master of your guild. */ + MSGTBL_NOT_GUILDMASTER = 44, + /** Guild level change failed. */ + MSGTBL_GUILD_LEVEL_CHANGE_FAILED = 45, + /** %s recalled! */ + MSGTBL_RECALLED_NAME = 46, + /** Base level can't go any higher. */ + MSGTBL_CANT_INCREASE_BASE_LEVEL = 47, + /** Any work in progress (NPC dialog, manufacturing ...) quit and try again. */ + MSGTBL_WORK_IN_PROGRESS_TRY_AGAIN = 48, + /** Unable to Teleport in this area */ + MSGTBL_TELEPORT_DISABLED_IN_AREA = 49, + /** This skill cannot be used within this area. */ + MSGTBL_SKILL_DISABLED_IN_AREA = 50, + /** This item cannot be used within this area. */ + MSGTBL_ITEM_DISABLED_IN_AREA = 51, + /** This command is disabled in this area. */ + MSGTBL_COMMAND_DISABLED_IN_AREA = 52, + /** '%s' stats: */ + MSGTBL_TARGET_STATS = 53, + /** No player found in map '%s'. */ + MSGTBL_NO_PLAYER_IN_MAP = 54, + /** 1 player found in map '%s'. */ + MSGTBL_1_PLAYER_IN_MAP = 55, + /** %d players found in map '%s'. */ + MSGTBL_N_PLAYERS_IN_MAP = 56, + //57-58 FREE + /** Night Mode Activated. */ + MSGTBL_NIGHT_MODE_ACTIVATED = 59, + /** Day Mode Activated. */ + MSGTBL_DAY_MODE_ACTIVATED = 60, + /** The holy messenger has given judgement. */ + MSGTBL_HOLY_MESSENGER_JUDGMENT = 61, + /** Judgement has passed. */ + MSGTBL_JUDGMENT_PASSED = 62, + /** Mercy has been shown. */ + MSGTBL_MERCY_SHOWN = 63, + /** Mercy has been granted. */ + MSGTBL_MERCY_GRANTED = 64, + //65-69 FREE + /** You have learned the skill. */ + MSGTBL_LEARNED_SKILL = 70, + /** You have forgotten the skill. */ + MSGTBL_FORGOTTEN_SKILL = 71, + + /** War of Emperium has been initiated. */ + MSGTBL_AGITSTART_INITIATED = 72, + /** War of Emperium is currently in progress. */ + MSGTBL_AGITSTART_ALREADY_IN_PROGRESS = 73, + /** War of Emperium has been ended. */ + MSGTBL_AGITEND_ENDED = 74, + /** War of Emperium is currently not in progress. */ + MSGTBL_AGITEND_NOT_IN_PROGRESS = 75, + + /** All skills have been added to your skill tree. */ + MSGTBL_ALL_SKILLS_ADDED_TO_SKILL_TREE = 76, + /** Search results for '%s' (name: id): */ + MSGTBL_SEARCH_RESULTS_NAME = 77, + /** %s: %d */ + MSGTBL_SEARCH_RESULT_NAME_ID = 78, + /** %d results found. */ + MSGTBL_N_RESULTS_FOUND = 79, + /** Please specify a display name or monster name/id. */ + MSGTBL_SPECIFY_NAME_OR_ID = 80, + /** Your GM level doesn't authorize you to perform this action on the specified player. */ + MSGTBL_GM_LEVEL_UNAUTHORIZED = 81, + /** Roulette is disabled. */ + MSGTBL_ROULETTE_DISABLED = 82, + /** BG Match Canceled: not enough players. */ + MSGTBL_BG_MATCH_CANCELED_NO_PLAYERS = 83, + /** All stats changed! */ + MSGTBL_ALL_STATS_CHANGED = 84, + /** Invalid time for ban command. */ + MSGTBL_INVALID_BAN_TIME = 85, + //86-87 FREE + /** Sending request to login server... */ + MSGTBL_SENDING_REQUEST_TO_LOGIN = 88, + /** Night mode is already enabled. */ + MSGTBL_NIGHT_MODE_ALREADY_ENABLED = 89, + /** Day mode is already enabled. */ + MSGTBL_DAY_MODE_ALREADY_ENABLED = 90, + //91 FREE + /** All characters recalled! */ + MSGTBL_RECALL_CHARACTERS_RECALLED = 92, + /** All online characters of the %s guild have been recalled to your position. */ + MSGTBL_RECALL_GUILD_RECALLED = 93, + /** Incorrect name/ID, or no one from the specified guild is online. */ + MSGTBL_RECALL_INVALID_GUILD_NAME = 94, + /** All online characters of the %s party have been recalled to your position. */ + MSGTBL_RECALL_PARTY_RECALLED = 95, + /** Incorrect name/ID, or no one from the specified party is online. */ + MSGTBL_RECALL_INVALID_PARTY_NAME = 96, + /** Item database has been reloaded. */ + MSGTBL_RELOAD_ITEMDB_RELOADED = 97, + /** Monster database has been reloaded. */ + MSGTBL_RELOAD_MOBDB_RELOADED = 98, + /** Skill database has been reloaded. */ + MSGTBL_RELOAD_SKILLDB_RELOADED = 99, + /** Scripts have been reloaded. */ + MSGTBL_RELOAD_SCRIPTS_RELOADED = 100, + //101 FREE + /** You have mounted a Peco Peco. */ + MSGTBL_MOUNTED_PECOPECO = 102, + /** No longer spying on the %s guild. */ + MSGTBL_GUILDSPY_OFF = 103, + /** Spying on the %s guild. */ + MSGTBL_GUILDSPY_ON = 104, + /** No longer spying on the %s party. */ + MSGTBL_PARTYSPY_OFF = 105, + /** Spying on the %s party. */ + MSGTBL_PARTYSPY_ON = 106, + /** All items have been repaired. */ + MSGTBL_ALL_ITEMS_REPAIRED = 107, + /** No item need to be repaired. */ + MSGTBL_NOTHING_TO_REPAIR = 108, + /** Player has been nuked! */ + MSGTBL_PLAYER_NUKED = 109, + /** NPC Enabled. */ + MSGTBL_NPC_ENABLED = 110, + /** This NPC doesn't exist. */ + MSGTBL_NPC_DOESNT_EXIST = 111, + /** NPC Disabled. */ + MSGTBL_NPC_DISABLED = 112, + /** %d item(s) removed by a GM. */ + MSGTBL_N_ITEMS_REMOVED_BY_GM = 113, + /** %d item(s) removed from the player. */ + MSGTBL_N_ITEMS_REMOVED_FROM_PLAYER = 114, + /** %d item(s) removed. Player had only %d on %d items. */ + MSGTBL_N_ITEMS_REMOVED_AMOUNT = 115, + /** Character does not have the specified item. */ + MSGTBL_DOES_NOT_HAVE_ITEM = 116, + /** You have been jailed by a GM. */ + MSGTBL_JAILED_BY_GM = 117, + /** Player warped to jail. */ + MSGTBL_WARPED_TO_JAIL = 118, + /** This player is not in jail. */ + MSGTBL_PLAYER_NOT_IN_JAIL = 119, + /** A GM has discharged you from jail. */ + MSGTBL_UNJAILED_BY_GM = 120, + /** Player unjailed. */ + MSGTBL_UNJAILED = 121, + /** Disguise applied. */ + MSGTBL_DISGUISE_ON = 122, + /** Invalid Monster/NPC name/ID specified. */ + MSGTBL_DISGUISE_INVALID_ID = 123, + /** Disguise removed. */ + MSGTBL_DISGUISE_OFF = 124, + /** You're not disguised. */ + MSGTBL_DISGUISE_NOT_DISGUISE = 125, + + //Clone Messages + /** Cannot clone a player of higher GM level than yourself. */ + MSGTBL_CLONE_HIGHER_GM = 126, + /** You've reached your slave clones limit. */ + MSGTBL_CLONE_LIMIT_REACHED = 127, + /** Evil clone spawned. */ + MSGTBL_EVILCLONE_SPAWNED = 128, + /** Unable to spawn evil clone. */ + MSGTBL_EVILCLONE_FAIL = 129, + /** Clone spawned. */ + MSGTBL_CLONE_SPAWNED = 130, + /** Unable to spawn clone. */ + MSGTBL_CLONE_FAIL = 131, + /** Slave clone spawned. */ + MSGTBL_SLAVECLONE_SPAWNED = 132, + /** Unable to spawn slave clone. */ + MSGTBL_SLAVECLONE_FAIL = 133, + //134-136 FREE (possibly for other clone types) + + /** CvC: Off */ + MSGTBL_CVC_OFF = 137, + /** CvC: On */ + MSGTBL_CVC_ON = 138, + /** CvC ON | */ + MSGTBL_MAPINFO_CVC_ON = 139, + /** You can't join in a clan if you're in a guild. */ + MSGTBL_CANT_JOIN_CLAN_WHILE_IN_GUILD = 140, + /** CvC is already Off. */ + MSGTBL_CVC_ALREADY_OFF = 141, + /** CvC is already On. */ + MSGTBL_CVC_ALREADY_ON = 142, + /** Commands are disabled in this map. */ + MSGTBL_COMMANDS_DISABLE_IN_MAP = 143, + /** Invalid e-mail. If your email hasn't been set, use a@a.com. */ + MSGTBL_EMAIL_INVALID_EMAIL = 144, + /** Invalid new e-mail. Please enter a real e-mail address. */ + MSGTBL_EMAIL_INVALID_NEW_EMAIL = 145, + /** New e-mail must be a real e-mail address. */ + MSGTBL_EMAIL_MUST_BE_REAL = 146, + /** New e-mail must be different from the current e-mail address. */ + MSGTBL_EMAIL_MUST_BE_DIFFERENT = 147, + /** Information sent to login-server via char-server. */ + MSGTBL_EMAIL_SENT_TO_LOGIN = 148, + + /** Impossible to increase the number/value. */ + MSGTBL_IMPOSSIBLE_TO_INCREASE_VALUE = 149, + /** No GM found. */ + MSGTBL_NO_GM_FOUND = 150, + /** 1 GM found. */ + MSGTBL_1_GM_FOUND = 151, + /** %d GMs found. */ + MSGTBL_N_GMS_FOUND = 152, + /** %s is Unknown Command. */ + MSGTBL_UNKNOWN_COMMAND = 153, + /** %s failed. */ + MSGTBL_COMMAND_FAILED = 154, + /** You are unable to change your job. */ + MSGTBL_CANT_CHANGE_JOB = 155, + + /** HP or/and SP modified. */ + MSGTBL_HEAL_RECOVERED = 156, + /** HP and SP have already been recovered. */ + MSGTBL_HEAL_ALREADY_FULL = 157, + + /** Base level can't go any lower. */ + MSGTBL_CANT_DECREASE_BASE_LEVEL = 158, + /** Job level can't go any lower. */ + MSGTBL_CANT_DECREASE_JOB_LEVEL = 159, + + /** PvP is already Off. */ + MSGTBL_PVP_ALREADY_OFF = 160, + /** PvP is already On. */ + MSGTBL_PVP_ALREADY_ON = 161, + /** GvG is already Off. */ + MSGTBL_GVG_ALREADY_OFF = 162, + /** GvG is already On. */ + MSGTBL_GVG_ALREADY_ON = 163, + /** You need to learn the basic skills first. */ + MSGTBL_BASIC_SKILLS_REQUIRED = 164, + /** All monsters killed! */ + MSGTBL_ALL_MONSTERS_KILLED = 165, + + /** No item has been refined. */ + MSGTBL_REFINE_NOTHING = 166, + /** 1 item has been refined. */ + MSGTBL_REFINE_1_ITEM_REFINED = 167, + /** %d items have been refined. */ + MSGTBL_REFINE_N_iTEMS_REFINED = 168, + + /** The item (%d: '%s') is not equippable. */ + MSGTBL_PRODUCE_NOT_EQUIPPABLE_NAME = 169, + /** The item is not equippable. */ + MSGTBL_PRODUCE_NOT_EQUIPPABLE = 170, + + /** %d - void */ + MSGTBL_MEMO_VOID = 171, + /** Speed returned to normal. */ + MSGTBL_SPEED_NORMAL = 172, + /** Please enter a valid madogear type. */ + MSGTBL_MOUNT_ENTER_VALID_MADO_TYPE = 173, + /** Number of status points changed. */ + MSGTBL_STATS_POINTS_CHANGED = 174, + /** Number of skill points changed. */ + MSGTBL_SKILL_POINTS_CHANGED = 175, + /** Current amount of zeny changed. */ + MSGTBL_ZENY_CHANGED = 176, + /** You cannot decrease that stat anymore. */ + MSGTBL_STATS_CANT_DECREASE = 177, + /** You cannot increase that stat anymore. */ + MSGTBL_STATS_CANT_INCREASE = 178, + /** Guild level changed. */ + MSGTBL_GUILD_LEVEL_CHANGED = 179, + /** The monster/egg name/ID doesn't exist. */ + MSGTBL_MAKEEGG_INVALID_EGG = 180, + /** You already have a pet. */ + MSGTBL_ALREADY_HAVE_PET = 181, + /** Pet intimacy changed. */ + MSGTBL_PET_INTIMACY_CHANGED = 182, + /** Pet intimacy is already at maximum. */ + MSGTBL_PET_INTIMACY_MAXED = 183, + /** Sorry, but you have no pet. */ + MSGTBL_NO_PET = 184, + /** Pet hunger changed. */ + MSGTBL_PET_HUNGER_CHANGED = 185, + /** Pet hunger is already at maximum. */ + MSGTBL_PET_HUNTER_MAXED = 186, + /** You can now rename your pet. */ + MSGTBL_CAN_RENAME_PET = 187, + /** You can already rename your pet. */ + MSGTBL_PET_CAN_BE_RENAMED_ALREADY = 188, + /** Autofeed is disabled for this pet. */ + MSGTBL_AUTOFEED_DISABLED = 189, + //190-194 FREE + /** All players have been kicked! */ + MSGTBL_ALL_PLAYERS_KICKED = 195, + /** You already have this quest skill. */ + MSGTBL_ALREADY_HAVE_QUEST_SKILL = 196, + /** This skill number doesn't exist or isn't a quest skill. */ + MSGTBL_INVALID_QUEST_SKILL_ID = 197, + /** This skill number doesn't exist. */ + MSGTBL_INVALID_SKILL_ID = 198, + //199-200 FREE + /** You don't have this quest skill. */ + MSGTBL_QUEST_SKILL_NOT_LEARNED = 201, + //202-203 FREE + /** You can't open a shop on this cell. */ + MSGTBL_CANT_OPEN_SHOP_IN_CELL = 204, + /** Maybe you meant: */ + MSGTBL_MAYBE_YOU_MEANT = 205, + /** '%s' skill points reset. */ + MSGTBL_PLAYER_SKILL_POINTS_RESET = 206, + /** '%s' stats points reset. */ + MSGTBL_PLAYER_STATS_POINTS_RESET = 207, + /** '%s' skill and stat points have been reset. */ + MSGTBL_PLAYER_SKILL_AND_STATS_RESET = 208, + //209-211 FREE + /** Cannot mount while in disguise. */ + MSGTBL_CANT_MOUNT_IN_DISGUISE = 212, + /** You need %s to mount! */ + MSGTBL_REQUIREMENT_FOR_MOUNT = 213, + /** You have released your Peco Peco. */ + MSGTBL_PECO_RELEASED = 214, + /** Your class can't mount! */ + MSGTBL_NO_MOUNT_FOR_CLASS = 215, + //216-218 FREE + /** %d day */ + MSGTBL_DAY = 219, + /** %d days */ + MSGTBL_DAYS = 220, + /** %d hour */ + MSGTBL_HOUR = 221, + /** %d hours */ + MSGTBL_HOURS = 222, + /** %d minute */ + MSGTBL_MINUTE = 223, + /** %d minutes */ + MSGTBL_MINUTES = 224, + /** and %d second */ + MSGTBL_SECOND = 225, + /** and %d seconds */ + MSGTBL_SENDS = 226, + /** Party modification is disabled in this map. */ + MSGTBL_PARTY_CHANGE_DISABLED = 227, + /** Guild modification is disabled in this map. */ + MSGTBL_GUILD_CHANGE_DISABLED = 228, + /** Your effect has changed. */ + MSGTBL_EFFECT_CHANGED = 229, + /** Server time (normal time): %A, %B %d %Y %X. */ + MSGTBL_SERVER_TIME = 230, + /** Game time: The game is in permanent daylight. */ + MSGTBL_GAMETIME_ALWAYS_DAY = 231, + /** Game time: The game is in permanent night. */ + MSGTBL_GAMETIME_ALWAYS_NIGHT = 232, + /** Game time: The game is in night for %s. */ + MSGTBL_GAMETIME_NIGHT_TIME = 233, + //234 FREE + /** Game time: The game is in daylight for %s. */ + MSGTBL_GAMETIME_DAY_TIME = 235, + /** You've got a new mail! */ + MSGTBL_NEW_MAIL = 236, + /** Game time: After, the game will be in night for %s. */ + MSGTBL_GAMETIME_FUTURE_NIGHT_TIME = 237, + /** Game time: A day cycle has a normal duration of %s. */ + MSGTBL_GAMETIME_DAY_CYCLE = 238, + /** Game time: After, the game will be in daylight for %s. */ + MSGTBL_GAMETIME_FUTURE_DAY_TIME = 239, + /** %d monster(s) summoned! */ + MSGTBL_N_MONSTERS_SUMMONED = 240, + /** You can now attack and kill players freely. */ + MSGTBL_KILLER_ON = 241, + /** You can now be attacked and killed by players. */ + MSGTBL_KILLABLE_ON = 242, + /** Skills have been disabled in this map. */ + MSGTBL_SKILLOFF = 243, + /** Skills have been enabled in this map. */ + MSGTBL_SKILLON = 244, + /** Server Uptime: %ld days, %ld hours, %ld minutes, %ld seconds. */ + MSGTBL_UPTIME = 245, + /** Your GM level doesn't authorize you to perform this action. */ + MSGTBL_CANT_GIVE_ITEMS = 246, + /** You are not authorized to warp to this map. */ + MSGTBL_CANT_WARP_TO = 247, + /** You are not authorized to warp from your current map. */ + MSGTBL_CANT_WARP_FROM = 248, + /** You are not authorized to warp to your save map. */ + MSGTBL_CANT_WARP_TO_SAVE_POINT = 249, + /** You have already opened your storage. Close it first. */ + MSGTBL_STORAGE_ALREADY_OPEN = 250, + /** You have already opened your guild storage. Close it first. */ + MSGTBL_GSTORAGE_ALREADY_OPEN = 251, + /** You are not in a guild. */ + MSGTBL_NOT_IN_A_GUILD2 = 252, + /** You already are at your destination! */ + MSGTBL_WARP_SAMEPLACE = 253, + /** GM command configuration has been reloaded. */ + MSGTBL_RELOAD_ATCOMMAND_RELOADED = 254, + /** Battle configuration has been reloaded. */ + MSGTBL_RELOAD_BATTLE_RELOADED = 255, + /** Status database has been reloaded. */ + MSGTBL_RELOAD_STATUS_RELOADED = 256, + /** Player database has been reloaded. */ + MSGTBL_RELOAD_PLAYER_RELOADED = 257, + /** Sent packet 0x%x (%d) */ + MSGTBL_SEND_PACKET_SENT = 258, + /** Invalid packet */ + MSGTBL_SEND_INVALID_PACKET = 259, + /** This item cannot be traded. */ + MSGTBL_CANT_TRADE_ITEM = 260, + /** Script could not be loaded. */ + MSGTBL_COULD_NOT_LOAD_SCRIPT = 261, + /** Script loaded. */ + MSGTBL_SCRIPT_LOADED = 262, + /** This item cannot be dropped. */ + MSGTBL_CANT_DROP_ITEM = 263, + /** This item cannot be stored. */ + MSGTBL_CANT_STORE_ITEM = 264, + /** %s has bought your item(s). */ + MSGTBL_NAME_BOUGHT_ITEM = 265, + /** Some of your items cannot be vended and were removed from the shop. */ + MSGTBL_ITEMS_REMOVED_FROM_SHOP = 266, + //267-268 FREE + /** Displaying first %d out of %d matches */ + MSGTBL_SEARCH_RESULT_OFFSET = 269, + //@me output format + /** * :%s %s: * */ + MSGTBL_ATCMD_ME_OUTPUT_FORMAT = 270, + /** You can't drop items in this map */ + MSGTBL_CANT_DROP_ITEMS_IN_MAP = 271, + /** You can't trade in this map */ + MSGTBL_CANT_TRADE_IN_MAP = 272, + /** Available commands: */ + MSGTBL_AVAILABLE_COMMANDS = 273, + /** %d commands found. */ + MSGTBL_N_COMMANDS_FOUND = 274, + /** Custom commands: */ + MSGTBL_CUSTOM_COMMANDS = 275, + /** You can't open a shop in this map */ + MSGTBL_CANT_OPEN_SHOP_IN_MAP = 276, + + /** Usage: @request . */ + MSGTBL_REQUEST_USAGE = 277, + /** (@request): %s */ + MSGTBL_REQUEST_MESSAGE = 278, + /** @request sent. */ + MSGTBL_REQUEST_SENT = 279, + + /** Invalid name. */ + MSGTBL_BAD_HOMPET_NAME = 280, + /** You can't create chat rooms in this map */ + MSGTBL_CANT_CREATE_CHAT_IN_MAP = 281, + + //Party-related + /** You need to be a party leader to use this command. */ + MSGTBL_MUST_BE_PARTY_LEADER = 282, + /** Target character must be online and in your current party. */ + MSGTBL_REQUIRE_ONLINE_PARTY_MEMBER = 283, + /** Leadership transferred. */ + MSGTBL_LEADERSHIP_TRANSFERRED = 284, + /** You've become the party leader. */ + MSGTBL_BECOME_PARTY_LEADER = 285, + /** There's been no change in the setting. */ + MSGTBL_NO_CHANGE_IN_PARTY_SETTINGS = 286, + /** You cannot change party leaders in this map. */ + MSGTBL_CANT_CHANGE_PARTY_LEADER_IN_MAP = 287, + + //Missing stuff for @killer related commands. + /** You are no longer killable. */ + MSGTBL_KILLABLE_OFF = 288, + //289-290 FREE + /** Weather effects will disappear after teleporting or refreshing. */ + MSGTBL_CLEARWEATHER = 291, + /** Killer state reset. */ + MSGTBL_KILLER_OFF = 292, + + //Item Bind System + /** This bound item cannot be traded to that character. */ + MSGTBL_BOUND_CANT_TRADE = 293, + /** This bound item cannot be stored there. */ + MSGTBL_BOUND_CANT_STORE = 294, + /** Please enter an item name or ID (usage: @itembound ). */ + MSGTBL_ITEMBOUND_USAGE = 295, + /** Please enter all parameters (usage: @itembound2 */ + MSGTBL_ITEMBOUND2_USAGE = 296, + /** ). */ + MSGTBL_ITEMBOUND_USAGE2 = 297, + /** Invalid bound type. Valid types are - 1:Account 2:Guild 3:Party 4:Character */ + MSGTBL_ITEMBOUND_INVALID_TYPE = 298, + //299 FREE + + // Guild Castles Number + // -------------------- + /** None Taken */ + MSGTBL_CASTLES_0 = 300, + /** One Castle */ + MSGTBL_CASTLES_1 = 301, + /** Two Castles */ + MSGTBL_CASTLES_2 = 302, + /** Three Castles */ + MSGTBL_CASTLES_3 = 303, + /** Four Castles */ + MSGTBL_CASTLES_4 = 304, + /** Five Castles */ + MSGTBL_CASTLES_5 = 305, + /** Six Castles */ + MSGTBL_CASTLES_6 = 306, + /** Seven Castles */ + MSGTBL_CASTLES_7 = 307, + /** Eight Castles */ + MSGTBL_CASTLES_8 = 308, + /** Nine Castles */ + MSGTBL_CASTLES_9 = 309, + /** Ten Castles */ + MSGTBL_CASTLES_10 = 310, + /** Eleven Castles */ + MSGTBL_CASTLES_11 = 311, + /** Twelve Castles */ + MSGTBL_CASTLES_12 = 312, + /** Thirteen Castles */ + MSGTBL_CASTLES_13 = 313, + /** Fourteen Castles */ + MSGTBL_CASTLES_14 = 314, + /** Fifteen Castles */ + MSGTBL_CASTLES_15 = 315, + /** Sixteen Castles */ + MSGTBL_CASTLES_16 = 316, + /** Seventeen Castles */ + MSGTBL_CASTLES_17 = 317, + /** Eighteen Castles */ + MSGTBL_CASTLES_18 = 318, + /** Nineteen Castles */ + MSGTBL_CASTLES_19 = 319, + /** Twenty Castles */ + MSGTBL_CASTLES_20 = 320, + /** Twenty-One Castles */ + MSGTBL_CASTLES_21 = 321, + /** Twenty-Two Castles */ + MSGTBL_CASTLES_22 = 322, + /** Twenty-Three Castles */ + MSGTBL_CASTLES_23 = 323, + /** Twenty-Four Castles */ + MSGTBL_CASTLES_24 = 324, + /** Twenty-Five Castles */ + MSGTBL_CASTLES_25 = 325, + /** Twenty-Six Castles */ + MSGTBL_CASTLES_26 = 326, + /** Twenty-Seven Castles */ + MSGTBL_CASTLES_27 = 327, + /** Twenty-Eight Castles */ + MSGTBL_CASTLES_28 = 328, + /** Twenty-Nine Castles */ + MSGTBL_CASTLES_29 = 329, + /** Thirty Castles */ + MSGTBL_CASTLES_30 = 330, + /** Thirty-One Castles */ + MSGTBL_CASTLES_31 = 331, + /** Thirty-Two Castles */ + MSGTBL_CASTLES_32 = 332, + /** Thirty-Three Castles */ + MSGTBL_CASTLES_33 = 333, + // 334: Thirty-Four Castles + /** Total Domination */ + MSGTBL_CASTLES_34 = 334, + + /** Your guild doesn't have storage! */ + MSGTBL_GUILD_DOES_NOT_HAVE_STORAGE = 335, + /** You're not authorized to open your guild storage! */ + MSGTBL_NOT_AUTHORIZED_TO_USE_GSTORAGE = 336, + //337-342 FREE + + // Templates for @who output + /** Name: %s */ + MSGTBL_WHO_NAME_FORMAT = 343, + /** (%s) */ + MSGTBL_WHO_TITLE_FORMAT = 344, + /** | Party: '%s' */ + MSGTBL_WHO_PARTY_FORMAT = 345, + /** | Guild: '%s' */ + MSGTBL_WHO_GUILD_FORMAT = 346, + //You may omit the last %s, then you won't see players job name + /** | Lv:%d/%d | Job: %s */ + MSGTBL_WHO_LEVEL_JOB_FORMAT = 347, + //You may omit 2 last %d, then you won't see players coordinates, just map name + /** | Location: %s %d %d */ + MSGTBL_WHO_LOCATION_FORMAT = 348, + //349 FREE + + // @duel + /** Duel: You can't use @invite. You aren't a duelist. */ + MSGTBL_DUEL_CANT_INVITE = 350, + /** Duel: The limit of players has been reached. */ + MSGTBL_DUEL_LIMIT_REACHED = 351, + /** Duel: Player name not found. */ + MSGTBL_DUEL_PLAYER_NOT_FOUND = 352, + /** Duel: The Player is in the duel already. */ + MSGTBL_DUEL_PLAYER_IN_DUEL = 353, + /** Duel: Invitation has been sent. */ + MSGTBL_DUEL_INVITATION_SENT = 354, + /** Duel: You can't use @duel without @reject. */ + MSGTBL_DUEL_NEEDS_REJECT_FIRST = 355, + /** Duel: You can take part in duel again after %d seconds. */ + MSGTBL_DUEL_COOLDOWN = 356, + /** Duel: Invalid value. */ + MSGTBL_DUEL_INVALID_VALUE = 357, + /** Duel: You can't use @leave. You aren't a duelist. */ + MSGTBL_DUEL_CANT_LEAVE = 358, + /** Duel: You've left the duel. */ + MSGTBL_DUEL_LEFT = 359, + /** Duel: You can't use @accept without a duel invitation. */ + MSGTBL_DUEL_CANT_ACCEPT = 360, + /** Duel: The duel invitation has been accepted. */ + MSGTBL_DUEL_INVITATION_ACCEPTED = 361, + /** Duel: You can't use @reject without a duel invitation. */ + MSGTBL_DUEL_CANT_REJECT = 362, + /** Duel: The duel invitation has been rejected. */ + MSGTBL_DUEL_INVITATION_REJECTED = 363, + /** Duel: You can't invite %s because he/she isn't in the same map. */ + MSGTBL_DUEL_PLAYER_NOT_IN_MAP = 364, + /** Duel: Can't use %s in duel. */ + MSGTBL_DUEL_CANT_USE = 365, + + // Stylist Shop + /** Styling Shop */ + MSGTBL_STYLESHOP_MAIL_SENDER = 366, + /** 2949 */ + MSGTBL_STYLESHOP_MAIL_TITLE = 367, + /** 2950 */ + MSGTBL_STYLESHOP_MAIL_BODY = 368, + //369 FREE + + /** -- Duels: %d/%d, Members: %d/%d, Max players: %d -- */ + MSGTBL_DUEL_INFO_LIMIT = 370, + /** -- Duels: %d/%d, Members: %d/%d -- */ + MSGTBL_DUEL_INFO_NO_LIMIT = 371, + /** -- Duel has been created (Use @invite/@leave) -- */ + MSGTBL_DUEL_CREATED = 372, + /** -- Player %s invites %s to duel -- */ + MSGTBL_DUEL_INVITE_INFO = 373, + /** Blue -- Player %s invites you to PVP duel (Use @accept/@reject) -- */ + MSGTBL_DUEL_INVITE_MESSAGE = 374, + /** <- Player %s has left the duel -- */ + MSGTBL_DUEL_PLAYER_LEFT = 375, + /** -> Player %s has accepted the duel -- */ + MSGTBL_DUEL_PLAYER_ACCEPTED = 376, + /** -- Player %s has rejected the duel -- */ + MSGTBL_DUEL_PLAYER_REJECTED = 377, + + //378-385 FREE + + // Main chat + /** %s :Main: %s */ + MSGTBL_MAIN_CHAT = 386, + + //387-389 FREE + + //NoAsk + /** Autorejecting is activated. */ + MSGTBL_NOASK_ON = 390, + /** Autorejecting is deactivated. */ + MSGTBL_NOASK_OFF = 391, + /** You request has been rejected by autoreject option. */ + MSGTBL_NOASK_REJECTED = 392, + /** Autorejected trade request from %s. */ + MSGTBL_NOASK_REJECTED_TRADE = 393, + /** Autorejected party invite from %s. */ + MSGTBL_NOASK_REJECTED_PARTY_INVITE = 394, + /** Autorejected guild invite from %s. */ + MSGTBL_NOASK_REJECTED_GUILD_INVITE = 395, + /** Autorejected alliance request from %s. */ + MSGTBL_NOASK_REJECTED_ALLIANCE = 396, + /** Autorejected opposition request from %s. */ + MSGTBL_NOASK_REJECTED_OPPOSITION = 397, + /** Autorejected friend request from %s. */ + MSGTBL_NOASK_REJECTED_FRIEND = 398, + + //399 FREE + + /** Usage: @jailfor