Falcon911 Posted June 18, 2013 Report Share Posted June 18, 2013 In the DB. How can I match up the vehicles with the keys? I see the charcter ID in the object_data table. But for the life of me I canot figure out how the ItemkeyYellowxxx is tied to the vehicle #. Link to comment Share on other sites More sharing options...
0 Mattman Posted June 27, 2013 Report Share Posted June 27, 2013 I see this was never addressed. I too would love to hear how you do this. As of now, if a character buys a vehicle and dies with their keys I have to manually find the vehicle and delete it or it sits forever taking up space on the server. Or, if a character or server have an issue where I need to respawn a vehicle for someone I have to end up giving them gold instead and manually porting them to the vendor just to give purchased vehicles back. This is a HUGE headache and waste of time. Would be nice if I could simply spawn keys back. Link to comment Share on other sites More sharing options...
0 maca134 Posted June 27, 2013 Report Share Posted June 27, 2013 Hey guys. There are like 9999 key objects. In the database the charid is the key id, so If the vehicle has the char id 1234 the key item class would be ItemkeyYellow1234. The color doesnt matter. I was just this morning thinking about writing a key spawning script when you click on the vehicle. At the moment I have edited the scripts to that admin can unlock any vehicle. Enabling admin to spawn legit/owned vehicles with keys is defo possible too. Link to comment Share on other sites More sharing options...
0 nightmare Posted June 27, 2013 Report Share Posted June 27, 2013 you can use this -> KeyGen also included in http://dayzepoch.com/forum/index.php?/topic/338-privatehivetools-php/ Link to comment Share on other sites More sharing options...
0 Mattman Posted July 2, 2013 Report Share Posted July 2, 2013 Would this still find keys or the owner of keys if you have already cleaned dead bodies out of the database? This is my issue, I don't know the character I'd because it's been deleted. I hope I don't have to stop cleaning my database to get this to work Link to comment Share on other sites More sharing options...
Question
Falcon911
In the DB. How can I match up the vehicles with the keys? I see the charcter ID in the object_data table. But for the life of me I canot figure out how the ItemkeyYellowxxx is tied to the vehicle #.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now