Jump to content
  • 0
domez86

delete the command /who

Question

Hi, to delete the command: / who

?

 

how do I change this string? ---> / W or / who or / players or / who: wiew the current number of player #

 

tnx 1000.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

trunk/src/map/clif.c

Find:

/// /w /who (CZ_REQ_USER_COUNT).
/// Request to display amount of currently connected players.
/// 00c1
void clif_parse_HowManyConnections(int fd, struct map_session_data *sd)
{
	clif_user_count(sd, map_getusers());
}

Replace:

/// /w /who (CZ_REQ_USER_COUNT).
/// Request to display amount of currently connected players.
/// 00c1
void clif_parse_HowManyConnections(int fd, struct map_session_data *sd)
{
/*	clif_user_count(sd, map_getusers());*/
}
Link to comment
Share on other sites

trunk/src/map/clif.c

Find:

/// /w /who (CZ_REQ_USER_COUNT).
/// Request to display amount of currently connected players.
/// 00c1
void clif_parse_HowManyConnections(int fd, struct map_session_data *sd)
{
	clif_user_count(sd, map_getusers());
}

Replace:

/// /w /who (CZ_REQ_USER_COUNT).
/// Request to display amount of currently connected players.
/// 00c1
void clif_parse_HowManyConnections(int fd, struct map_session_data *sd)
{
/*	clif_user_count(sd, map_getusers());*/
}
I edited the file as you say, I rebooted the server but the command uses the same .... nothing has changed.
why?
Edited by domex86
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.