Jump to content
  • 0

Zeny Shop with Limited supply


Question

5 answers to this question

Recommended Posts

  • 0
Posted
14 hours ago, Start_ said:

\doc\sample\npc_dynamic_shop.txt

This one actually works, but would there be something like you can see how much is left for you to buy? and easier to script to work with? on dynamic shop it looks like you need to replicate every script for each item you will be selling isn't that right?

  • 0
Posted
17 hours ago, Almond Snicker said:

but would there be something like you can see how much is left for you to buy

dynamic shop can show in dispbottom, but it isn't real time
for example, 2 players access to the same shop at the same time, if 1 player buy out all available stocks, the other player will still see it as having stock available
only if that other player trying to buy something then npc will tell ya out of stock

means RO actually doesn't have a system for item shop with limited stock, we just emulate it with custom variables

17 hours ago, Almond Snicker said:

and easier to script to work with

marketshop can accept item ID, not zeny

17 hours ago, Almond Snicker said:

on dynamic shop it looks like you need to replicate every script for each item you will be selling isn't that right

don't understand what this sentence means

  • Love 1
  • 0
Posted

Hi Annie!,

This one worked out well, thanks everyone!
 

-	marketshop	para_coin10	FAKE_NPC,6304:500000:10,6080:100000:10,6081:300000:10,6380:1000000:1000,6004:100000:1

 

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