SupremeHorse Posted December 29, 2013 Report Share Posted December 29, 2013 Just wondering where i can set the maximum vehicle spawn limit. Server is spawning in over 1000 vehicles and i would like to bring that down to 500 or so to increase server performance a little. Host: Vilayer LordSyava 1 Link to comment Share on other sites More sharing options...
0 MassAsster Posted December 29, 2013 Report Share Posted December 29, 2013 in the init, MaxVehicleLimit = 500; Link to comment Share on other sites More sharing options...
0 SupremeHorse Posted December 29, 2013 Author Report Share Posted December 29, 2013 That doesnt work for me. Link to comment Share on other sites More sharing options...
0 Skaronator Posted December 29, 2013 Report Share Posted December 29, 2013 The dynamic vehicle spawnscript cannot find sucsessable place to spawn more vehicles. Thats why you dont get more Vehicles. Link to comment Share on other sites More sharing options...
0 SupremeHorse Posted December 30, 2013 Author Report Share Posted December 30, 2013 I said I wanted to limit the amount of vehicles spawned. Link to comment Share on other sites More sharing options...
0 SupremeHorse Posted January 1, 2014 Author Report Share Posted January 1, 2014 Anyone know where i can limit the vehicle spawns in the database? Link to comment Share on other sites More sharing options...
0 Ped Posted January 1, 2014 Report Share Posted January 1, 2014 The offered fix is correct. This may be presumptuous of me, and I apologize if it is, but perhaps the problem is you didn't delete the vehicles currently spawned? If you have one thousand vehicles spawned and set the limit to five-hundred, it will not delete the excess five-hundred. That is something you will need to do. Link to comment Share on other sites More sharing options...
0 SupremeHorse Posted January 1, 2014 Author Report Share Posted January 1, 2014 Okay, is there a MySQL query for deleting all vehicles with an ID number of 0? (natural spawns, not bought) Can i just delete all vehicles with CharacterID = 0 in my objects_data table? Will the server spawn new fresh vehicles after i do so? Link to comment Share on other sites More sharing options...
0 Ped Posted January 1, 2014 Report Share Posted January 1, 2014 Yes, you can delete them. So long as the vehicles spawned on your map is below the maximum vehicle limit, more will spawn. However, if you have more purchased vehicles then the limit, natrual/world spawns won't happen. I believe this works: DELETE FROM Object_DATA WHERE CharacterID = 0 Be sure to backup your db before doing this though! Link to comment Share on other sites More sharing options...
0 SupremeHorse Posted January 1, 2014 Author Report Share Posted January 1, 2014 Deleting them in object data worked perfectly :) thank you! Link to comment Share on other sites More sharing options...
Question
SupremeHorse
Just wondering where i can set the maximum vehicle spawn limit. Server is spawning in over 1000 vehicles and i would like to bring that down to 500 or so to increase server performance a little.
Host: Vilayer
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now