Jump to content
  • 0

@who and groups


ays297

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   0
  • Joined:  11/30/11
  • Last Seen:  

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?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

       	 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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/25/12
  • Last Seen:  

	   	 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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

All atcommand-related code is located in trunk/src/map/atcommand.c.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/25/12
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...