1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Downloads
  4. Galerie
    1. Alben
  5. Toolbox
    1. Passwort Generator
    2. Portchecker
  6. Mitglieder
    1. Mitgliedersuche
    2. Benutzer online
    3. Trophäen
    4. Team
Do: 03 Juli 2025
  • Anmelden oder registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Dateien
  • Seiten
  • Bilder
  • Erweiterte Suche

Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.

Anmelden oder registrieren
    1. Nodezone.net Community
    2. Forum
    3. Gameserver & Hosting
    4. ArmA Series - ArmA 3 / Reforger
    5. Hilfeforum

    [English] Altis Life RPG Map + Clothing issue on spawn

    • PMCRicky
    • 11. September 2016 um 10:54
    • Geschlossen
    • Erledigt
    • PMCRicky
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      8
      • 11. September 2016 um 10:54
      • #1

      hi guys,

      Since the closure of Altis Life RPG website, I can't ask people because there is no English Altis Life RPG version of support.

      Sorry, I do not speak German, unfortunately. I sometimes use google translator but did does not work 100%, I am wondering why fn_civLoadout.sqf does not spawn in clothes (fresh spawn, new players - makes people naked When joining the server first time) and the "ItemMap" className isn ' t working at all?

      I have tried this:

      player addItem "ItemMap"; (Default)
      player assignItem "ItemMap"; (Default)

      player forceAddItem "ItemMap"; (Forcing)
      player assignItem "ItemMap"; (Default)

      player forceAddItem "ItemMap"; (Forcing)
      player ForceAssignItem "ItemMap"; (Forcing)


      None of this works, my players, They Do not receive the map at all.

    • AustrianNoob
      Kenner
      Reaktionen
      501
      Trophäen
      10
      Beiträge
      563
      • 11. September 2016 um 11:05
      • #2

      Hey,

      do it like this:


      Code
      player addItem "ItemMap"; //https://community.bistudio.com/wiki/addItem
      player assignItem "ItemMap"; //https://community.bistudio.com/wiki/assignItem
      
      
      
      
      player addItem "ItemGPS";
      player assignItem "ItemGPS";

      Can you please upload your RPT Logs? Thank you

    • blackfisch
      Legende
      Reaktionen
      2.944
      Trophäen
      10
      Beiträge
      5.966
      Dateien
      6
      Bilder
      63
      • 11. September 2016 um 12:56
      • #3

      Please make sure you add the Clothing to the Unit before adding and assigning items. It has to look like that (just an exapmle, copied out of 4.4r3 Version. Line 11-20 can be taken in any version):

      C
      /*
          File: fn_civLoadout.sqf
          Author: Tobias 'Xetoxyc' Sittenauer
          Description:
          Loads the civs out with the default gear, with randomized clothing.
      */
      private["_handle"];
      _handle = 0 spawn life_fnc_stripDownPlayer;
      waitUntil {scriptDone _handle};
      
      
      
      
      _clothings = ["U_C_Poloshirt_blue","U_C_Poloshirt_burgundy","U_C_Poloshirt_stripped","U_C_Poloshirt_tricolour","U_C_Poloshirt_salmon","U_C_Poloshirt_redwhite","U_C_Commoner1_1"];
      player addUniform (selectRandom _clothings);
      
      
      
      
      /* ITEMS */
      player addItem "ItemMap";
      player assignItem "ItemMap";
      player addItem "ItemCompass";
      player assignItem "ItemCompass";
      player addItem "ItemWatch";
      player assignItem "ItemWatch";
      
      
      
      
      call life_fnc_playerSkins;
      call life_fnc_saveGear;
      Alles anzeigen

      #MakeArmaNotWar

      Kein Support via PN & Steam! / No Support via DM & Steam!


      Mit freundlichen Grüßen
      blackfisch
      ______________________

      Web: blackfisch.me

      GitHub: GitHub.com/blackfisch

      Mail: [email protected]

      ______________________
      Wichtige Links:
      [Erklärung|Leitfaden] Code Optimierung

      [Tutorial] life_fnc_MP zu remoteExec

      Ohne Logs & entsprechende Dateien kein Support!

      ______________________

    • PMCRicky
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      8
      • 12. September 2016 um 01:16
      • #4

      Hi,

      Zitat von AustrianNoob

      Hey,

      do it like this:


      player addItem "ItemMap"; //https://community.bistudio.com/wiki/addItem
      player assignItem "ItemMap"; //https://community.bistudio.com/wiki/assignItem

      player addItem "ItemGPS";
      player assignItem "ItemGPS";Can you please upload your RPT Logs? Thank you

      I don't think this will change anything? I have done that, it doesn't work.

      Also, RPT logs, there are none? I have looked [lexicon]extdb[/lexicon] and my server RPT files, there is nothing inside it. I have looked carefully too, line by line.

      Zitat von blackfisch

      Please make sure you add the Clothing to the Unit before adding and assigning items. It has to look like that (just an exapmle, copied out of 4.4r3 Version. Line 11-20 can be taken in any version):

      /*
      File: fn_civLoadout.sqf
      About the Author: Tobias 'Xetoxyc' Sittenauer
      Description:
      Loads the civs out with the default gear, with randomized clothing.
      */
      private["_handle"];
      _handle = 0 spawn life_fnc_stripDownPlayer;
      waitUntil scriptDone _handle {};

      _clothings = ["U_C_Poloshirt_blue","U_C_Poloshirt_burgundy","U_C_Poloshirt_stripped","U_C_Poloshirt_tricolour","U_C_Poloshirt_salmon","U_C_Poloshirt_redwhite","U_C_Commoner1_1"];
      addUniform player (selectRandom _clothings);

      /* ITEMS */
      player addItem "ItemMap";
      player assignItem "ItemMap";
      player addItem "ItemCompass";
      player assignItem "ItemCompass";
      player addItem "ItemWatch";
      player assignItem "ItemWatch";

      call life_fnc_playerSkins;
      call life_fnc_saveGear;

      Alles anzeigen

      Thank you but this looks exactly like it is in my fn_civLoadout.sqf, I only just showed the player assignItems / addItems because they don't spawn into the characters inventory. Same with the clothing. (Fresh spawn) - After respawning, they receive clothing but they do not receive a map.

    • The C Stands for Cheese
      Gast
      • 12. September 2016 um 01:54
      • #5
      Zitat von PMCRicky

      Hi,

      I don't think this will change anything? I have done that, it doesn't work.
      Also, RPT logs, there are none? I have looked [lexicon]extdb[/lexicon] and my server RPT files, there is nothing inside it. I have looked carefully too, line by line.

      Thank you but this looks exactly like it is in my fn_civLoadout.sqf, I only just showed the player assignItems / addItems because they don't spawn into the characters inventory. Same with the clothing. (Fresh spawn) - After respawning, they receive clothing but they do not receive a map.

      Can you post the whole content of the fn_civLoadout.sqf?

    • PMCRicky
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      8
      • 12. September 2016 um 05:01
      • #6
      Code: fn_civLoadout.sqf
      /*
      File: fn_civLoadout.sqf
      About the Author: Tobias 'Xetoxyc' Sittenauer
      Description:
      Loads the civs out with the default gear, with randomized clothing.
      */
      private["_handle"];
      _handle = 0 spawn life_fnc_stripDownPlayer;
      waitUntil scriptDone _handle {};
      
      
      
      
      _clothings = ["U_C_Poloshirt_blue","U_C_Poloshirt_burgundy","U_C_Poloshirt_stripped","U_C_Poloshirt_tricolour","U_C_Poloshirt_salmon","U_C_Poloshirt_redwhite","U_C_Commoner1_1"];
      addUniform player (selectRandom _clothings);
      
      
      
      
      /* ITEMS */
      player addItem "ItemMap";
      player assignItem "ItemMap";
      player addItem "ItemCompass";
      player assignItem "ItemCompass";
      player addItem "ItemWatch";
      player assignItem "ItemWatch";
      
      
      
      
      call life_fnc_playerSkins;
      call life_fnc_saveGear;
      Alles anzeigen


      This is the whole content of it. :)

    • Tyreed
      Anfänger
      Reaktionen
      5
      Trophäen
      11
      Beiträge
      25
      • 12. September 2016 um 05:32
      • #7

      mine looks kinda different


      Spoiler anzeigen

      /*
      File: fn_civLoadout.sqf
      Author: Tobias 'Xetoxyc' Sittenauer
      Description:
      Loads the civs out with the default gear, with randomized clothing.
      */
      private["_handle"];
      _handle = [] spawn life_fnc_stripDownPlayer;
      waitUntil {scriptDone _handle};

      _clothings = ["U_C_Poloshirt_blue","U_C_Poloshirt_burgundy","U_C_Poloshirt_stripped","U_C_Poloshirt_tricolour","U_C_Poloshirt_salmon","U_C_Poloshirt_redwhite","U_C_Commoner1_1"];
      player addUniform (selectRandom _clothings);

      /* ITEMS */
      player addItem "ItemMap";
      player assignItem "ItemMap";
      player addItem "ItemCompass";
      player assignItem "ItemCompass";
      player addItem "ItemWatch";
      player assignItem "ItemWatch";

      [] call life_fnc_playerSkins;
      [] call life_fnc_saveGear;

    • PMCRicky
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      8
      • 12. September 2016 um 05:44
      • #8

      Oh? I pulled mine from a fresh copy of Altis Life RPG 4.4 R3

    • Tyreed
      Anfänger
      Reaktionen
      5
      Trophäen
      11
      Beiträge
      25
      • 12. September 2016 um 05:47
      • #9

      mine is about 3 or 4 weeks old but should be the same cuz we are using also 4.4R3

    • blackfisch
      Legende
      Reaktionen
      2.944
      Trophäen
      10
      Beiträge
      5.966
      Dateien
      6
      Bilder
      63
      • 12. September 2016 um 06:25
      • #10
      Zitat von PMCRicky

      addUniform player (selectRandom _clothings);

      Your Syntax is incorrect. is has to be UNIT adduniform "UNIFORM"
      This way like you got it, he stops the execution of the script at this point and thats why you don't get anything. See here: https://community.bistudio.com/wiki/addUniform

      Next time, try to look in your Client RPT. On Server Logs you see almost only isues with life_server, such script issues are only logged on execution, the server doesn't execute them, but your Client.
      In [lexicon]extDB[/lexicon] Logs you will only see issues with database connection or requests.


      How to get the Client Logs?
      Press WIN+R
      Type %localappdata% and hit ENTER
      Open Arma 3 folder
      There you go! All your Client Logs as arma3_DATE_TIME.rpt - if there are none, check your parameters in Arma 3. You have to start it without -noLogs parameter.

      #MakeArmaNotWar

      Kein Support via PN & Steam! / No Support via DM & Steam!


      Mit freundlichen Grüßen
      blackfisch
      ______________________

      Web: blackfisch.me

      GitHub: GitHub.com/blackfisch

      Mail: [email protected]

      ______________________
      Wichtige Links:
      [Erklärung|Leitfaden] Code Optimierung

      [Tutorial] life_fnc_MP zu remoteExec

      Ohne Logs & entsprechende Dateien kein Support!

      ______________________

    • beatzcraft
      Schüler
      Reaktionen
      64
      Trophäen
      11
      Beiträge
      140
      • 12. September 2016 um 06:38
      • #11

      @PMCRicky You need to change "addUniform player (selectRandom _clothings);" to "player addUniform (selectRandom _clothings);" because this is the right syntax. It seems like somebody pushed this to GitHub who clearly has no idea of the SQF syntax. For everyone who wants to know why it needs to be that way: https://community.bistudio.com/wiki/addUniform

      Edit:
      Just seen that @blackfisch was a bit faster with the sulution :)

      Follow me on Twitter

      Discord: beatzcraft#7859

    • PMCRicky
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      8
      • 12. September 2016 um 07:02
      • #12

      Will test this in the morning, hopefully this works, you legends. I didn't even see the "addUniform player (selectRandom _clothings);" but yes you always should and must start with player addUniform etc.


      Thank you.

    Registrieren oder Einloggen

    Du bist noch kein Mitglied von NodeZone.net? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Registrieren

    Wichtige Links & Informationen

    Server & Hosting-Ressourcen

      Server Administration & Hosting Basics

      Windows Server Support & Guides

      Linux Server Configuration & Help

      Setting up TeamSpeak 3 & VoIP Servers

      Domains & Web Hosting for Beginners & Professionals

      Cloud Hosting, Docker & Kubernetes Tutorials

    Gameserver & Modding-Ressourcen

      ArmA 3 Tutorials & Script Collection

      Renting & Operating Gameservers

      DayZ Server Management & Help

      FiveM (GTA V) Server & Script Development

      Rust Server Modding & Administration

      Setting up & Optimizing ARK Survival Servers

    NodeZone.net – Deine Community für Gameserver, Server-Hosting & Modding

      NodeZone.net ist dein Forum für Gameserver-Hosting, Rootserver, vServer, Webhosting und Modding. Seit 2015 bietet unsere Community eine zentrale Anlaufstelle für Server-Admins, Gamer und Technikbegeisterte, die sich über Server-Management, Hosting-Lösungen und Spielemodding austauschen möchten.


      Ob Anleitungen für eigene Gameserver, Hilfe bei Root- und vServer-Konfigurationen oder Tipps zu Modding & Scripting – bei uns findest du fundiertes Wissen und praxisnahe Tutorials. Mit einer stetig wachsenden Community findest du hier Antworten auf deine Fragen, Projektpartner und Gleichgesinnte für deine Gaming- und Serverprojekte. Schließe dich NodeZone.net an und werde Teil einer aktiven Community rund um Server-Hosting, Gameserver-Management und Modding-Ressourcen.

    Wer jetzt nicht teilt ist selber Schuld:
    1. Nutzungsbestimmungen
    2. Datenschutzerklärung
    3. Impressum
    4. Urheberrechts- oder Lizenzverstoß melden
  • Trimax Design coded & layout by Gino Zantarelli 2023-2025©
    Community-Software: WoltLab Suite™