patr3k Posted August 19, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Share Posted August 19, 2012 How can i set a certain map that you cannot use your skills and you cannot use any mount like pecopeco,mado,warg etc? Quote Link to comment Share on other sites More sharing options...
Mystery Posted August 20, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted August 20, 2012 No skills: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/mapflag/noskill.txt For stoping mount.. disable @mount or disable renters to not allow mounting. Since, players get the mounts through renters or @mount Quote Link to comment Share on other sites More sharing options...
patr3k Posted August 20, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Author Share Posted August 20, 2012 for example i want to disable the mount and no skills on this map pvp_n_1-3. how can i do that? Quote Link to comment Share on other sites More sharing options...
Santino Posted August 20, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 20, 2012 for noskills, read post # 2. & don't have an idea about the mount. didn't test yet: if( ismounting() ) { mes "...."; setmounting();//This removes the user mount } else { Source Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 20, 2012 for example i want to disable the mount and no skills on this map pvp_n_1-3. how can i do that? pvp_n_1-3 mapflag noskill do disable the item from using in certain map.. you can try edit item_noequip.txt and give a proper restriction mapflag to the map or edit the item script inside the item_db.txt Quote Link to comment Share on other sites More sharing options...
patr3k Posted August 20, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Author Share Posted August 20, 2012 Emistry, Can you help me with that? I don't know how to do it. Please Quote Link to comment Share on other sites More sharing options...
Mystery Posted August 21, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted August 21, 2012 Emistry, Can you help me with that? I don't know how to do it. Please It's very easy. You follow what is already mentioned in the file: // The equipment/items/cards restriction file // here you define which items may not be used at PvP / GvG // format: <item id>,<mode> // mode // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 //Examples: //1201,1 you can't use KNIFE(ID 1201) on normal maps //608,4 you can't use Yggdrasil Seed(ID 608) on both GvG and WoE Castles //4174,6 Forbid Deviling Card in every PVP or GVG map, and during woes. //501,32 you can't use Red Potion on map marked as 'restricted zone 1' //502,64 you can't use Orange Potion on map marked as 'restricted zone 2' //503,128 you can't use Yellow Potion on map marked as 'restricted zone 3' // you can even mix modes //519,322 (256+64+2) you can't use Milk on PVP, and maps marked as 'restricted zone 2' and 'restricted zone 4' Quote Link to comment Share on other sites More sharing options...
Question
patr3k
How can i set a certain map that you cannot use your skills and you cannot use any mount like pecopeco,mado,warg etc?
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.