Jump to content
  • 0

Barter Shop cannot buy with bounded item


Vietlubu

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  141
  • Reputation:   24
  • Joined:  01/19/12
  • Last Seen:  

I have made a barter shop to exchange items. 

The required items can be from a normal mob or gift box.

- Normal mob, just drop and pickup (90)

- Gift box: get item with command `getitembound item_id 10 Bound_Char`

That mean I have 10 item bounded with character.

 

The barter shop have item with price = 50. But player cannot buy that.

Because barter shop check bouned item (10) first. Not check normal item (90) => Cannot buy that

How I can fix that 🤣

 

image.thumb.png.ca974ef07e6b342184dfe840f465a5e6.png

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.01
  • Content Count:  39
  • Reputation:   30
  • Joined:  06/08/23
  • Last Seen:  

On 8/14/2023 at 1:08 AM, Vietlubu said:

Because barter shop check bouned item (10) first. Not check normal item (90) => Cannot buy that

 

because the index placing of bound item in inventory is lower than normal item, so it never checked, you will need to mod the source to adjust it to the way you want.

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