DayZ
Pm61 Nov 27, 2020 @ 7:36am
*SOLVED* Basic editing of types.xml kills all loot and vehicle parts spawns
A very basic altering in my 'types.xml' has stopped ALL items from spawning on my server. I have reverted it back to the vanilla file and it is now working again, but I want these changes as they very much enhance the role playing for this private server that my wife and I adventure together on.

Mission Profiles = DayZ 1.10 Offline Vanilla Chernarus and Enoch only.
Edited 'types.xml' has no non-vanilla spawnable items added.
Server has same results when tested with no mods.
The first issue became apparent when editing the 'types.xml' with an existing 'Storage-1' folder, after that, every test has been conducted with the 'Storage-1' folder removed.
I have gone back through every line, looking for missing ; and <> characters, spacing, and any other structure irregularities, and everything seems in order.
I have also tried backing up the entire DayZ Server folder and doing a complete fresh install.

I only increased the 'Nominal' count of about a dozen items and then changed the 'Minimal' to 1/2 of the 'Nominal' minus one. I bumped some of the staples up from 80ish to 100ish. I also removed the 'Usage' and 'Value' from these common staples, such as duct tape, can openers, pots and pans, etc..., to where they are found in all areas, based on their Vanilla 'Tag' value. Also, since Schools and Offices are so boringly barren of any loot, I added these 'Usage' areas for clothing that seemed appropriate.

Has anyone found themselves stumped in a situation like this and then discovered a simple 'duh-huh' solution that I am missing?

Thanks
Last edited by Pm61; Nov 27, 2020 @ 10:18am
< >
Showing 1-9 of 9 comments
SmashT Nov 27, 2020 @ 7:38am 
Post your types and I’ll check it when I get home, no loot spawning is pretty much always an error in the types.
etwas Nov 27, 2020 @ 7:56am 
u can upload your types file here to check for errors:
http://dayztypes.pro/
Last edited by etwas; Nov 27, 2020 @ 7:56am
Pm61 Nov 27, 2020 @ 9:41am 
I was just looking through and comparing my edited and vanilla types.xml again, and I noticed that the vanilla types.xml does not declare a category for the "WaterBottle" or list it in cfgspawnabletypes.xml.

<type name="WaterBottle">
<nominal>130</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>100</min>
<quantmin>20</quantmin>
<quantmax>70</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>

I would think that it would have to have a category indicated in types.xml?
Considering that you can fill it with water (and I think gasoline) wouldn't it be categorized as a container?
Last edited by Pm61; Nov 27, 2020 @ 9:42am
etwas Nov 27, 2020 @ 9:50am 
Originally posted by Pm61:
I was just looking through and comparing my edited and vanilla types.xml again, and I noticed that the vanilla types.xml does not declare a category for the "WaterBottle" or list it in cfgspawnabletypes.xml.

<type name="WaterBottle">
<nominal>130</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>100</min>
<quantmin>20</quantmin>
<quantmax>70</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>

I would think that it would have to have a category indicated in types.xml?
Considering that you can fill it with water (and I think gasoline) wouldn't it be categorized as a container?
i dunno whats the deal behind it is, but thats not an error at least. the canteen is categorized under "food" btw.
Pm61 Nov 27, 2020 @ 10:05am 
@etwas You may have saved my day or should I say ... my DayZ. LOL
I tried your link and it found two duh-huh errors. One was a missing > and the other was where I had typed in 'Industry' instead of 'Industrial'. Getting ready to test it now.
Either way, thanks very much for the link.
It has now been added to my /Games/DayZ bookmarks.
etwas Nov 27, 2020 @ 10:07am 
yea one little typo can break the whole loot spawning. happy u found the error :)
Pm61 Nov 27, 2020 @ 10:16am 
Fresh wipe on server and using my just now edited types.xml and I HAVE LOOT!!!
WOOT!!
Since I have a degree in programming, I do know about the simple syntax killer... That was why I started by asking for a duh-huh answer, because that is almost always what it is.
I just knew it would be something simple and stupid. So happy. Well, off to round up my wife and go explore my version of Chernarus. :steamhappy:
Pm61 Nov 28, 2020 @ 4:43am 
@etwas RE: WaterBottle
I don't like leaving questions unanswered and I couldn't quickly find a file that indicated the properties of the WaterBottle object, so while in game, I threw down a WaterBottle and turned on @CF @Community Tools / ESP / and selected 'Containers' and there on the ground in front of me it indicted 'Plastic Bottle'. So it's a container!!
But wait, there's more.
Then I changed the selection criteria to 'Food' ... Guess what it showed in front of me... Yep, a 'Plastic Bottle' .. LOL .. grrr .. LOL
Congrats on fixing it but a bigger round of applause for a gamer spouse!
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Nov 27, 2020 @ 7:36am
Posts: 9