Jump to content

Extended Vending System [1.8]


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

need help why when i use vending skill the map-server.exe has stopped working?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

do you have patch for eathena?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

Wow! It works with latest revision of eathena. Thanks for the great mods Lilith

Cheers! :)

Screenshot

post-524-0-81311000-1335780502_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

is this compatible with latest 1.7.2 patch for eA?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   136
  • Joined:  02/26/14
  • Last Seen:  

Patch 1.7.2 wont patch :) it says...."...is not a working copy"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   136
  • Joined:  02/26/14
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

anyone can make mirror in diff file?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   136
  • Joined:  02/26/14
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

Pneuma, current patch don't have this setting... but i think it's suggestion...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   136
  • Joined:  02/26/14
  • Last Seen:  

Well, I mean if you looked at the video in my other topic(my request topic) its just like I asked

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

How can i use this file (.patch)?

I don't know how add =/

Edited by MojoMojo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Any plans on making such function for buying store as well? Quite an interesting script you got here.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

@Napster, thx again =) But problem in skill.c i'll fix it some later.

Version 1.8 fixed. Thx to Napster.

Now you can download ver.1.8.1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

how to patch?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

@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

Link to comment
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
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.

×
×
  • Create New...