Jump to content
  • 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

7 answers to this question

Recommended Posts

  • 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

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
  • 0
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.