Jump to content

Recommended Posts

  • 2 weeks later...
Posted

Updated to version 1.7 ( 1.6 ver. fix )

Version 1.7:
  • If file item_vending.txt is empty currency will be Zeny by default
  • Added two configs to file conf/battle/items.conf

Added patch for eAthena.

Posted (edited)

Found Bug

If file item_vending.txt is empty currency will be Zeny by default

- I can't build shop

- extended_vending: 1

- or chose any one currency in files item_vending.txt

eg. cash default

bug.jpg

Edited by Napster
  • Upvote 1
Posted

Nothing of the sort = My file item_vending.txt is Full empty and my auto-currency is Zeny.

Check item id for zeny. Do you really have your zeny item id in your item_db?

P.S.: and if you don't want to use this system, simply turn off it :)

thx for report, Napster

Re-uprated for rAthena to ver. 1.7.1

Bug fixed - thanks to Napster

- returned prevend state.

Posted (edited)

Nothing of the sort = My file item_vending.txt is Full empty and my auto-currency is Zeny.

Check item id for zeny. Do you really have your zeny item id in your item_db?

P.S.: and if you don't want to use this system, simply turn off it :)

thx for report, Napster

Re-uprated for rAthena to ver. 1.7.1

Bug fixed - thanks to Napster

- returned prevend state.

Thank you for fixed

I have tested pass and perfect your src :)

I suggest msg_athena.conf

700: You do not have enough CashPoint

701: You do not have enough items

702: Seller has not enough space in your inventory

703: Seller can not take all the item

704: You have selected: %s

705: Sale is carried out: %s

706: Current Currency: %s

Changed to

705: This shop (owner name) sale is carried out (currency name)

and used "clif_broadcast" show infomation this line

sprintf(output,msg_txt(705),vsd->status.name, itemdb_jname(vsd->vend_loot));

clif_broadcast(&sd->bl, output, strlen(output) + 1, 0x10, SELF);

Edited by Napster
Posted (edited)

Added ver.1.7.2 for rA ( experimental )

Added clif_displaymessagecolor ( credits to Napster) .

Now you can change color of messages of extended vending system.

see clif.h:

#define VEND_COLOR 0x00FFFF // Cyan

Cyan by default

msg_athena.conf has been changed ( Napster suggestion). Now 705 txt looks like :

You've opened Char Name's shop. Sale is carried out: Currency
Edited by Lilith
Posted (edited)
Patch 1.7.2 wont patch :) it says...."...is not a working copy"

Because you delete .svn folder in your server folder

is this compatible with latest 1.7.2 patch for eA?

It's experimental patch for rA only. Maybe this feature will be implemented in the future for other...

Edited by Lilith
Posted

Lilith, there is no .svn folder;

3rdparty, conf, db, doc, log, npc, plugins, readme, sql-files, src, tools, vcproj-9, and vcproj-10 are the only folders

Posted

Also a question...How can I make it so it doesnt show "[iTEMID]" on the shops? I wanna make all vending use only 1 currency which is an item but I dont want it to show like "[Cash] Store Name", "[TCG] Store Name"

  • Upvote 1
Posted

Updated to ver.1.8 for rA

Version 1.8:

  • Added option for more info about buying ( see version 1.8 preview)
  • Added option for add/remove ITEM_ID name from vending board ( Suggest by Pneuma )
  • All settings moved from conf/battle/items.conf to conf/battle/feature.conf

Version 1.8 preview:

index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=1709

Posted

I have test last update 1.8

conf/battle/feature.conf

have item_id

and item_vending.txt

but use skill vending can't show the Select Window

Server can't read all item_id in feature.conf

what happen?!

I thank this problem sort item_id in clif_vend

Plz Confirm again :)

Posted

I have test last update 1.8.1

if i want use (cash + item) only

but in game select windows show all (zeny+cash+item)

conf/battle/feature.conf

// Item ID for Zeny. Set to 0 if you don't want use Zeny.

item_zeny: 0 <--- disable

// Item ID for Cash. Set to 0 if you don't want use Cash.

item_cash: 30001

bug ?

Posted

@Napster, if you don't use Zeny item (item_zeny: 0) remove also itemid_zeny from db/item_vending.txt, because If you do not use the option item_zeny then zeny item treated as an ordinary item.

Posted

@Napster, if you don't use Zeny item (item_zeny: 0) remove also itemid_zeny from db/item_vending.txt, because If you do not use the option item_zeny then zeny item treated as an ordinary item.

yes I tested as you said

but in game select windows show all : (

item_vending.txt remove item_zeny

config set item_zeny: 0

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...