DayZ
Trader
Hainy 22 Feb, 2021 @ 10:04am
car disappears after purchase
Hello, even having configured to avoid the disappearance of cars, some after purchase still disappear. What to do ?
< >
Showing 1-7 of 7 comments
Hwang 24 Feb, 2021 @ 1:28pm 
Are they modded vehicles or vanilla vehicles?
Hainy 25 Feb, 2021 @ 7:35am 
vanilla vehicles, but that only does it for some players, not all. It's the same that I have a player who has everything that despawns in his base ...
Hainy 25 Feb, 2021 @ 8:23pm 
Originally posted by Hainy:
vanilla vehicles, but that only does it for some players, not all. It's the same that I have a player who has everything that despawns in his base ...

in fact I had done that for a vehicle ... like an ♥♥♥♥♥♥♥. I'll keep you posted if this is not resolved
Barkas 1 Mar, 2021 @ 1:33pm 
You need to go into types.xml and make sure the lifetime on every base building object (tent, fence, barrel, etc. only if you are having issues with despawning bases) and every car has its lifetime set to 3888000 (45 days, and DO NOT go above that number).
StratManiac 1 Feb, 2022 @ 3:24am 
trucks are vanishing. I've lost 6 or 7 now.
Can anyone tell me if this config is correct?

</type>
<type name="Truck_01_Covered">
<nominal>0</nominal>
<lifetime>3</lifetime>
<restock>1800</restock>
<min>0</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>

the lifetime is set to 3 so I wondered if that is the problem??
TamerWaves 17 Apr, 2022 @ 3:11pm 
Same issue but lifetimes are set to 3888000
Taz [bD] 19 Jun, 2022 @ 5:10am 
Originally posted by StratManiac:
trucks are vanishing. I've lost 6 or 7 now.
Can anyone tell me if this config is correct?

</type>
<type name="Truck_01_Covered">
<nominal>0</nominal>
<lifetime>3</lifetime>
<restock>1800</restock>
<min>0</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>

the lifetime is set to 3 so I wondered if that is the problem??

Does not work. I edited the <lifetime>3</lifetime> in the types.xml for the vehicle types that were there..... and that didn't work.

I also changed the variables in the db/events.xml. Still didn't fix anything.

I did it for VehicleTruck - VehicleSedan - VehicleOffroadHatchback - VehicleHatchback - VehicleCivilianSedan in the db> events.xml which most people don't even think about.


.....AND still despawning on the server.
Last edited by Taz [bD]; 19 Jun, 2022 @ 5:11am
< >
Showing 1-7 of 7 comments
Per page: 1530 50