ays297 Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Share Posted November 7, 2012 Is there any way to remove @who indicator: when you type @who Name: ays297 (Super Player) | Guild: lol Name: ays298 (Admin) For example, removing Super Player groups in @who? Or something like that? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 7, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 7, 2012 switch (display_type) { case 2: { StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StringBuf_Printf(&buf, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_)); // "| Lv:%d/%d | Job: %s" break; } case 3: { if (pc_has_permission(sd, PC_PERM_WHO_DISPLAY_AID)) StringBuf_Printf(&buf, msg_txt(912), pl_sd->status.char_id, pl_sd->status.account_id); // "(CID:%d/AID:%d) " StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StringBuf_Printf(&buf, msg_txt(348), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); // "| Location: %s %d %d" break; } default: { struct party_data *p = party_search(pl_sd->status.party_id); struct guild *g = guild_search(pl_sd->status.guild_id); StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " if (p != NULL) StringBuf_Printf(&buf, msg_txt(345), p->party.name); // " | Party: '%s'" if (g != NULL) StringBuf_Printf(&buf, msg_txt(346), g->name); // " | Guild: '%s'" break; } } just comment them Quote Link to comment Share on other sites More sharing options...
yohann21 Posted January 18, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 11/25/12 Last Seen: September 20, 2013 Share Posted January 18, 2013 switch (display_type) { case 2: { StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StringBuf_Printf(&buf, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_)); // "| Lv:%d/%d | Job: %s" break; } case 3: { if (pc_has_permission(sd, PC_PERM_WHO_DISPLAY_AID)) StringBuf_Printf(&buf, msg_txt(912), pl_sd->status.char_id, pl_sd->status.account_id); // "(CID:%d/AID:%d) " StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StringBuf_Printf(&buf, msg_txt(348), mapindex_id2name(pl_sd->mapindex), pl_sd->bl.x, pl_sd->bl.y); // "| Location: %s %d %d" break; } default: { struct party_data *p = party_search(pl_sd->status.party_id); struct guild *g = guild_search(pl_sd->status.guild_id); StringBuf_Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " // if (pc_get_group_id(pl_sd) > 0) // Player title, if exists // StringBuf_Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " if (p != NULL) StringBuf_Printf(&buf, msg_txt(345), p->party.name); // " | Party: '%s'" if (g != NULL) StringBuf_Printf(&buf, msg_txt(346), g->name); // " | Guild: '%s'" break; } } just comment them where i can see this? Quote Link to comment Share on other sites More sharing options...
Euphy Posted January 18, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted January 18, 2013 All atcommand-related code is located in trunk/src/map/atcommand.c. Quote Link to comment Share on other sites More sharing options...
yohann21 Posted January 18, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 11/25/12 Last Seen: September 20, 2013 Share Posted January 18, 2013 All atcommand-related code is located in trunk/src/map/atcommand.c. can u guide where can i put this script? thanks i mean i want to remove the gm title for my server is annie's post are already fix? opps... thanks i already fix my problem Quote Link to comment Share on other sites More sharing options...
Question
ays297
Is there any way to remove @who indicator:
For example, removing Super Player groups in @who? Or something like that?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.