DayZ
Trader
Hainy 22. feb. 2021 kl. 10:04
car disappears after purchase
Hello, even having configured to avoid the disappearance of cars, some after purchase still disappear. What to do ?
< >
Viser 1-7 af 7 kommentarer
Hwang 24. feb. 2021 kl. 13:28 
Are they modded vehicles or vanilla vehicles?
Hainy 25. feb. 2021 kl. 7:35 
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 kl. 20:23 
Oprindeligt skrevet af 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 kl. 13:33 
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 kl. 3:24 
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 kl. 15:11 
Same issue but lifetimes are set to 3888000
Taz [bD] 19. juni 2022 kl. 5:10 
Oprindeligt skrevet af 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.
Sidst redigeret af Taz [bD]; 19. juni 2022 kl. 5:11
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50