Jump to content
  • 0
Sign in to follow this  
markblank05

How to remove channel map text every time I change map?

Question

3 answers to this question

Recommended Posts

  • 0

If you want to remove it from every single map you can just delete this from your channel.c

 

if (!silent && !(chan->options&HCS_OPT_ANNOUNCE_JOIN)) {		char output[CHAT_SIZE_MAX];		if (chan->type == HCS_TYPE_MAP) {			sprintf(output, msg_sd(sd,1435), chan->name, map->list[chan->m].name); // You're now in the '#%s' channel for '%s'		} else {			sprintf(output, msg_sd(sd,1403), chan->name); // You're now in the '%s' channel		}		clif->colormes(sd->fd, COLOR_DEFAULT, output);	}

Share this post


Link to post
Share on other sites
  • 0

 

If you want to remove it from every single map you can just delete this from your channel.c

 

if (!silent && !(chan->options&HCS_OPT_ANNOUNCE_JOIN)) {		char output[CHAT_SIZE_MAX];		if (chan->type == HCS_TYPE_MAP) {			sprintf(output, msg_sd(sd,1435), chan->name, map->list[chan->m].name); // You're now in the '#%s' channel for '%s'		} else {			sprintf(output, msg_sd(sd,1403), chan->name); // You're now in the '%s' channel		}		clif->colormes(sd->fd, COLOR_DEFAULT, output);	}

 

is there any another way without eding the src? like just turning off this option?

Share this post


Link to post
Share on other sites
  • 0

You can disable autojoin to #map channel.

 

In file conf/channels.conf change

map_local_channel_autojoin: true

to

map_local_channel_autojoin: false

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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