katalin Posted October 2, 2010 Posted October 2, 2010 Sometimes non title items appear in my inventory and i can't delete them, i just delete them from the admin panel, why is that? Is there a fix for this? Quote
Curt Posted October 2, 2010 Posted October 2, 2010 Hey, The reason an item would show up blank in your inventory is because the item does not exist in the database. Do you have like downtown search or something similar where players can find items ?... check those scripts to make sure the non-existent item is not listed in there. also you can check the inventory table in your database to find out the ID of the blank item which might help you solve the issue. Good luck with your problem :) Quote
Djkanna Posted October 3, 2010 Posted October 3, 2010 DELETE FROM `inventory` WHERE (`inv_itemid` = 0) Should help you out here. Quote
lucky3809 Posted October 5, 2010 Posted October 5, 2010 You must have a script that was made using items id's in which you forgot to change to your own. Thus is why you may be seeing items in your inventory that is blank as for bug in the staff inventory page, i couldnt tell you what your problem is unless the coding is present but more likely you can delete it by the code dj has posted. in the staff_users.php remove the inv_delete function and replace it with... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Should work. Quote
Dave Posted October 5, 2010 Posted October 5, 2010 Write a script to cross reference a users inventory with the items database? If the inventory item id doesn't exist within the item table just delete the inventory post.. and all others. Quote
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.