Jump to content
  • 0

query please :3


Question

6 answers to this question

Recommended Posts

Posted

SQL :

 

Execute this on your database :

SELECT CONCAT(`char`.`name`, " has item ", `inventory`.`nameid`) "Character Name" FROM `inventory` JOIN
`char` ON `inventory`.`char_id` = `char`.`char_id` WHERE `inventory`.`nameid` = '2301';

Change 2301 to whatever item id you wishes to look for. Note also that this is only for inventory. Storage, auction, mail etc. is a different story.

Posted

ill try it thanks :)

by the way im looking for cards :o i got no result

Change nameid to card id? /hmm If you got no result meaning characters doesn't have those items

 

Here is a screenshot of mine doing the query :

Untitled.png

Posted

@Patskie

perhap he refer to the card that compounded into the equipments..

in that case you have to check for these column

card0
card1
card2
card3

or maybe within other location like

storage
guild storage
cart
mail
etc

 

@Zero

be specify ~give more details..

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