Questions about custom Loot Spawns / Frage zu eigenem Loot Spawns

Nitrado now has an official Discord server to bring communities, friends and other gamers together!
Join the Nitrado Community Discord now and share your experiences and knowledge with others!

Click here to go to the Discord Server!
  • Hey there just got a new server with 1.15 after taking some time off in the 1.11ish times.

    I used to spawn Logs, Piles of Planks and other resources near my base building sites which went quite well in 1.08-1.11.

    I startet out at Vybor in the first week and reused my code to spawn the resources but the stuff never spawned. Then I moved to airfield and tried building there but the same thing here.

    So I tried some of Scalespeeders Tutorials and using his code to spawn stuff but it worked just 1 of 10 times. BTW I saw now obvious changes to the practise in older versions

    For example I place 10 different events/items each 5m away from the next one but just one spawns.

    I tried to add the code at the bottom of the files just before the last self-closing elements, like I did in the old times and also tried to add it at the top just before the first elements; The not seem to care... nothing works constantly...

    Any Ideas?

    YES I shut down the server, wait about 5 minutes, upload my files and wait again a couple of minutes before I turn the server on again and YES I do check the code for errors and just upload valid and wellformed code.


    Hallo zusammen. Habe einen neuen 1.15er Server nach dem ich eine Weile weg von DayZ war in den Zeiten von 1.11.

    Normalerweise habe ich Stämme, Bretter und andere Ressourcen neben meiner Base-Baustelle gespawnt bei 1.08-1.11 auch immer geklappt hat.

    Ich startete in Vybor und benutzte meinen alten Code aber selbst nach ein paar Tagen spawnte nichts. Dann bin ich zum Airfield umgezogen und habe es erneut probiert ohne Erfolg.

    Ich habe dann ein paar Tutorials geschaut von Scalespeeder, ich verwende auch teile seines Codes die einwandfrei klappen, aber die Spawns klappen vielleicht bei 1 von 10 Versuchen. Nebenbei habe ich auch keine Änderungen in der Praxis bemerkt im Vergleich zu den alten Versionen.

    Als Beispiel: Ich platziere 10 Events/Gegenstände mit je 5m Abstand zu einander aber nur eins der Items spawnt tatsächlich.

    Ich habe den Code am Ende vor den Sich-selbst-schließenden Elementen platziert was früher immer geklappt hat. Habe es diesmal auch am Anfang also vor dem ersten Element versucht.

    Irgendwelche Ideen?

    JA ich fahre den Server 5 Minuten vor dem Upload runter und schalte ihn erst mehrere Minuten später an und JA ich lade nur fehlerfreien validen und wohlgeformten code hoch.


    An example of code *** Codebeispiel

    <!-- code in cfgeventspawns.xml -->

    <event name="StaticBarbedWireEL">
    <pos x="10292.000000" z="2264.000000" a="1" />

    <!-- code in events.xml -->

    <event name="StaticBarbedWireEL">
    <restock>0</restock> <!-- Normally I used 1 instead of 0 so I get infinite items but since 1.15 no custom item spawned when restock was active *** Hier hatte ich sonst immer eine 1 statt einer 0 um unendlich viele items zu bekommen aber seit 1.15 scheinen nur noch custom-events mit einem 0er-Restock zu spawnen -->
    <flags deletable="0" init_random="0" remove_damaged="1"/>
    <child lootmax="0" lootmin="0" max="100" min="100" type="BarbedWire"/>

  • Well the current solution seems to be using either a="113.000000" or a="-1" where "a" represents rotation, that's straight from Scalespeeders as well as DonSibley.

    It works for me it just doesn't allow more than one item in that particular spot so it's limited in application.

  • Thank you for that tip, must overheard that. For me the "-1" did also cause to just spawn 1 instead of i.e. 100 items. Also it seems that the rotation of the item is randomized then.

    I found another solution or either a workaround:

    # Step 1

    I switched the software I used to use for up and downloads. Till yesterday I used Filezilla for macOS which gave me complaints about Nitrado's TLS-encryption chain. Now I use a Visual Studio Code Expansion called ftp-simple so I can upload directly from my editor instead of using two programs.

    # Step 2

    When I want to change a custom event and it's related entries, I now out-comment all my customized code for that area (actual electro hospital) start the server and log in for a couple of seconds to forcing the server to reload that area. When I checked the spots and they are empty I move away about 50m logout, stop the server and redo the out-comment.

    # Step 3

    When I start the server again and log in seconds after restart most items spawned or pop up while I run to their spots.

    I guess uploading the "cleared" code is necessary the last days I hat a 100% success-rate spawning all my items in the amount and rotation I specified.

    When I just add an event/item-spawn near the other stuff it won't spawn.

    btw. I use <saferadius>0</saferadius>, <distanceradius>0</distanceradius> and <cleanupradius>0</cleanupradius>

  • Maybe the problem is on nitrado's side....

    Half an hour after writing my last post I had a server restart and since then the server is unable to start properly.

    It hangs in "Server wird gestartet..." and I have to force a shutdown after a couple of minutes. Even after reinstalling the original xml-files the server won't boot.

    One time the UI said that the server is started but it doesn't appear in-game.

    Sometimes even the Web-UI won't reload anymore and I get http 50x errors...

    Had that last year for weeks. Every couple of days the server didn't restart for hours; because of that I stopped renting a server and playing the game.

    That's a really messedup... just spend about 60+ hours in base-building.

  • If they would care... I reported that issue a couple of times in the past but in the time it takes them to response the server worked again and so there is nothing to investigate from their point of perspective. Also they claimed not to have any further access to logs that we have. So if I can't see the issue in the logs, they can't too.

    Got tired of this after months.

  • Seems there is a workaround for everything:

    I sat in front of my macbook till 1:00am trying to start my server with no luck. Starting or stopping resulted in loops which had to be forced to stop.

    This morning I checked my server and it was running again. In the logs I saw it restarted at 4:00am wich is an automated task within the webUI.

    I changed again some code and again... stopping (and starting) the server ended in a loop. so I forced a stop and created a new automated task to start it in 5 minutes and tadaaaa. server starts without problems. after a couple of minutes I triggered a stop via the webUI buttons and again loops.

    So I guess nitrados webUI is buggy or just underpowered on server / network capacities.