Enable Extended Vending Plugin

Easycore

New member
Messages
184
Points
0
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?

 
What's your defination of "install"? Did you re-compile your server?
Yas:

xi5ziGs.png


When I use skill Vending, this launches normally, as if the plugin's not enabled.

 
db/item_vending.txt

You have that file?

Please mention the client date if you have installed all the files and not yet working

 
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)

 
@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.

 
@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
 
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

 
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.

 
Back
Top