Jump to content
  • 0

When have many item, How to query?


Question

Posted

Hi /meh If player use an item which have many each (because created from alchemist class). How could I do query stack into array?

e.g. Player have A's BOX 20 ea and B's BOX 12 ea.
I want to stack item id and amount in an array.
$@item_id[0] = 1000, $@card[0] = blah blah blah, $@amount[0] = 20
$@item_id[1] = 1000, $@card[0] = blah blah blah, $@amount[1] = 12

How to check it with sql query?

Thank You.

2 answers to this question

Recommended Posts

Posted

It's a inventory table. I'm doing NPC convert item to box but problem is if player have similar box (e.g. A's and B's Box) but each creator then player click B's Box which in inventory table B's Box info live bottom A's Box info, In Script sql will query A's Box info instead B's Box

How to check it? /meh

I dont know about this, Thank You

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