Diconfrost VaNz Posted January 16, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Share Posted January 16, 2013 How to disable healing items in a pvp map? for example i have PVP Map 1 and PvP Map 2, and i want the PvP Map 2 to disable players to use healing items while pvp'ing inside it. Quote Link to comment Share on other sites More sharing options...
ossi0110 Posted January 16, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 318 Reputation: 37 Joined: 12/30/11 Last Seen: October 3, 2017 Share Posted January 16, 2013 (edited) you can use the Item Restrict.db or just use this script from Emistry http://rathena.org/b...-limited-items/ Edited January 16, 2013 by ossi0110 Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted January 16, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Author Share Posted January 16, 2013 thanks for this gonna check this out this script makes the server slow. any other options? up i need help Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 16, 2013 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 January 16, 2013 https://rathena.org/board/index.php?/files/file/2769-restock-onpcconsumeevent/ wee...you can try this...but it's not free >.<you can just create a float npc with the OnPCConsumeEvent label..and check if they consumed any healing items...if they did...warp them out..work the same as the script proposed above..but i think this would be more resource friendly than the script above..else i think you gonna need some custom source mod to alter the healing effect of etc way....and of course there are alot solutions you can try...nulify the heal effect in the map using thisif( strcharinfo(3) != "mapname" ) percentheal 100,100; or...trunk/db/re/item_noequip.txtit's depend on how you want it to work....or...you want to try it or not... Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted January 17, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Author Share Posted January 17, 2013 (edited) @Emistry = well i will buy that if it will really works. i need to talk to you, are you online in your fb?do you have any YM account? anyone please? Edited January 16, 2013 by Diconfrost VaNz Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 17, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 17, 2013 EXCELLENT! I was trying to get a chance to rewrite my student's script https://rathena.org/board/index.php?/files/file/2769-restock-onpcconsumeevent/ wee...you can try this...but it's not free >.< you can just create a float npc with the OnPCConsumeEvent label.. I actually don't like people showing off their paid scripts where the solution isn't shown to publicif you want to do that, please do it in PMs otherwise, I'm rewriting your script getstorageitem patch http://pastebin.com/raw.php?i=XsYif6tL item script update item_db_re set script = concat( script, ' callfunc "restock_pot", 501;' ) where id = 501; npc script function script restock_pot { .@restock_rate = 5; if ( !countitem( getarg(0) ) ) { if ( countstorageitem( getarg(0) ) >= .@restock_rate ) { delstorageitem getarg(0), .@restock_rate; getitem getarg(0), .@restock_rate; } } return; } and check if they consumed any healing items...if they did...warp them out.. no need to add another event label like OnPCConsumeEvent: can just do it with callfunc or doevent update item_db_re set script = concat( script, ' callfunc "restrict_item";' ) where id = 501; function script restrict_item { if ( strcharinfo(3) == "guild_vs2" ) warp "SavePoint", 0,0; return; } How to disable healing items in a pvp map?I'm trying to rewrite this noitem mapflag also ... give me some time 1 Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted January 17, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Author Share Posted January 17, 2013 @AnnieRuru = please help me out on here thanks if possible, only script not with a scr code (if only possible) Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 17, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 17, 2013 noitem_mapflag_17101.patch prontera mapflag noitem 0 disable all healing items in prontera or you can use https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/item_noequip.txt to disable using an items, its better to use item_noequip.txt by database or use this source modifications ... using npc scripts seems wasting server resources Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted January 17, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Author Share Posted January 17, 2013 i've already downloaded it. It means i will edit the restricted.txt and put "prontera mapflag noitem 0" is that right? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 17, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 17, 2013 no, I recommend just the source modification enough noitem_mapflag_17101.patch prontera mapflag noitem 0 disable all healing items in prontera just like this enoughbtw if you are satisfy with this source modification, I'll move this topic into source request Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted January 17, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Author Share Posted January 17, 2013 (edited) Is there any npc scripts out there that can do this? or this is the only way? Edited January 17, 2013 by Diconfrost VaNz Quote Link to comment Share on other sites More sharing options...
pandaplaygames Posted January 27, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 113 Reputation: 2 Joined: 10/29/12 Last Seen: September 21, 2017 Share Posted January 27, 2013 You can make an entrance NPC that does @storeall if that suits your case or checks on healing items with an array which may tend to be tedious considering how many items out there give HP Quote Link to comment Share on other sites More sharing options...
Question
Diconfrost VaNz
How to disable healing items in a pvp map?
for example i have PVP Map 1 and PvP Map 2, and i want the PvP Map 2 to disable players to use healing items while pvp'ing inside it.
Link to comment
Share on other sites
11 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.