Genesis Posted April 2, 2014 Report Share Posted April 2, 2014 Does anyone know how to remove UNUSED vehicles with NO items in inventory WITHOUT removing epoch buildables? By using an SQL query or something?.. 10:19:04 "HIVE: found 3400 objects" 10:19:04 "HIVE: Commence Object Streaming..." 10:19:05 "HIVE: got 1148 Epoch Objects and 2252 Vehicles" I have my max vehicle spawn rate at 350 and I know that people can buy vehicles but this is too much. Please remember that I do not want to remove any epoch buildables whatsoever. Thanks in advance! -Genny Link to comment Share on other sites More sharing options...
0 cen Posted April 2, 2014 Report Share Posted April 2, 2014 That's not the real vehicle count on your server. Define "Unused" Link to comment Share on other sites More sharing options...
0 Genesis Posted April 2, 2014 Author Report Share Posted April 2, 2014 As in unused I mean the vehicle has not been accessed or updated in "X" amount of days. Link to comment Share on other sites More sharing options...
0 Genesis Posted April 2, 2014 Author Report Share Posted April 2, 2014 DELETE FROM`Object_DATA`WHERE`Object_DATA`.`Classname` NOT LIKE 'Tent%'AND `Object_DATA`.`Classname` NOT LIKE '%Locked'AND `Object_DATA`.`Classname` NOT LIKE 'Land%'AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ')AND `Object_DATA`.`LastUpdated` < NOW() - INTERVAL 7 DAY; Found what i've been looking for! =D Link to comment Share on other sites More sharing options...
0 Genesis Posted April 10, 2014 Author Report Share Posted April 10, 2014 DELETE FROM`Object_DATA`WHERE`Object_DATA`.`Classname` NOT LIKE 'Tent%'AND `Object_DATA`.`Classname` NOT LIKE '%Locked'AND `Object_DATA`.`Classname` NOT LIKE 'Land%'AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ','Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ')AND `Object_DATA`.`Inventory` = '[[[],[]],[[],[]],[[],[]]]' Link to comment Share on other sites More sharing options...
Question
Genesis
Does anyone know how to remove UNUSED vehicles with NO items in inventory WITHOUT removing epoch buildables? By using an SQL query or something?..
10:19:04 "HIVE: found 3400 objects"
10:19:04 "HIVE: Commence Object Streaming..."
10:19:05 "HIVE: got 1148 Epoch Objects and 2252 Vehicles"
I have my max vehicle spawn rate at 350 and I know that people can buy vehicles but this is too much.
Please remember that I do not want to remove any epoch buildables whatsoever.
Thanks in advance! -Genny
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