diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-14 15:48:56 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-14 15:48:56 +0000 |
commit | 2ea7dfb95394706661e2bd0295886c7cd5387add (patch) | |
tree | e1c02300c2a3ee4a9a59e8965dec70d5f569cd83 | |
parent | 30e0ef795cd29ff387e77135c07595f4d389388e (diff) | |
download | hercules-2ea7dfb95394706661e2bd0295886c7cd5387add.tar.gz hercules-2ea7dfb95394706661e2bd0295886c7cd5387add.tar.bz2 hercules-2ea7dfb95394706661e2bd0295886c7cd5387add.tar.xz hercules-2ea7dfb95394706661e2bd0295886c7cd5387add.zip |
- Updated msg_athena.conf to include castle counts up to 34. (bugreport:1522)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15107 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | conf/msg_athena.conf | 48 | ||||
-rw-r--r-- | src/map/atcommand.c | 36 |
2 files changed, 47 insertions, 37 deletions
diff --git a/conf/msg_athena.conf b/conf/msg_athena.conf index ae2cd5cd9..315098099 100644 --- a/conf/msg_athena.conf +++ b/conf/msg_athena.conf @@ -332,31 +332,41 @@ 318: Eighteen Castles 319: Nineteen Castles 320: Twenty Castles -321: Twenty One Castles -322: Twenty Two Castles -323: Twenty Three Castles -//324: Twenty Four Castles -324: Total Domination +321: Twenty-One Castles +322: Twenty-Two Castles +323: Twenty-Three Castles +324: Twenty-Four Castles +325: Twenty-Five Castles +326: Twenty-Six Castles +327: Twenty-Seven Castles +328: Twenty-Eight Castles +329: Twenty-Nine Castles +330: Thirty Castles +331: Thirty-One Castles +332: Thirty-Two Castles +333: Thirty-Three Castles +// 334: Thirty-Four Castles +334: Total Domination // Players Titles (for @who, etc commands, check battle_athena.conf for titles level setting) // Useful note: you may remove ':%d' from the line, then you will see only player title, w/o his level -325: Super player:%d -326: Super player+:%d -327: Mediator:%d -328: Sub-GM:%d -329: Sub-GM+:%d -330: GM:%d -331: GM Chief:%d -332: Administrator:%d +335: Super player:%d +336: Super player+:%d +337: Mediator:%d +338: Sub-GM:%d +339: Sub-GM+:%d +340: GM:%d +341: GM Chief:%d +342: Administrator:%d // Templates for @who output -333: Name: %s -334: (%s) -335: | Party: '%s' -336: | Guild: '%s' +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 -337: | L:%d/%d | Job: %s +347: | L:%d/%d | Job: %s //You may ommit 2 last %d, then you won't see players coords, just map name -338: | Location: %s %d %d +348: | Location: %s %d %d // @duel (part 1) 350: Duel: You can't use @invite. You aren't a duelist. diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 0ab76c6b0..66be96cc4 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -104,14 +104,14 @@ const char* msg_txt(int msg_number) static char* player_title_txt(int level) { const char* format; - format = (level >= battle_config.title_lvl8) ? msg_txt(332) - : (level >= battle_config.title_lvl7) ? msg_txt(331) - : (level >= battle_config.title_lvl6) ? msg_txt(330) - : (level >= battle_config.title_lvl5) ? msg_txt(329) - : (level >= battle_config.title_lvl4) ? msg_txt(328) - : (level >= battle_config.title_lvl3) ? msg_txt(327) - : (level >= battle_config.title_lvl2) ? msg_txt(326) - : (level >= battle_config.title_lvl1) ? msg_txt(325) + format = (level >= battle_config.title_lvl8) ? msg_txt(342) + : (level >= battle_config.title_lvl7) ? msg_txt(341) + : (level >= battle_config.title_lvl6) ? msg_txt(340) + : (level >= battle_config.title_lvl5) ? msg_txt(339) + : (level >= battle_config.title_lvl4) ? msg_txt(338) + : (level >= battle_config.title_lvl3) ? msg_txt(337) + : (level >= battle_config.title_lvl2) ? msg_txt(336) + : (level >= battle_config.title_lvl1) ? msg_txt(335) : ""; sprintf(atcmd_temp, format, level); return atcmd_temp; @@ -625,16 +625,16 @@ ACMD_FUNC(who3) atcmd_output[0]=0; } //Player name - sprintf(temp0, msg_txt(333), pl_sd->status.name); + sprintf(temp0, msg_txt(343), pl_sd->status.name); strcat(atcmd_output,temp0); //Player title, if exists if (pl_GM_level > 0) { //sprintf(temp0, "(%s) ", player_title_txt(pl_GM_level) ); - sprintf(temp0, msg_txt(334), player_title_txt(pl_GM_level) ); + sprintf(temp0, msg_txt(344), player_title_txt(pl_GM_level) ); strcat(atcmd_output,temp0); } //Players Location: map x y - sprintf(temp0, msg_txt(338), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); + sprintf(temp0, msg_txt(348), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); strcat(atcmd_output,temp0); clif_displaymessage(fd, atcmd_output); @@ -695,16 +695,16 @@ ACMD_FUNC(who2) if (strstr(player_name, match_text) != NULL) { // search with no case sensitive //Players Name //sprintf(atcmd_output, "Name: %s ", pl_sd->status.name); - sprintf(atcmd_output, msg_txt(333), pl_sd->status.name); + sprintf(atcmd_output, msg_txt(343), pl_sd->status.name); //Player title, if exists if (pl_GM_level > 0) { //sprintf(temp0, "(%s) ", player_title_txt(pl_GM_level) ); - sprintf(temp0, msg_txt(334), player_title_txt(pl_GM_level) ); + sprintf(temp0, msg_txt(344), player_title_txt(pl_GM_level) ); strcat(atcmd_output,temp0); } //Players Base Level / Job name //sprintf(temp0, "| L:%d/%d | Job: %s", pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_) ); - sprintf(temp0, msg_txt(337), pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_) ); + sprintf(temp0, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_) ); strcat(atcmd_output,temp0); clif_displaymessage(fd, atcmd_output); @@ -769,22 +769,22 @@ ACMD_FUNC(who) g = guild_search(pl_sd->status.guild_id); p = party_search(pl_sd->status.party_id); //Players Name - sprintf(atcmd_output, msg_txt(333), pl_sd->status.name); + sprintf(atcmd_output, msg_txt(343), pl_sd->status.name); //Player title, if exists if (pl_GM_level > 0) { - sprintf(temp0, msg_txt(334), player_title_txt(pl_GM_level) ); + sprintf(temp0, msg_txt(344), player_title_txt(pl_GM_level) ); strcat(atcmd_output,temp0); } //Players Party if exists if (p != NULL) { //sprintf(temp0," | Party: '%s'", p->name); - sprintf(temp0, msg_txt(335), p->party.name); + sprintf(temp0, msg_txt(345), p->party.name); strcat(atcmd_output,temp0); } //Players Guild if exists if (g != NULL) { //sprintf(temp0," | Guild: '%s'", g->name); - sprintf(temp0, msg_txt(336), g->name); + sprintf(temp0, msg_txt(346), g->name); strcat(atcmd_output,temp0); } clif_displaymessage(fd, atcmd_output); |