I have a nwaf pvp high loot server. Things were going well before and loot spawned in just fine in containers, bunkers, etc but something has changed and custom buildings are taking priority?
Recently I have had an issue where loot is not changing in default spawned buildings but in my custom buildings loot seems to be respawning(doubling) each restart.
For example i have spawned in a "Land_Mil_Tent_Big1_1" building next to another of the same type and loot will spawn in the custom building but not the regular one right next to it. Maybe 1 item will spawn in the nwaf tent if you are lucky like a single platecarriervest but in the spawned in tent right next to it with obviously the same mapgroup rules will have 2 guns and 2 clothes and a bag.
I have to restart the server with the buildings commented out and then restart again with the buildings back to reset the loot in the custom buildings but it keeps messing up.
My code excerpts are below, please let me know if you have any information about how to resolve this.
Event Code:
- <event name="StaticBuildingTent">
- <nominal>6</nominal>
- <min>6</min>
- <max>6</max>
- <lifetime>3888000</lifetime>
- <restock>0</restock>
- <saferadius>1</saferadius>
- <distanceradius>20</distanceradius>
- <cleanupradius>100</cleanupradius>
- <flags deletable="1" init_random="0" remove_damaged="0"/>
- <position>fixed</position>
- <limit>mixed</limit>
- <active>1</active>
- <children>
- <child lootmax="10" lootmin="10" max="6" min="6" type="Land_Mil_Tent_Big1_1" />
- </children>
- </event>
MapGroup Code:
- <group name="Land_Mil_Tent_Big1_1" lootmax="5">
- <usage name="Military" />
- <container name="lootFloor">
- <category name="containers" />
- <category name="clothes" />
- <category name="weapons" />
- <category name="explosives" />
- <tag name="floor" />
- <tag name="shelves" />
- <point pos="-1.538054 0.849678 -0.824310" range="0.340625" height="0.851563" />
- <point pos="-2.563359 0.849678 -0.962373" range="0.375000" height="0.937500" />
- <point pos="-3.510837 0.648079 -0.954453" range="0.203125" height="0.507813" />
- <point pos="-3.331521 0.565605 -2.056575" range="0.134375" height="0.335938" />
- <point pos="-2.039383 0.046318 -2.022409" range="0.921875" height="1.750587" />
- <point pos="0.169397 0.046318 -1.497553" range="0.845703" height="2.000000" />
- <point pos="1.998103 0.046318 -1.597966" range="0.947931" height="2.000000" />
- <point pos="2.371869 0.648079 -2.461476" range="0.168750" height="0.421875" />
- <point pos="3.136989 0.849678 -0.290779" range="0.340625" height="0.851563" />
- <point pos="2.223811 0.849678 -0.219953" range="0.409375" height="1.023438" />
- <point pos="3.202836 0.849678 0.612437" range="0.271875" height="0.679688" />
- <point pos="3.289150 0.849678 1.486156" range="0.375000" height="0.937500" />
- <point pos="2.999679 0.648079 2.533187" range="0.168750" height="0.421875" />
- <point pos="1.514630 0.046318 1.306492" range="1.199951" height="2.000000" />
- <point pos="-0.297674 0.046318 0.424767" range="0.815459" height="2.000000" />
- <point pos="-2.307611 0.046318 0.441963" range="0.989014" height="2.000000" />
- <point pos="-2.267916 0.648079 1.645981" range="0.168750" height="0.421875" />
- <point pos="-2.805496 0.648079 1.726367" range="0.134375" height="0.335938" />
- </container>
- </group>