Bringer Posted November 23, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted November 23, 2014 can anyone help me about this problem Quote Link to comment Share on other sites More sharing options...
Yonko Posted November 23, 2014 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted November 23, 2014 (edited) Try this?http://rathena.org/board/topic/77378-skillitem-map-restriction-now-supports-multiple-maps///<nameid>:<map1>{,<map2>,<map3>,<map4>,...}//Disables Red Potion usage in Prontera and Payon4198:prtg_cas01,prtg_cas02 .... and so on Edited November 23, 2014 by Yonko Quote Link to comment Share on other sites More sharing options...
Bringer Posted November 24, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Author Share Posted November 24, 2014 Try this? http://rathena.org/board/topic/77378-skillitem-map-restriction-now-supports-multiple-maps/ //<nameid>:<map1>{,<map2>,<map3>,<map4>,...} //Disables Red Potion usage in Prontera and Payon 4198:prtg_cas01,prtg_cas02 .... and so on i dont know how to patch that any guide ? Quote Link to comment Share on other sites More sharing options...
Thanatos Memory Posted November 24, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 80 Reputation: 14 Joined: 05/29/13 Last Seen: October 29, 2016 Share Posted November 24, 2014 First find the . txt file. item_mapdeny.txtand add the map like this.//Disables Red Potion usage in Prontera and Payon501:prontera,payon501 = Red potion item ID. and the mapprontera,payon. Quote Link to comment Share on other sites More sharing options...
Kichi Posted November 24, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted November 24, 2014 change your maya purple card script to be like this. if(!getmapflag(strcharinfo(3),26)){bonus bIntravision,0;} Maya Purple will not work at castle Untested, more info and support contact me Quote Link to comment Share on other sites More sharing options...
Nerfwood Posted November 24, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 104 Reputation: 27 Joined: 12/05/13 Last Seen: August 26, 2015 Share Posted November 24, 2014 (edited) Use the item_noequip.txt in your db/import folder. // Forbidden Items Database// Defines restrictions on equipment, items, and cards in map types and zones. //// Structure of Database:// ItemID,Flag//// Legend for 'Flag' field (bitmask):// 1 - restricted in normal maps// 2 - restricted in PVP// 4 - restricted in GVG// 8 - restricted in Battlegrounds So, just add the following in the said file: 4198,4 Make sure to use @reload item for the changes to take effect. Edit: The above statement also disables the card in other GvG Maps. If you don't want those to be affected, add a restricted zone mapflag to the castles, and change the flag in the db folder accordingly. Example: Script file: prtg_cas01 mapflag restricted <zone> Let's say the zone you used is 5, so you will be using 512 as your flag in the item_noequip.txt (there's an explanation in the file). item_noequip.txt 4198,512 Edited November 24, 2014 by kalkalkal Quote Link to comment Share on other sites More sharing options...
Bringer Posted November 25, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Author Share Posted November 25, 2014 (edited) Use the item_noequip.txt in your db/import folder. // Forbidden Items Database // Defines restrictions on equipment, items, and cards in map types and zones. // // Structure of Database: // ItemID,Flag // // Legend for 'Flag' field (bitmask): // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds So, just add the following in the said file: 4198,4 Make sure to use @reload item for the changes to take effect. Edit: The above statement also disables the card in other GvG Maps. If you don't want those to be affected, add a restricted zone mapflag to the castles, and change the flag in the db folder accordingly. Example: Script file: prtg_cas01 mapflag restricted <zone> Let's say the zone you used is 5, so you will be using 512 as your flag in the item_noequip.txt (there's an explanation in the file). item_noequip.txt 4198,512 Thanks its Working now Edited November 25, 2014 by DrewxD Quote Link to comment Share on other sites More sharing options...
Question
Bringer
can anyone help me about this problem
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.