Easycore 31 Posted November 2, 2016 Hi, I installed Extended Vending Plugin in the latest Herc without any problems, but I can't enable the system from conf/map/battle/features.conf: /*** Include it in conf/battle/feature.conf*/// Enable Extended Vending Systemextended_vending: 1// Show Currency Name in the Pub of Vendingshow_item_vending: 1// Show Information about buyingex_vending_info: 1// ItemID for Zeny, 0 to disableitem_zeny: 30000// ItemID for CashPoints, 0 to disableitem_cash: 30001 I tried to changing "1" to "true", but didn't work. Is there any solution? Quote Share this post Link to post Share on other sites
0 wallaby 1 Posted November 2, 2016 What's your defination of "install"? Did you re-compile your server? Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted November 2, 2016 What's your defination of "install"? Did you re-compile your server? Yas: When I use skill Vending, this launches normally, as if the plugin's not enabled. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 2, 2016 db/item_vending.txt You have that file? Please mention the client date if you have installed all the files and not yet working Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted November 2, 2016 db/item_vending.txt You have that file? Please mention the client date if you have installed all the files and not yet working Yes, I have db/item_vending.txt I'm using 2014-10-22b~ I used this plugin in a older Herc version and It worked (2014-10-22b too) Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted November 10, 2016 @Dastgir I think that is a reading error from "features.conf" I replaced "if (bc_ex_vending_info == 1)" to "if (bc_ex_vending_info != 1)" and It worked. Also, Zeny and Cash are disabled cause don't read the config, so "item_zeny and item_cash" will always be 0. Same with of the rest. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 10, 2016 @Dastgir I think that is a reading error from "features.conf" I replaced "if (bc_ex_vending_info == 1)" to "if (bc_ex_vending_info != 1)" and It worked. Also, Zeny and Cash are disabled cause don't read the config, so "item_zeny and item_cash" will always be 0. Same with of the rest. There's no such line in that plugin Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted November 11, 2016 If someone have the same problem, a solution for this is: In ExtendedVending.c find: int bc_extended_vending; int bc_show_item_vending; int bc_ex_vending_info; int bc_item_zeny; int bc_item_cash; And replace for: int bc_extended_vending = 1; // Enable Extended Vending System int bc_show_item_vending = 1; // Show Currency Name in the Pub of Vending int bc_ex_vending_info = 1; // Show Information about buying int bc_item_zeny = 30000; // ItemID for Zeny, 0 to disable int bc_item_cash = 30001; // ItemID for CashPoints, 0 to disable Recompile after. This plugin is not reading "features.conf" correctly, so this has worked me momentarily, until Dastgr update this awesome Plugin. Regards Quote Share this post Link to post Share on other sites
0 Aruar 1 Posted May 8, 2022 On 11/10/2016 at 10:35 PM, Easycore said: If someone have the same problem, a solution for this is: In ExtendedVending.c find: int bc_extended_vending; int bc_show_item_vending; int bc_ex_vending_info; int bc_item_zeny; int bc_item_cash; int bc_extended_vending; int bc_show_item_vending; int bc_ex_vending_info; int bc_item_zeny; int bc_item_cash; And replace for: int bc_extended_vending = 1; // Enable Extended Vending System int bc_show_item_vending = 1; // Show Currency Name in the Pub of Vending int bc_ex_vending_info = 1; // Show Information about buying int bc_item_zeny = 30000; // ItemID for Zeny, 0 to disable int bc_item_cash = 30001; // ItemID for CashPoints, 0 to disable int bc_extended_vending = 1; // Enable Extended Vending System int bc_show_item_vending = 1; // Show Currency Name in the Pub of Vending int bc_ex_vending_info = 1; // Show Information about buying int bc_item_zeny = 30000; // ItemID for Zeny, 0 to disable int bc_item_cash = 30001; // ItemID for CashPoints, 0 to disable Recompile after. This plugin is not reading "features.conf" correctly, so this has worked me momentarily, until Dastgr update this awesome Plugin. Regards Thanks, it solved my problem. Quote Share this post Link to post Share on other sites
Hi,
I installed Extended Vending Plugin in the latest Herc without any problems, but I can't enable the system from conf/map/battle/features.conf:
/**
* Include it in conf/battle/feature.conf
*/
// Enable Extended Vending System
extended_vending: 1
// Show Currency Name in the Pub of Vending
show_item_vending: 1
// Show Information about buying
ex_vending_info: 1
// ItemID for Zeny, 0 to disable
item_zeny: 30000
// ItemID for CashPoints, 0 to disable
item_cash: 30001
I tried to changing "1" to "true", but didn't work.
Is there any solution?
Share this post
Link to post
Share on other sites