Jump to content
  • 0

Disable /break guild during WOE


Question

2 answers to this question

Recommended Posts

Posted

In /src/map/clif.c search for clif_parse_GuildBreak (line 12043).

Change that whole function to this:

/// Request to delete own guild (CZ_REQ_DISORGANIZE_GUILD).
/// 015d <key>.40B
/// key:
///     now guild name; might have been (intended) email, since the
///     field name and size is same as the one in CH_DELETE_CHAR.
void clif_parse_GuildBreak(int fd, struct map_session_data *sd)
{
if( map[sd->bl.m].flag.guildlock )
{	//Guild locked.
	clif_displaymessage(fd, msg_txt(228));
	return;
}
if (agit_flag || agit2_flag)
{
	clif_displaymessage(fd, "You can't break guild during WoE.");
	return;
}
guild_break(sd,(char*)RFIFOP(fd,2));
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...