khalimandor Posted January 17, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/09/15 Last Seen: April 28, 2016 Share Posted January 17, 2016 guys,, how or where do you set mapflag for autotrade? example im only want player to autotrade at payon city, and cant auto trade at other city,thanks for helping and sorry for my bad english ... Quote Link to comment Share on other sites More sharing options...
0 Oceanid Posted January 17, 2016 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 80 Reputation: 2 Joined: 10/08/13 Last Seen: March 5, 2020 Share Posted January 17, 2016 (edited) Yes but don't include on. When you make the script it will automatcally allow autotrade on that map. So the script will look like this: prontera(tab) mapflag(tab) autotrade Make sure that you change this value in conf/battle/misc to yes at_mapflag: no Changing it to yes will allow autotrade on any map where it is enabled. That being said you only want to include maps where you want it to be enabled in the script. Then just make sure you include the path of the file in scripts_mapflag.conf. npc: npc/mapflag/autotrade.txt This is the line you want to add to scripts_mapflag.conf. After that just do @reloadscript in game. Edited January 17, 2016 by Oceanid 1 Quote Link to comment Share on other sites More sharing options...
0 Oceanid Posted January 17, 2016 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 80 Reputation: 2 Joined: 10/08/13 Last Seen: March 5, 2020 Share Posted January 17, 2016 You can do it in-game by using the command @mapflag on the map you want to apply the mapflag too. Or if you don't want to do that you can make a file in npc/mapflag in your rathena files. Ex. //===== rAthena Script ======================================= //= Mapflag: Disable Player versus Player mode. //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== //= 1.3 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Prevents PvP mode on a map. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.2 Updated. [L0ne_W0lf] //= 1.3 Renewal split. [Euphy] //============================================================ // Instances =================== 1@cata mapflag pvp off 2@cata mapflag pvp off 1@nyd mapflag pvp off 2@nyd mapflag pvp off 1@orcs mapflag pvp off 2@orcs mapflag pvp off If you do it that way just remember to include the path of the file in scripts_mapflag.conf and reload scripts in game. Quote Link to comment Share on other sites More sharing options...
0 khalimandor Posted January 17, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/09/15 Last Seen: April 28, 2016 Author Share Posted January 17, 2016 (edited) thank you for replying sir.. for in-game command @mapflag,, there are no option to restrict or allowed autotrade at the place.. honestly im still very new at scripting.. do you mean i should write scripting like this:"Payon mapflag autotrade on" .... ?? if yes where should i put this script , so i can run it ? EDIT: for the in-game, i already typing "@mapflag autotrade 0" and @reloadscript at prontera city, the command got no error, but still nothing changes. and i still can autotrade at prontera. does i do it wrongly? thanks and sorry for my bad english.. Edited January 17, 2016 by khalimandor Quote Link to comment Share on other sites More sharing options...
0 khalimandor Posted January 17, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/09/15 Last Seen: April 28, 2016 Author Share Posted January 17, 2016 (edited) im so sorry, because im not trying it all yet,, and yes thank you for solving my problem my step is change at_mapflag: no to ---> at_mapflag: yes at conf/battle/misc then go to town that you want to setting it toexample me, i go to payon then typing @mapflag autotrade 1. edit: im forgot,, use @reloadbattleconf to make it works... thank you !! thank you very much ..!!! thank you very much ..!!! Edited January 17, 2016 by khalimandor Quote Link to comment Share on other sites More sharing options...
Question
khalimandor
guys,, how or where do you set mapflag for autotrade?
example im only want player to autotrade at payon city, and cant auto trade at other city,
thanks for helping and sorry for my bad english ...
Link to comment
Share on other sites
4 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.