Wynn_ Posted February 28, 2012 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
Legato Posted February 28, 2012 Posted February 28, 2012 This is nice. You don't have set every items you want to block on the same map. Thanks. :] Quote
ngek202 Posted February 28, 2012 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
Lilith Posted March 23, 2012 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
Lige Posted April 9, 2012 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
Napster Posted April 9, 2012 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
Lilith Posted April 10, 2012 Posted April 10, 2012 In file skill.c ARR_FIND(1, must be replaced to ARR_FIND(0, I think... Quote
Napster Posted April 10, 2012 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
Jhosef Posted April 11, 2012 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
ngek202 Posted April 17, 2012 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
Achhandrian Posted August 5, 2012 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
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.