JerryAtricks Posted February 8, 2015 Report Share Posted February 8, 2015 Hey guys! I'm doing some cleanup on my server and I'm trying to find out what items belong to who. When I do searched for vehicles/items/gear, etc., I can find the CharacterIDs and ObjectIDs but I need to know who those items belong to before deleting. What's the best way to associate the items with the players? Thanks! Link to comment Share on other sites More sharing options...
raymix Posted February 8, 2015 Report Share Posted February 8, 2015 If character ID is 0, it belongs to nobody, however check the inventory, some items can't be owned, but can be used to store items, so on top of that check Inventory array. If both inventory is empty ([]) and char ID is 0, it is safe to delete. Link to comment Share on other sites More sharing options...
JerryAtricks Posted February 9, 2015 Author Report Share Posted February 9, 2015 On 2/8/2015 at 7:18 PM, raymix said: If character ID is 0, it belongs to nobody, however check the inventory, some items can't be owned, but can be used to store items, so on top of that check Inventory array. If both inventory is empty ([]) and char ID is 0, it is safe to delete. Thanks, raymix, I understand that. What I am trying to do is find out what items belong to which players. For instance... I find a UH1H in a field and it's locked. I can get the key #, the ObjectID, the CharacterID, etc. What I can't find is who it belongs to. How do I match up items with players without having to manually search through each players inventory for the matching key #? Link to comment Share on other sites More sharing options...
cen Posted February 9, 2015 Report Share Posted February 9, 2015 Check out the private hive tools in the server tools section. It has the ability to input a characterID and it will give you the key, then you can search for the key in your database to find out who has it. JerryAtricks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now