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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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