• 0
Easycore

Enable Extended Vending Plugin

Question

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

8 answers to this question

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

db/item_vending.txt

You have that file?

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

Share this post


Link to post
Share on other sites
  • 0

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)

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

@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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now