From f46ab0d6f9bcb08567b11dc1690da11e325b5897 Mon Sep 17 00:00:00 2001 From: brianluau Date: Sat, 1 Sep 2012 04:04:00 +0000 Subject: - help.txt Params lists: changed "/" to "|" to match the rest of the file. - Removed an extra 'packet_db_ver' comment from r15173. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16728 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf/help.txt | 37 ++++--- db/packet_db.txt | 3 +- npc/scripts_custom.conf | 2 +- src/map/atcommand.c | 271 ++++++++++++++++++++++++------------------------ 4 files changed, 155 insertions(+), 158 deletions(-) diff --git a/conf/help.txt b/conf/help.txt index 873a53182..e3a31f5ef 100644 --- a/conf/help.txt +++ b/conf/help.txt @@ -21,25 +21,25 @@ rates: "Displays the server's current rates." uptime: "Displays how long the server has been online." showdelay: "Shows/hides the \"There is a delay after this skill\" message." exp: "Displays current levels and % progress." -mobinfo: "Params: |\n" "Shows monster info (stats, exp, drops etc)." -iteminfo: "Params: |\n" "Shows item info (type, price etc)." -whodrops: "Params: |\n" "Shows who drops an item (monster with highest drop rates)." +mobinfo: "Params: \n" "Shows monster info (stats, exp, drops etc)." +iteminfo: "Params: \n" "Shows item info (type, price etc)." +whodrops: "Params: \n" "Shows who drops an item (monster with highest drop rates)." version: "Displays SVN version of the server." email: "Params: \n" "Changes your account e-mail address." where: "Params: \n" "Tells you the location of a character." time: "Shows the date and time of the server." showexp: "Displays/hides experience gained." showzeny: "Displays/hides Zeny gained." -mobsearch: "Params: |\n" "Shows the location of a certain mob on the current map." +mobsearch: "Params: \n" "Shows the location of a certain mob on the current map." who: "Params: []\n" "Shows a list of online players and their party and guild." who2: "Params: []\n" "Shows a list of online players and their job." who3: "Params: []\n" "Shows a list of online players and their location." whomap: "@whomap/@whomap2/@whomap3 [map] - like @who/@who2/@who3 but only for specifical map." whogm: "Params: [match_text] - Like @who+@who2+who3, but only for GM." -guildspy: "Params: - You will receive all messages of the guild channel (Chat logging must be enabled)" -partyspy: "@partyspy - You will receive all messages of the party channel (Chat logging must be enabled)" +guildspy: "Params: - You will receive all messages of the guild channel (Chat logging must be enabled)" +partyspy: "@partyspy - You will receive all messages of the party channel (Chat logging must be enabled)" mapinfo: "Params: [<0-3> [map]] - Give information about a map (general info +: 0: no more, 1: players, 2: NPC, 3: shops/chat)." -go: "Params: \n" "Warps you to a city.\n" +go: "Params: \n" "Warps you to a city.\n" " -3: (Memo point 2) 14: louyang 31: mora\n" " -2: (Memo point 1) 15: start point 32: dewata\n" " -1: (Memo point 0) 16: prison/jail 33: malangdo island\n" @@ -58,9 +58,9 @@ go: "Params: \n" "Warps you to a city.\n" " 12: umbala 29: brasilis\n" " 13: niflheim 30: el dicastes" jumpto: "Params: \n" "Warps you to selected character." -follow: "Params: \n" "Follow a player." +follow: "Params: \n" "Follow a player." mount: "Give/remove you a peco (Class is required, but not skill)" -disguise: "Params: \n" "Change your appearence to other players to a mob." +disguise: "Params: \n" "Change your appearence to other players to a mob." undisguise: "Restore your normal appearance." disguiseguild: "Disguises all online characters of a guild." undisguiseguild: "Restore the normal appearance of all characters of a guild." @@ -73,7 +73,7 @@ save: "Sets respawn point to current spot." load: "Warps you to your save point." warp: "Params: [ ]\n" "Warps you to the selected map and position." jump: "Params: [ []]\n" "Randomly warps you like a flywing." -jobchange: "Params: \n" "Changes your job.\n" +jobchange: "Params: \n" "Changes your job.\n" " 0: Novice 18: Alchemist 4015: Paladin\n" " 1: Swordman 19: Bard 4016: Champion\n" " 2: Mage 20: Dancer 4017: Professor\n" @@ -186,13 +186,13 @@ luk: "Params: \n" "Raises LUK by given amount." allstats: "Params: \n" "Adds value in all stats (maximum if no value)." addwarp: "Params: \n" killmonster2: "Kills all monsters of your map (without drops)." -monster: "Params: [ [ [ []]]]\n" - "@monster2 [ [ []]]\n" -"@spawn/@monster/@summon/@monster2 \"desired monster name\" [ [ []]]\n" -"@spawn/@monster/@summon/@monster2 \"desired monster name\" [ [ []]]\n" +monster: "Params: [ [ [ []]]]\n" + "@monster2 [ [ []]]\n" +"@spawn/@monster/@summon/@monster2 \"desired monster name\" [ [ []]]\n" +"@spawn/@monster/@summon/@monster2 \"desired monster name\" [ [ []]]\n" " Spawns the desired monster with any desired name." -monstersmall: "Params: \n" "Spawns a smaller version of a monster." -monsterbig: "Params: \n" "Spawns a larger version of a monster." +monstersmall: "Params: \n" "Spawns a smaller version of a monster." +monsterbig: "Params: \n" "Spawns a larger version of a monster." killmonster: "Params: \n" "Kill all monsters of the map (they drop)" autoloot: "Params: \n" "Makes items go straight into your inventory." autotrade: "Allows you to vend while you are offline." @@ -230,8 +230,8 @@ agitend: "End War of Emperium" party: "Params: \n" "Create a party." guild: "Params: \n" "Create a guild." glvl: "Params: <# of levels>\n" "Raise Guild by desired number of levels" -guildrecall: "Params: \n" "Warps all online characters of a guild to you." -partyrecall: "Params: \n" "Warps all online characters of a party to you." +guildrecall: "Params: \n" "Warps all online characters of a guild to you." +partyrecall: "Params: \n" "Warps all online characters of a party to you." petrename: "Re-enable pet rename" pettalk: "Params: \n" "Makes your pet say a message." petfriendly: "Params: <#>\n" "Set pet friendly amount (0-1000) 1000 = Max" @@ -281,4 +281,3 @@ reloadscript: "Reload all scripts." gat: "For debugging (you inspect around gat)" send: "For debugging (packet variety)" nuke: "Params: \n" "Blow somebody up, including those surrounding them." - diff --git a/db/packet_db.txt b/db/packet_db.txt index bd88ca8a9..36db9a460 100644 --- a/db/packet_db.txt +++ b/db/packet_db.txt @@ -36,7 +36,6 @@ //packet_db_ver: 25 packet_db_ver: default -//packet_db_ver: 23 packet_ver: 5 0x0064,55 0x0065,17 @@ -1759,4 +1758,4 @@ packet_ver: 30 0x0977,14 //Monster HP Bar //Add new packets here -//packet_ver: 31 \ No newline at end of file +//packet_ver: 31 diff --git a/npc/scripts_custom.conf b/npc/scripts_custom.conf index 778794543..1849f00a4 100644 --- a/npc/scripts_custom.conf +++ b/npc/scripts_custom.conf @@ -101,4 +101,4 @@ //npc: npc/custom/battleground/bg_flavius_02.txt //npc: npc/custom/battleground/bg_kvm01.txt //npc: npc/custom/battleground/bg_kvm02.txt -//npc: npc/custom/battleground/bg_kvm03.txt \ No newline at end of file +//npc: npc/custom/battleground/bg_kvm03.txt diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4efc94660..c352a729c 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -215,8 +215,8 @@ ACMD_FUNC(send) || sscanf(message, "%x", &type)==1) ) { int i; - for (i = 0; i < 4; ++i) - clif_displaymessage(fd, msg_txt(900 + i)); + for (i = 900; i <= 903; ++i) + clif_displaymessage(fd, msg_txt(i)); return -1; } @@ -997,135 +997,135 @@ ACMD_FUNC(jobchange) { int i, found = 0; const struct { char name[24]; int id; } jobs[] = { - { "novice", 0 }, - { "swordman", 1 }, - { "swordsman", 1 }, - { "magician", 2 }, - { "mage", 2 }, - { "archer", 3 }, - { "acolyte", 4 }, - { "merchant", 5 }, - { "thief", 6 }, - { "knight", 7 }, - { "priest", 8 }, - { "priestess", 8 }, - { "wizard", 9 }, - { "blacksmith", 10 }, - { "hunter", 11 }, - { "assassin", 12 }, - { "crusader", 14 }, - { "monk", 15 }, - { "sage", 16 }, - { "rogue", 17 }, - { "alchemist", 18 }, - { "bard", 19 }, - { "dancer", 20 }, - { "super novice", 23 }, - { "supernovice", 23 }, - { "gunslinger", 24 }, - { "gunner", 24 }, - { "ninja", 25 }, - { "novice high", 4001 }, - { "high novice", 4001 }, - { "swordman high", 4002 }, - { "swordsman high", 4002 }, - { "magician high", 4003 }, - { "mage high", 4003 }, - { "archer high", 4004 }, - { "acolyte high", 4005 }, - { "merchant high", 4006 }, - { "thief high", 4007 }, - { "lord knight", 4008 }, - { "high priest", 4009 }, - { "high priestess", 4009 }, - { "high wizard", 4010 }, - { "whitesmith", 4011 }, - { "sniper", 4012 }, - { "assassin cross", 4013 }, - { "paladin", 4015 }, - { "champion", 4016 }, - { "professor", 4017 }, - { "stalker", 4018 }, - { "creator", 4019 }, - { "clown", 4020 }, - { "gypsy", 4021 }, - { "baby novice", 4023 }, - { "baby swordman", 4024 }, - { "baby swordsman", 4024 }, - { "baby magician", 4025 }, - { "baby mage", 4025 }, - { "baby archer", 4026 }, - { "baby acolyte", 4027 }, - { "baby merchant", 4028 }, - { "baby thief", 4029 }, - { "baby knight", 4030 }, - { "baby priest", 4031 }, - { "baby priestess", 4031 }, - { "baby wizard", 4032 }, + { "novice", 0 }, + { "swordman", 1 }, + { "swordsman", 1 }, + { "magician", 2 }, + { "mage", 2 }, + { "archer", 3 }, + { "acolyte", 4 }, + { "merchant", 5 }, + { "thief", 6 }, + { "knight", 7 }, + { "priest", 8 }, + { "priestess", 8 }, + { "wizard", 9 }, + { "blacksmith", 10 }, + { "hunter", 11 }, + { "assassin", 12 }, + { "crusader", 14 }, + { "monk", 15 }, + { "sage", 16 }, + { "rogue", 17 }, + { "alchemist", 18 }, + { "bard", 19 }, + { "dancer", 20 }, + { "super novice", 23 }, + { "supernovice", 23 }, + { "gunslinger", 24 }, + { "gunner", 24 }, + { "ninja", 25 }, + { "novice high", 4001 }, + { "high novice", 4001 }, + { "swordman high", 4002 }, + { "swordsman high", 4002 }, + { "magician high", 4003 }, + { "mage high", 4003 }, + { "archer high", 4004 }, + { "acolyte high", 4005 }, + { "merchant high", 4006 }, + { "thief high", 4007 }, + { "lord knight", 4008 }, + { "high priest", 4009 }, + { "high priestess", 4009 }, + { "high wizard", 4010 }, + { "whitesmith", 4011 }, + { "sniper", 4012 }, + { "assassin cross", 4013 }, + { "paladin", 4015 }, + { "champion", 4016 }, + { "professor", 4017 }, + { "stalker", 4018 }, + { "creator", 4019 }, + { "clown", 4020 }, + { "gypsy", 4021 }, + { "baby novice", 4023 }, + { "baby swordman", 4024 }, + { "baby swordsman", 4024 }, + { "baby magician", 4025 }, + { "baby mage", 4025 }, + { "baby archer", 4026 }, + { "baby acolyte", 4027 }, + { "baby merchant", 4028 }, + { "baby thief", 4029 }, + { "baby knight", 4030 }, + { "baby priest", 4031 }, + { "baby priestess", 4031 }, + { "baby wizard", 4032 }, { "baby blacksmith",4033 }, - { "baby hunter", 4034 }, - { "baby assassin", 4035 }, - { "baby crusader", 4037 }, - { "baby monk", 4038 }, - { "baby sage", 4039 }, - { "baby rogue", 4040 }, - { "baby alchemist", 4041 }, - { "baby bard", 4042 }, - { "baby dancer", 4043 }, - { "super baby", 4045 }, - { "taekwon", 4046 }, - { "taekwon boy", 4046 }, - { "taekwon girl", 4046 }, - { "star gladiator", 4047 }, - { "soul linker", 4049 }, - { "gangsi", 4050 }, - { "bongun", 4050 }, - { "munak", 4050 }, - { "death knight", 4051 }, - { "dark collector", 4052 }, - { "rune knight", 4054 }, - { "warlock", 4055 }, - { "ranger", 4056 }, - { "arch bishop", 4057 }, - { "mechanic", 4058 }, - { "guillotine", 4059 }, - { "rune knight2", 4060 }, - { "warlock2", 4061 }, - { "ranger2", 4062 }, - { "arch bishop2", 4063 }, - { "mechanic2", 4064 }, - { "guillotine2", 4065 }, - { "royal guard", 4066 }, - { "sorcerer", 4067 }, - { "minstrel", 4068 }, - { "wanderer", 4069 }, - { "sura", 4070 }, - { "genetic", 4071 }, - { "shadow chaser", 4072 }, - { "royal guard2", 4073 }, - { "sorcerer2", 4074 }, - { "minstrel2", 4075 }, - { "wanderer2", 4076 }, - { "sura2", 4077 }, - { "genetic2", 4078 }, - { "shadow chaser2", 4079 }, - { "baby rune", 4096 }, - { "baby warlock", 4097 }, - { "baby ranger", 4098 }, - { "baby bishop", 4099 }, - { "baby mechanic", 4100 }, - { "baby cross", 4101 }, - { "baby guard", 4102 }, - { "baby sorcerer", 4103 }, - { "baby minstrel", 4104 }, - { "baby wanderer", 4105 }, - { "baby sura", 4106 }, - { "baby genetic", 4107 }, - { "baby chaser", 4108 }, - { "super novice e", 4190 }, - { "super baby e", 4191 }, - { "kagerou", 4211 }, - { "oboro", 4212 }, + { "baby hunter", 4034 }, + { "baby assassin", 4035 }, + { "baby crusader", 4037 }, + { "baby monk", 4038 }, + { "baby sage", 4039 }, + { "baby rogue", 4040 }, + { "baby alchemist", 4041 }, + { "baby bard", 4042 }, + { "baby dancer", 4043 }, + { "super baby", 4045 }, + { "taekwon", 4046 }, + { "taekwon boy", 4046 }, + { "taekwon girl", 4046 }, + { "star gladiator", 4047 }, + { "soul linker", 4049 }, + { "gangsi", 4050 }, + { "bongun", 4050 }, + { "munak", 4050 }, + { "death knight", 4051 }, + { "dark collector", 4052 }, + { "rune knight", 4054 }, + { "warlock", 4055 }, + { "ranger", 4056 }, + { "arch bishop", 4057 }, + { "mechanic", 4058 }, + { "guillotine", 4059 }, + { "rune knight2", 4060 }, + { "warlock2", 4061 }, + { "ranger2", 4062 }, + { "arch bishop2", 4063 }, + { "mechanic2", 4064 }, + { "guillotine2", 4065 }, + { "royal guard", 4066 }, + { "sorcerer", 4067 }, + { "minstrel", 4068 }, + { "wanderer", 4069 }, + { "sura", 4070 }, + { "genetic", 4071 }, + { "shadow chaser", 4072 }, + { "royal guard2", 4073 }, + { "sorcerer2", 4074 }, + { "minstrel2", 4075 }, + { "wanderer2", 4076 }, + { "sura2", 4077 }, + { "genetic2", 4078 }, + { "shadow chaser2", 4079 }, + { "baby rune", 4096 }, + { "baby warlock", 4097 }, + { "baby ranger", 4098 }, + { "baby bishop", 4099 }, + { "baby mechanic", 4100 }, + { "baby cross", 4101 }, + { "baby guard", 4102 }, + { "baby sorcerer", 4103 }, + { "baby minstrel", 4104 }, + { "baby wanderer", 4105 }, + { "baby sura", 4106 }, + { "baby genetic", 4107 }, + { "baby chaser", 4108 }, + { "super novice e", 4190 }, + { "super baby e", 4191 }, + { "kagerou", 4211 }, + { "oboro", 4212 }, }; for (i=0; i < ARRAYLENGTH(jobs); i++) { @@ -1140,8 +1140,8 @@ ACMD_FUNC(jobchange) // TODO: convert this to use atcommand_help_string() if (!found) { int i; - for (i = 0; i < 45; ++i) - clif_displaymessage(fd, msg_txt(922 + i)); + for (i = 922; i <= 966; ++i) + clif_displaymessage(fd, msg_txt(i)); clif_displaymessage(fd, msg_txt(967)); // ---- Modes And Others ---- clif_displaymessage(fd, msg_txt(968)); // 22 Wedding 26 Christmas 27 Summer 4048 Star Gladiator (Union) return -1; @@ -1165,8 +1165,8 @@ ACMD_FUNC(jobchange) } else { // TODO: convert this to use atcommand_help_string() int i; - for (i = 0; i < 45; ++i) - clif_displaymessage(fd, msg_txt(922 + i)); + for (i = 922; i <= 966; ++i) + clif_displaymessage(fd, msg_txt(i)); clif_displaymessage(fd, msg_txt(967)); // ---- Modes And Others ---- clif_displaymessage(fd, msg_txt(968)); // 22 Wedding 26 Christmas 27 Summer 4048 Star Gladiator (Union) return -1; @@ -1944,8 +1944,7 @@ ACMD_FUNC(go) // attempt to find the text help string text = atcommand_help_string( command ); - // Invalid location number, or name. - clif_displaymessage(fd, msg_txt(38)); + clif_displaymessage(fd, msg_txt(38)); // Invalid location number, or name. if( text ) {// send the text to the client -- cgit v1.2.3-60-g2f50