Jezu Posted March 20, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted March 20, 2012 Hi rAthena community, I just want to ask if possible to restrict the command '@at / @autotrade' on all maps except on turbo room.. If I disabled the @commands on any towns, the @storage, @go and any other commands will not work. Quote Link to comment Share on other sites More sharing options...
sizenine Posted March 20, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share Posted March 20, 2012 use the novending mapflag.. in conf folder 1 Quote Link to comment Share on other sites More sharing options...
Eurydice Posted March 20, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 414 Reputation: 103 Joined: 11/13/11 Last Seen: September 28, 2013 Share Posted March 20, 2012 The 'novending' mapflag would block vending completely. If you're able to vend, just not @autotrade might be this: By chance is this set to yes ? ../conf/battle/misc.conf [// Allow autrade only in map with autotrade flag? // Set this to "no" will allow autotrade where no "autotrade" mapflag is set // Set this to "yes" to only allow autotrade on maps with "autotrade" mapflag at_mapflag: no Yay Google. Credits to BrianL. 1 Quote Link to comment Share on other sites More sharing options...
Jezu Posted March 20, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted March 20, 2012 so what will be the mapflag code? like this? prontera<tab>mapflag<tab>autotrade<tab>no Quote Link to comment Share on other sites More sharing options...
Eurydice Posted March 20, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 414 Reputation: 103 Joined: 11/13/11 Last Seen: September 28, 2013 Share Posted March 20, 2012 No. If you edit the /conf/battle/misc.conf and set it to yes... It should be... turbo_room mapflag autotrade @at will be enabled in that one map only. 1 Quote Link to comment Share on other sites More sharing options...
Legato Posted March 20, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 87 Reputation: 1 Joined: 11/20/11 Last Seen: September 10, 2013 Share Posted March 20, 2012 For your first question, yes, you can. Here if( sd->bl.m != map_mapname2mapid("turbo_room") && !pc_isGM(sd) ) { clif_displaymessage(fd,"You can only use this command inside turbo room!"); return -1; } Paste it under @at/@autotrade command. Normal players won't be able to use the command outside turbo_room. For the second question, prontera mapflag nocommand 99 blocks all @commands optionally, you can specify the minimum GM level which can override and still use @commands Quote Link to comment Share on other sites More sharing options...
Jezu Posted March 20, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Author Share Posted March 20, 2012 No. If you edit the /conf/battle/misc.conf and set it to yes... It should be... turbo_room mapflag autotrade @at will be enabled in that one map only. I will give this a try. Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Question
Jezu
Hi rAthena community,
I just want to ask if possible to restrict the command '@at / @autotrade' on all maps except on turbo room..
If I disabled the @commands on any towns, the @storage, @go and any other commands will not work.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.