darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted January 10, 2013 i am searching an item to my database... because i want to count or to know the people that has the items..example is item id 2541 i want to know who has it Quote Link to comment Share on other sites More sharing options...
Fai T.Flowright Posted January 10, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 155 Reputation: 2 Joined: 10/09/12 Last Seen: December 26, 2022 Share Posted January 10, 2013 well, if u re using windows as server side, u can easily search it via mysql work bench Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 10, 2013 i am using linux sir Quote Link to comment Share on other sites More sharing options...
Feefty Posted January 10, 2013 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 175 Reputation: 14 Joined: 11/21/11 Last Seen: April 18, 2020 Share Posted January 10, 2013 if you're using phpmyadmin you can try running this in your sql query SELECT * FROM `inventory` WHERE `nameid` = 2541 Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 10, 2013 works..but will this SELECT * FROM `inventory` WHERE `nameid` = 2541 will also search the item even if it is equiped or in storage or cart Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 10, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 10, 2013 select * from inventory where nameid = 2541; select * from cart_inventory where nameid = 2541; select * from storage where nameid = 2541; select * from guild_storage where nameid = 2541; select * from mail where nameid = 2541; select * from auction where nameid = 2541; Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 12, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 12, 2013 try this... http://pastebin.com/raw.php?i=UkUn1fwT and...since the sql data are not updated immeadiately...you have to wait sometime to get the correct amount of item... depend on the value you have set for default server saving time... else..try create item then relog..and check again EDIT : I get the idea wrongly LOL...suppose to show WHO get the item...and not the no of item exist in server..... Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 15, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 15, 2013 about your post sir emistry?/how does it work??will i input the item id?? and does it work in eathena svn? Quote Link to comment Share on other sites More sharing options...
Question
darking123
i am searching an item to my database... because i want to count or to know the people that has the items..example is item id 2541
i want to know who has it
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.