From 87b6c8f196897b72d98de2b1d4716bee1af99c3b Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 27 Feb 2014 00:18:36 +0100 Subject: Cleaned up messages.conf - Removed some unused messages. - Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/ - Fixed some issues with the message range loaded by the char server. - Reworded some messages, fixed typos in others. Note for translation users: some messages have been remapped to new IDs. You'll need to remap them in your custom translations as well. The list of changes is as follows: - Removed messages (you can safely remove them from your translations): 15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142, 164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275, 289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063, 1079, 1291-1294 - New messages (you need to add them to your translations): 15 - Moved messages (you need to change their IDs in your translations file): * [Unknown Job] 656 -> 620, * [Job names] 681~693 -> 656~668 * [Tombstone related] 656~661 -> 856~861 * [Etc messages] 662~680 -> 862~880 * [@version] 1436 -> 1294 * [Hercules Chat] 1475 -> 1436 Signed-off-by: Haru --- conf/messages.conf | 389 +++++++++++++++++++++++----------------------------- src/char/inter.c | 281 +++++++++++++++++++------------------ src/map/atcommand.c | 101 +++++++------- src/map/atcommand.h | 2 +- src/map/chat.c | 2 +- src/map/chrif.c | 6 +- src/map/clif.c | 18 +-- src/map/guild.c | 8 +- src/map/map.c | 2 +- src/map/mob.c | 2 +- src/map/npc.c | 25 ++-- src/map/pc.c | 251 +++++++++++++++++---------------- src/map/script.c | 2 +- src/map/skill.c | 4 +- 14 files changed, 543 insertions(+), 550 deletions(-) diff --git a/conf/messages.conf b/conf/messages.conf index 8b3daa684..2eba688cd 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -12,9 +12,10 @@ // msg_number: translated message //============================================================ -// 0-410: reserved for GM commands -// 500-900 reserved for others -// 900-1300: @atcommand +// 0-499: reserved for GM commands +// 500-549: reserved for others +// 550-699: reserved for job names (also loaded by char server) +// 900-1500: @atcommand // To disable a string (%s) field, make it's max length 0: // eg: @@ -39,7 +40,7 @@ 12: Your job has been changed. 13: You've died. 14: Character killed. -15: Player warped (message sent to player too). +15: Unknown 16: You've been revived! 17: HP, SP recovered. 18: Item created. @@ -50,8 +51,7 @@ 23: Job level can't go any higher. 24: Job level raised. 25: Job level lowered. -26: Help commands: -27: Commands help is not available. +//26-27 FREE 28: No player found. 29: 1 player found. 30: %d players found. @@ -59,7 +59,7 @@ 32: PvP: On. 33: GvG: Off. 34: GvG: On. -35: You can't use this command with this class. +//35 FREE 36: Appearance changed. 37: An invalid number was specified. 38: Invalid location number, or name. @@ -72,28 +72,19 @@ 45: Guild level change failed. 46: %s recalled! 47: Base level can't go any higher. -48: Character's job changed. -49: Invalid job ID. -50: You already have some GM powers. -51: Character revived. -52: This option cannot be used in PK Mode. +//48-52 FREE 53: '%s' stats: 54: No player found in map '%s'. 55: 1 player found in map '%s'. 56: %d players found in map '%s'. -57: Character's save point changed. -58: Character's options changed. +//57-58 FREE 59: Night Mode Activated. 60: Day Mode Activated. 61: The holy messenger has given judgement. 62: Judgement has passed. 63: Mercy has been shown. 64: Mercy has been granted. -65: Character's base level raised. -66: Character's base level lowered. -67: Character's job level can't go any higher. -68: character's job level raised. -69: Character's job level lowered. +//65-69 FREE 70: You have learned the skill. 71: You have forgotten the skill. 72: War of Emperium has been initiated. @@ -101,21 +92,19 @@ 74: War of Emperium has been ended. 75: War of Emperium is currently not in progress. 76: All skills have been added to your skill tree. -77: The reference result of '%s' (name: id): +77: Search results for '%s' (name: id): 78: %s: %d -79: It is %d affair above. -80: Give the display name or monster name/id please. -81: Your GM level doesn't authorize you to preform this action on the specified player. -82: Please provide a name or number from the list provided: -83: Monster 'Emperium' cannot be spawned. +79: %d results found. +80: Please specify a display name or monster name/id. +81: Your GM level doesn't authorize you to perform this action on the specified player. +//82-83 FREE 84: All stats changed! 85: Invalid time for ban command. -86: Sorry, player names have to be at least 4 characters. -87: Sorry, player names can be no longer than 23 characters. +//86-87 FREE 88: Sending request to login server... 89: Night mode is already enabled. 90: Day mode is already enabled. -91: Character's base level can't go any higher. +//91 FREE 92: All characters recalled! 93: All online characters of the %s guild have been recalled to your position. 94: Incorrect name/ID, or no one from the specified guild is online. @@ -125,7 +114,7 @@ 98: Monster database has been reloaded. 99: Skill database has been reloaded. 100: Scripts have been reloaded. -101: Login-server asked to reload GM accounts and their level. +//101 FREE 102: You have mounted a Peco Peco. 103: No longer spying on the %s guild. 104: Spying on the %s guild. @@ -141,14 +130,14 @@ 114: %d item(s) removed from the player. 115: %d item(s) removed. Player had only %d on %d items. 116: Character does not have the specified item. -117: You have been placed in jail by a GM. +117: You have been jailed by a GM. 118: Player warped to jail. 119: This player is not in jail. 120: A GM has discharged you from jail. 121: Player unjailed. 122: Disguise applied. 123: Invalid Monster/NPC name/ID specified. -124: Undisguise applied. +124: Disguise removed. 125: You're not disguised. //Clone Messages 126: Cannot clone a player of higher GM level than yourself. @@ -159,15 +148,12 @@ 131: Unable to spawn clone. 132: Slave clone spawned. 133: Unable to spawn slave clone. -//Messages 134-139 are no longer used, available for future reuse (preferrable for more variations of @clone) -140: Character's disguise applied. -141: Character's undisguise applied. -142: Character is not disguised. -143: Commands are disabled on this map. -144: Invalid e-mail. If you have default e-mail, type a@a.com. -145: Invalid new e-mail. Please enter a real e-mail. -146: New e-mail must be a real e-mail. -147: New e-mail must be different from the current e-mail. +//134-142 FREE (possibly for other clone types) +143: Commands are disabled in this map. +144: Invalid e-mail. If your email hasn't been set, use a@a.com. +145: Invalid new e-mail. Please enter a real e-mail address. +146: New e-mail must be a real e-mail address. +147: New e-mail must be different from the current e-mail address. 148: Information sent to login-server via char-server. 149: Impossible to increase the number/value. 150: No GM found. @@ -184,7 +170,7 @@ 161: PvP is already On. 162: GvG is already Off. 163: GvG is already On. -164: Your memo point #%d doesn't exist. +//164 FREE 165: All monsters killed! 166: No item has been refined. 167: 1 item has been refined. @@ -193,7 +179,7 @@ 170: The item is not equipable. 171: %d - void 172: Speed returned to normal. -//173: Note: you don't have the 'Warp' skill level to use it. +//173 FREE 174: Number of status points changed. 175: Number of skill points changed. 176: Current amount of zeny changed. @@ -209,36 +195,24 @@ 186: Pet hunger is already at maximum. 187: You can now rename your pet. 188: You can already rename your pet. -189: This player can now rename his/her pet. -190: This player can already rename his/her pet. -191: Sorry, but this player has no pet. -192: Unable to change the specified character's job. -193: Character's base level can't go any lower. -194: Character's job level can't go any lower. +//189-194 FREE 195: All players have been kicked! 196: You already have this quest skill. 197: This skill number doesn't exist or isn't a quest skill. 198: This skill number doesn't exist. -199: This player has learned the skill. -200: This player already has this quest skill. +//199-200 FREE 201: You don't have this quest skill. -202: This player has forgotten the skill. -203: This player doesn't have this quest skill. +//202-203 FREE 204: You can't open a shop on this cell. 205: Maybe you meant: 206: '%s' skill points reset. 207: '%s' stats points reset. 208: '%s' skill and stat points have been reset. -209: Character's skill points changed. -210: Character's status points changed. -211: Character's current zeny changed. +//209-211 FREE 212: Cannot mount while in disguise. 213: You can not mount a Peco Peco with your current job. 214: You have released your Peco Peco. -215: This player cannot mount a Peco Peco while in disguise. -216: This player has mounted a Peco Peco. -217: This player cannot mount a Peco Peco with his/her current job. -218: This player's Peco Peco has been released. +//215-218 FREE 219: %d day 220: %d days 221: %d hour @@ -247,33 +221,33 @@ 224: %d minutes 225: and %d second 226: and %d seconds -227: Party modification is disabled on this map. -228: Guild modification is disabled on this map. +227: Party modification is disabled in this map. +228: Guild modification is disabled in this map. 229: Your effect has changed. 230: Server time (normal time): %A, %B %d %Y %X. 231: Game time: The game is in permanent daylight. 232: Game time: The game is in permanent night. 233: Game time: The game is in night for %s. -//234: +//234 FREE 235: Game time: The game is in daylight for %s. -//236: +//236 FREE 237: Game time: After, the game will be in night for %s. 238: Game time: A day cycle has a normal duration of %s. 239: Game time: After, the game will be in daylight for %s. 240: %d monster(s) summoned! 241: You can now attack and kill players freely. 242: You can now be attacked and killed by players. -243: Skills have been disabled on this map. -244: Skills have been enabled on this map. +243: Skills have been disabled in this map. +244: Skills have been enabled in this map. 245: Server Uptime: %ld days, %ld hours, %ld minutes, %ld seconds. -246: Your GM level doesn't authorize you to preform this action. +246: Your GM level doesn't authorize you to perform this action. 247: You are not authorized to warp to this map. 248: You are not authorized to warp from your current map. 249: You are not authorized to warp to your save map. 250: You have already opened your storage. Close it first. 251: You have already opened your guild storage. Close it first. 252: You are not in a guild. -//253: You are not authorized to memo this map. +//253 FREE 254: GM command configuration has been reloaded. 255: Battle configuration has been reloaded. 256: Status database has been reloaded. @@ -287,34 +261,32 @@ 264: This item cannot be stored. 265: %s has bought your item(s). 266: Some of your items cannot be vended and were removed from the shop. -267: '%s' designated maps reset. -268: Reloaded the Message of the Day. +//267-268 FREE 269: Displaying first %d out of %d matches //@me output format 270: * :%s %s: * -271: You can't drop items on this map -272: You can't trade on this map -273: Commands available: +271: You can't drop items in this map +272: You can't trade in this map +273: Available commands: 274: %d commands found. -275: No commands found. -276: You can't open a shop on this map +//275 FREE +276: You can't open a shop in this map 277: Usage: @request . 278: (@request): %s 279: @request sent. 280: Invalid name. -281: You can't create chat rooms on this map +281: You can't create chat rooms in this map //Party-related 282: You need to be a party leader to use this command. 283: Target character must be online and in your current party. 284: Leadership transferred. 285: You've become the party leader. 286: There's been no change in the setting. -287: You cannot change party leaders on this map. +287: You cannot change party leaders in this map. //Missing stuff for @killer related commands. 288: You are no longer killable. -289: The player is now killable. -290: The player is no longer killable. -291: Weather effects will dispell on warp/refresh +//289-290 FREE +291: Weather effects will disappear after teleporting or refreshing. 292: Killer state reset. //Item Bind System 293: This bound item cannot be traded to that character. @@ -323,9 +295,9 @@ 296: Please enter all parameters (usage: @itembound2 297: ). 298: Invalid bound type. Valid types are - 1:Account 2:Guild 3:Party 4:Character +//299 FREE // Guild Castles Number // -------------------- -//299: ?? Castles 300: None Taken 301: One Castle 302: Two Castles @@ -363,17 +335,20 @@ // 334: Thirty-Four Castles 334: Total Domination +//335-342 FREE + // Templates for @who output 343: Name: %s 344: (%s) 345: | Party: '%s' 346: | Guild: '%s' -//You may ommit the last %s, then you won't see players job name +//You may omit the last %s, then you won't see players job name 347: | Lv:%d/%d | Job: %s -//You may ommit 2 last %d, then you won't see players coords, just map name +//You may omit 2 last %d, then you won't see players coordinates, just map name 348: | Location: %s %d %d +//349 FREE -// @duel (part 1) +// @duel 350: Duel: You can't use @invite. You aren't a duelist. 351: Duel: The limit of players has been reached. 352: Duel: Player name not found. @@ -388,9 +363,9 @@ 361: Duel: The duel invitation has been accepted. 362: Duel: You can't use @reject without a duel invitation. 363: Duel: The duel invitation has been rejected. -364: Duel: You can't invite %s because he/she isn't on the same map. -365: Duel: Can't use %s in duel. -// @duel (part 2) +364: Duel: You can't invite %s because he/she isn't in the same map. +365: Duel: Can't use %s in duel. +//366-369 FREE 370: -- Duels: %d/%d, Members: %d/%d, Max players: %d -- 371: -- Duels: %d/%d, Members: %d/%d -- 372: -- Duel has been created (Use @invite/@leave) -- @@ -399,16 +374,10 @@ 375: <- Player %s has left the duel -- 376: -> Player %s has accepted the duel -- 377: -- Player %s has rejected the duel -- +//378-385 FREE // Main chat -380: Main chat has been activated. -381: Main chat already activated. -382: Main chat has been disabled. -383: Main chat already disabled. -384: Main chat is currently enabled. Usage: @main , @main . -385: Main chat is currently disabled. Usage: @main , @main . 386: %s :Main: %s -387: You cannot use Main chat while muted. -388: You should enable main chat with "@main on" command. +//387-389 FREE //NoAsk 390: Autorejecting is activated. 391: Autorejecting is deactivated. @@ -419,18 +388,19 @@ 396: Autorejected alliance request from %s. 397: Autorejected opposition request from %s. 398: Autorejected friend request from %s. +//399 FREE 400: Usage: @jailfor