Jump to content
  • 0
ThyroDree

Disable Trade Request during WoE

Question

is it possible to disable the Deal / Trade Request During WoE? to avoid those players who distract who is on WoE

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I remember I wrote noitemtrade mapflag in rathena

http://rathena.org/board/topic/91157-is-there-a-way-to-prevent-use-on-a-specific-map/?p=239281

just need a little tweaking

 src/map/trade.c | 5 +++++ 1 file changed, 5 insertions(+)diff --git a/src/map/trade.c b/src/map/trade.cindex 44b669e..ad5f101 100644--- a/src/map/trade.c+++ b/src/map/trade.c@@ -36,6 +36,11 @@ void trade_traderequest(struct map_session_data *sd, struct map_session_data *ta 		return; //Can't trade in notrade mapflag maps. 	} +	if ( map->list[sd->bl.m].flag.gvg_castle && ( map->agit_flag || map->agit2_flag ) ) {+		clif->message( sd->fd, "You can't trade inside WoE castle during WoE siege period." );+		return;+	}+ 	if (target_sd == NULL || sd == target_sd) { 		clif->tradestart(sd, 1); // character does not exist 		return;

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...

×
×
  • Create New...

Important Information

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