Jump to content
  • 0

NPC Open Vending Shop Script


boeyskie

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   3
  • Joined:  09/16/15
  • Last Seen:  

This patch enables an NPC to open vending shops which enables them to sell items with refine, cards, etc..

My problem is that this patch is too old for the latest SVN. I've tried to get rid of the errors. But the emulator says that the script is undeclared.

Can anyone convert this patch to work on the latest SVN?

vending.patch

  • Upvote 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   3
  • Joined:  09/16/15
  • Last Seen:  

I managed to get rid of the errors and got it working.

 

My problem now is that the shop is not showing the item correctly.

e.g. +9 Cranial Buckler shows apple in the shop.

I can only buy the first apple in the shop, and when bought, i get the +9 Cranial Buckler.

 

Any help will be appreciated!

I'm trying to make a trading house where all items being sold are loaded from SQL.

Capture.PNG

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

×
×
  • Create New...