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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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