jonrainier / DayZ-Private-Server

DayZ Private Server by Pwnoz0r
98 stars 131 forks source link

How to increase vehicle max #58

Closed brunsen23 closed 11 years ago

brunsen23 commented 11 years ago

Hallo Pwnoz0r,

i'm using your private server build for 1.7.5.1 and after very little trouble updating it from 1.7.4.4 everything works fine so far, i even could save my old tents and cars etc database.

now here is my question: i modified the pMain funktion for having more cars aircraft etc...i increased it from Default 11 to Default 44 and it works fine...but when i increase it above 44 the spawn-script hangs up idle..when i look in the database at this time it createt 44 vehicles and seem to do nothing more.. is 44 a limit and how do i increase it, have been on servers whith about 200 vehicles..how does this work? i also read that it could be related to the spawn list having no vehicles available...is there a way to enlarge it? can i manualy put vehicles in it? and if so, where do i get the ObjectUID's from? Classnames are no Problem. yeah i know a whole lot of question, hope u can help me :) anyway have my regards for this great work :)

jonrainier commented 11 years ago

Open the pMain() function and go to line 9. The default vehicle set is at 100. It shouldn't really need to be increased unless you have more object_spawns inserted into the database.

brunsen23 commented 11 years ago

Hallo Pwnoz0r, thanks for the reply, i just found out, something went wrong when merging the old database into the new one. I'm goint to reinstall. Thanks anyway :)