dfabsgwapings 1 Posted January 7, 2017 Hi everyone how can I restrict a player to equip a specific gears or weapons to a map? please help me out Quote Share this post Link to post Share on other sites
0 Legend 43 Posted January 15, 2017 (edited) Why the map_zone_db.conf is not disabling those equippable items? Is there a way to restrict an equippable item or NONE? I can confirm this too... Equippable items can't be restricted even with map_zone_db, well i thought t'was working properly. So I made an alternative script Link: http://upaste.me/b63938928ba159ff3 Please do report if you found bugs regarding to that script. Edit: Oops, found a bug. Script updated with the same link! Edited January 15, 2017 by Legend 1 dfabsgwapings reacted to this Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 8, 2017 bump Quote Share this post Link to post Share on other sites
0 Legend 43 Posted January 8, 2017 Make use of the map_zone_db.conf to disable specific items on specific map. Note that you can add your own zones, apply certain restrictions and call the zone you created by using "mapflag". Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 9, 2017 Thanks for thw information Legend. Ill try it later once i got home Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 11, 2017 @Legend Can you please help me out on how to use the map_zone_db.conf? I really dont understand how to use it. Let say I want to restrict the player by wearing the Angra Manyu to ordeal_1-2 map. Or if the player enters the map while wearing it, the Angra Manyu will automatically unequip to the player and they will not be able to equip it as long as the player is inside the map. Please help me out on how how to do this.. Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 14, 2017 BUMP ****************** Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 14, 2017 (edited) according to Legend also by reading this article http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ I can disable a specific item to a map. Yes it's right, it's perfectly working BUT why is it only disabling the usable items? What about an equipment? a headgears? or any wearable items? Are they not allowed to be disabled? This is what I did On map_zone_db.conf { name: "Not Allowed" disabled_items: { Greed_Scroll: true, ID1101: true // Sword } } I even tried this { name: "Not Allowed" disabled_items: { Greed_Scroll: true, Sword: true // Sword } } and in zone.txt ordeal_1-2 mapflag zone Not Allowed This one is only disabling the Greed_Scroll but not the Sword or any equippable items. I tried to change the Sword to Red_Potion And both items are starting to be restricted (Greed_Scroll and Red_Potion) Why the map_zone_db.conf is not disabling those equippable items? Is there a way to restrict an equippable item or NONE? Hope someone can answer this one SPECIAL THOSE STAFF of Hercules... Edited January 14, 2017 by dfabsgwapings Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 15, 2017 Thanks Legend its working fine... I hope the Developers of Hercules can include equipments being restricted by using the map_zone_db.conf @Legend I just have a little suggestion. Instead of warping the character out of the map is it possible to just automatically unequip the item when the player tries to use it? Quote Share this post Link to post Share on other sites
0 Legend 43 Posted January 15, 2017 Thanks Legend its working fine... I hope the Developers of Hercules can include equipments being restricted by using the map_zone_db.conf No prob. You can submit this issue regarding the map_zone_db bug on Herc Github: https://github.com/HerculesWS/Hercules/issues I just have a little suggestion. Instead of warping the character out of the map is it possible to just automatically unequip the item when the player tries to use it? So I modified the script to suit with your request Same Link: http://upaste.me/b63938928ba159ff3 Please do report if you found bugs. Quote Share this post Link to post Share on other sites
0 dfabsgwapings 1 Posted January 15, 2017 thanks alot Legend. Quote Share this post Link to post Share on other sites
Hi everyone how can I restrict a player to equip a specific gears or weapons to a map? please help me out
Share this post
Link to post
Share on other sites