Wynn_ Posted February 28, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 17 Reputation: 12 Joined: 02/02/12 Last Seen: November 13, 2012 Share Posted February 28, 2012 This is my first source mod, it allows you to disable multiple items/skills on maps. <mapa> [TAB] mapflag [TAB] <mapflag> [TAB] <param>,<param>,... NOITEM: param: item id = Only disables item id 1 = Disables all consumable items 2 = Disables and takes off all equipments 4 = Disables all card effects Example: prontera mapflag noitem 1222,501,503,505,4001,4033 // Damascus, red, yellow and blue potions disabled, Poring and Poporing cards won't work geffen mapflag noitem 4,1 // All consumable items are disabled, no card effects. izlude mapflag noitem 5 // The same as above (4+1) NOSKILL2: param: skill id = Disables the specified skill. Example: prontera mapflag noskill2 243,8016 // Can't use "Call Homunculus" and Vanilmirth's "Bio Explosion" skills geffen mapflag noskill2 83,89,85 // Can't use "Storm Gust", "Meteor Storm" and "Lord of Vermillion" Mirror: http://paste.pocoo.org/raw/557974/ noitemnoskill.patch 3 Quote Link to comment Share on other sites More sharing options...
Legato Posted February 28, 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 February 28, 2012 This is nice. You don't have set every items you want to block on the same map. Thanks. :] Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 28, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 28, 2012 (edited) wow thanks will be useful Ms. Wynn can you also do a Global one? that makes all item/usable not to work? Sorry my bad wasn't reading the Function works for All too Thanks works perfectly Edited February 28, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
XenaNyx Posted March 13, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 131 Reputation: 8 Joined: 02/08/12 Last Seen: May 30, 2021 Share Posted March 13, 2012 can you make like this for setcell? Quote Link to comment Share on other sites More sharing options...
Lilith Posted March 23, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted March 23, 2012 (edited) thanks for sharing. but first param of noskill2 mapflag wont work. Ex. prontera mapflag noskill2 243 Skill with ID 243 will work in prontera... i must add it else: prontera mapflag noskill2 243,243 Edited March 23, 2012 by Lilith Quote Link to comment Share on other sites More sharing options...
Lige Posted April 9, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 23 Reputation: 2 Joined: 02/07/12 Last Seen: December 12, 2022 Share Posted April 9, 2012 (edited) Thanks very much for creating this, I was super happy when search actually yielded a return on this xP Now to just get it working >.< Edited April 9, 2012 by Lige Quote Link to comment Share on other sites More sharing options...
Napster Posted April 9, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted April 9, 2012 thanks for sharing. but first param of noskill2 mapflag wont work. Ex. prontera mapflag noskill2 243 Skill with ID 243 will work in prontera... i must add it else: prontera mapflag noskill2 243,243 Confirm this problem and some skill can work in mapflag eg. vending skill Quote Link to comment Share on other sites More sharing options...
Lilith Posted April 10, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted April 10, 2012 In file skill.c ARR_FIND(1, must be replaced to ARR_FIND(0, I think... Quote Link to comment Share on other sites More sharing options...
Napster Posted April 10, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted April 10, 2012 In file skill.c ARR_FIND(1, must be replaced to ARR_FIND(0, I think... I have test That work Quote Link to comment Share on other sites More sharing options...
Jhosef Posted April 11, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Share Posted April 11, 2012 This is my first source mod, it allows you to disable multiple items/skills on maps. <mapa> [TAB] mapflag [TAB] <mapflag> [TAB] <param>,<param>,... NOITEM: param: item id = Only disables item id 1 = Disables all consumable items 2 = Disables and takes off all equipments 4 = Disables all card effects Example: prontera mapflag noitem 1222,501,503,505,4001,4033 // Damascus, red, yellow and blue potions disabled, Poring and Poporing cards won't work geffen mapflag noitem 4,1 // All consumable items are disabled, no card effects. izlude mapflag noitem 5 // The same as above (4+1) NOSKILL2: param: skill id = Disables the specified skill. Example: prontera mapflag noskill2 243,8016 // Can't use "Call Homunculus" and Vanilmirth's "Bio Explosion" skills geffen mapflag noskill2 83,89,85 // Can't use "Storm Gust", "Meteor Storm" and "Lord of Vermillion" where i put this??? Quote Link to comment Share on other sites More sharing options...
ngek202 Posted April 17, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted April 17, 2012 (edited) noitem seems not working with the latest version. my bad working as it was. Edited April 17, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Achhandrian Posted August 5, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 51 Reputation: 2 Joined: 07/31/12 Last Seen: September 23, 2020 Share Posted August 5, 2012 Does it work with the newest SVN ? I only get an Error: pc.c:877: error: 'nameid' undeclared (first use in this function) pc.c:877: error: (Each undeclared identifier is reported only once pc.c:877: error: for each function it appears in.) pc.c: In function 'pc_equipitem': pc.c:7924: error: 'calc_flag' undeclared (first use in this function) Quote Link to comment Share on other sites More sharing options...
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.