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
Sa: 07 Juni 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

    HG Shop System - Fehler nach füllen des Händlers

      • Mapping & Modding
    • Fyndor
    • 15. April 2018 um 19:23
    • Erledigt
    • Fyndor
      Anfänger
      Reaktionen
      7
      Trophäen
      9
      Beiträge
      68
      • 15. April 2018 um 19:23
      • #1

      Hallo Zusammen,

      wie vielleicht in einem anderen Beitrag mitbekommen, bin ich derzeit daran da was kleines zu basteln. Hierbei nutze ich das HG Simple Shops Script.

      Ich habe bis eben gerade alles noch Fehlerfrei am laufen gehabt, nur nachdem ich jetzt gerade die Händler alle mal befüllt habe, hat sich irgendwo ein Fehler eingeschlichen den ich nicht Reproduziert bekomme. Fehler wird beim beitreten auf den Server angezeigt:

      File mpmissions/__CUR_MP.Altis/HG/Config/HG_VehiclesShopCfg.h, line 10: Config: "{" encountered instead of ","

      Hier die "Original Datei" der HG_VehiclesShopCfg.h:

      Code
      /*
          Author - HoverGuy
          © All Rights Reserved
          Website - http://www.sunrise-production.com
          
          Defines available vehicle shops
          
          class YourShopClass - Used as a param for the call, basically the shop you want to display
          {
              conditionToAccess - STRING - Condition that must return either true or false, if true the player will have access to the shop
              
              class YourShopCategory - Shop category, can be whatever you want
              {
                  displayName - STRING - Category display name
                  vehicles - ARRAY OF ARRAYS - Shop content
                  |- 0 - STRING - Classname
                  |- 1 - INTEGER - Price
                  |- 2 - STRING - Condition that must return either true or false, if true the vehicle appears in the list else no
                  spawnPoints - ARRAY OF ARRAYS - Spawn positions (markers/positions)
                  |- 0 - STRING - Display name in the dialog
                  |- 1 - ARRAY OF MIXED - Markers/positions
              };
          };
      */
      
      class HG_DefaultShop // HG_DefaultShop is just a placeholder for testing purposes, you can delete it completely and make your own
      {
          conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"
          
          class Civilian
          {
              displayName = "$STR_HG_SHOP_CIVILIAN";
              vehicles[] =
              {
                  {"C_SUV_01_F",15000,"true"}
              };
              spawnPoints[] =
              {
                  {"$STR_HG_MARKER_1",{"civilian_vehicles_spawn_1"}}
              };
          };
          
          class Military
          {
              displayName = "$STR_HG_SHOP_MILITARY";
              vehicles[] =
              {
                  {"B_MRAP_01_F",45000,"true"}
              };
              spawnPoints[] =
              {
                  {"$STR_HG_MARKER_2",{"military_vehicles_spawn_1"}}
              };
          };
      };
      Alles anzeigen

      Hier "meine Datei" der HG_VehiclesShopCfg.h:

      Code
      /*
          Author - HoverGuy
          © All Rights Reserved
          Website - http://www.sunrise-production.com
          
          Defines available vehicle shops
          
          class YourShopClass - Used as a param for the call, basically the shop you want to display
          {
              conditionToAccess - STRING - Condition that must return either true or false, if true the player will have access to the shop
              
              class YourShopCategory - Shop category, can be whatever you want
              {
                  displayName - STRING - Category display name
                  vehicles - ARRAY OF ARRAYS - Shop content
                  |- 0 - STRING - Classname
                  |- 1 - INTEGER - Price
                  |- 2 - STRING - Condition that must return either true or false, if true the vehicle appears in the list else no
                  spawnPoints - ARRAY OF ARRAYS - Spawn positions (markers/positions)
                  |- 0 - STRING - Display name in the dialog
                  |- 1 - ARRAY OF MIXED - Markers/positions
              };
          };
      */
      
      class HG_bluefor_carshop // HG_DefaultShop is just a placeholder for testing purposes, you can delete it completely and make your own
      {
          conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"
          
          class PKW
          {
              displayName = "PKW";
              vehicles[] =
              {
                  {"B_G_Offroad_01_repair_F",15000,"true"}
                  {"B_G_Offroad_01_F",15000,"true"}
                  {"B_G_Offroad_01_armed_F",15000,"true"}
                  {"B_G_Offroad_01_AT_F",15000,"true"}
                  {"B_Quadbike_01_F",15000,"true"}
                  {"B_G_Quadbike_01_F",15000,"true"}
                  {"B_LSV_01_unarmed_F",15000,"true"}
                  {"B_LSV_01_unarmed_black_F",15000,"true"}
                  {"B_LSV_01_unarmed_olive_F",15000,"true"}
                  {"B_LSV_01_unarmed_sand_F",15000,"true"}
                  {"B_T_LSV_01_unarmed_black_F",15000,"true"}
                  {"B_T_LSV_01_unarmed_olive_F",15000,"true"}
                  {"B_T_LSV_01_unarmed_sand_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"bluefor_garage_spawn_land"}
              };
          };
          
          class LKW
          {
              displayName = "LKW";
              vehicles[] =
              {
                  {"B_Truck_01_transport_F",15000,"true"}
                  {"B_Truck_01_covered_F",15000,"true"}
                  {"B_Truck_01_mover_F",15000,"true"}
                  {"B_Truck_01_box_F",15000,"true"}
                  {"B_Truck_01_Repair_F",15000,"true"}
                  {"B_Truck_01_ammo_F",15000,"true"}
                  {"B_Truck_01_fuel_F",15000,"true"}
                  {"B_Truck_01_medical_F",15000,"true"}
                  {"B_G_Van_01_transport_F",15000,"true"}
                  {"B_G_Van_01_fuel_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"bluefor_garage_spawn_land"}
              };
          };
          
          class Panzer
          {
              displayName = "Panzer";
              vehicles[] =
              {
                  {"B_APC_Tracked_01_rcws_F",15000,"true"}
                  {"B_APC_Tracked_01_CRV_F",15000,"true"}
                  {"B_APC_Tracked_01_AA_F",15000,"true"}
                  {"B_MBT_01_cannon_F",15000,"true"}
                  {"B_MBT_01_arty_F",15000,"true"}
                  {"B_MBT_01_mlrs_F",15000,"true"}
                  {"B_MRAP_01_F",15000,"true"}
                  {"B_MRAP_01_gmg_F",15000,"true"}
                  {"B_MRAP_01_hmg_F",15000,"true"}
                  {"B_APC_Wheeled_01_cannon_F",15000,"true"}
                  {"B_MBT_01_TUSK_F",15000,"true"}
                  {"B_UGV_01_F",15000,"true"}
                  {"B_UGV_01_rcws_F",15000,"true"}
                  {"B_T_LSV_01_armed_F",15000,"true"}
                  {"B_T_LSV_01_AT_F",15000,"true"}
                  {"B_CTRG_LSV_01_light_F",15000,"true"}
                  {"B_LSV_01_armed_black_F",15000,"true"}
                  {"B_LSV_01_armed_olive_F",15000,"true"}
                  {"B_LSV_01_armed_sand_F",15000,"true"}
                  {"B_T_LSV_01_armed_black_F",15000,"true"}
                  {"B_T_LSV_01_armed_olive_F",15000,"true"}
                  {"B_T_LSV_01_armed_sand_F",15000,"true"}
      
              };
              spawnPoints[] =
              {
      {"bluefor_garage_spawn_land"}
              };
          };
      };
      
      class HG_opfor_carshop // HG_DefaultShop is just a placeholder for testing purposes, you can delete it completely and make your own
      {
          conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"
          
          class PKW
          {
              displayName = "PKW";
              vehicles[] =
              {
                  {"O_G_Offroad_01_repair_F",15000,"true"}
                  {"O_G_Offroad_01_F",15000,"true"}
                  {"O_Quadbike_01_F",15000,"true"}
                  {"O_G_Quadbike_01_F",15000,"true"}
                  {"O_T_LSV_02_unarmed_F",15000,"true"}
                  {"O_T_LSV_02_unarmed_viper_F",15000,"true"}
                  {"O_LSV_02_unarmed_F",15000,"true"}
                  {"O_LSV_02_unarmed_viper_F",15000,"true"}
                  {"O_T_LSV_02_unarmed_black_F",15000,"true"}
                  {"O_T_LSV_02_unarmed_ghex_F",15000,"true"}
                  {"O_T_LSV_02_unarmed_arid_F",15000,"true"}
                  {"O_LSV_02_unarmed_black_F",15000,"true"}
                  {"O_LSV_02_unarmed_ghex_F",15000,"true"}
                  {"O_LSV_02_unarmed_arid_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"opfor_garage_spawn_land"}
              };
          };
          
          class LKW
          {
              displayName = "LKW";
              vehicles[] =
              {
                  {"O_Truck_02_covered_F",15000,"true"}
                  {"O_Truck_02_transport_F",15000,"true"}
                  {"O_Truck_02_box_F",15000,"true"}
                  {"O_Truck_02_medical_F",15000,"true"}
                  {"O_Truck_02_Ammo_F",15000,"true"}
                  {"O_Truck_02_fuel_F",15000,"true"}
                  {"O_G_Van_01_transport_F",15000,"true"}
                  {"O_G_Van_01_fuel_F",15000,"true"}
                  {"O_Truck_03_transport_F",15000,"true"}
                  {"O_Truck_03_covered_F",15000,"true"}
                  {"O_Truck_03_repair_F",15000,"true"}
                  {"O_Truck_03_ammo_F",15000,"true"}
                  {"O_Truck_03_fuel_F",15000,"true"}
                  {"O_Truck_03_medical_F",15000,"true"}
                  {"O_Truck_03_device_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"opfor_garage_spawn_land"}
              };
          };
          
          class Panzer
          {
              displayName = "Panzer";
              vehicles[] =
              {
                  {"O_APC_Tracked_02_cannon_F",15000,"true"}
                  {"O_APC_Tracked_02_AA_F",15000,"true"}
                  {"O_MBT_02_cannon_F",15000,"true"}
                  {"O_MBT_02_arty_F",15000,"true"}
                  {"O_MRAP_02_F",15000,"true"}
                  {"O_MRAP_02_hmg_F",15000,"true"}
                  {"O_MRAP_02_gmg_F",15000,"true"}
                  {"O_G_Offroad_01_armed_F",15000,"true"}
                  {"O_APC_Wheeled_02_rcws_F",15000,"true"}
                  {"O_APC_Wheeled_02_rcws_v2_F",15000,"true"}
                  {"O_UGV_01_F",15000,"true"}
                  {"O_UGV_01_rcws_F",15000,"true"}
                  {"O_T_LSV_02_armed_F",15000,"true"}
                  {"O_T_LSV_02_armed_viper_F",15000,"true"}
                  {"O_T_LSV_02_AT_F",15000,"true"}
                  {"O_LSV_02_armed_F",15000,"true"}
                  {"O_LSV_02_armed_viper_F",15000,"true"}
                  {"O_T_LSV_02_armed_black_F",15000,"true"}
                  {"O_T_LSV_02_armed_ghex_F",15000,"true"}
                  {"O_T_LSV_02_armed_arid_F",15000,"true"}
                  {"O_LSV_02_armed_black_F",15000,"true"}
                  {"O_LSV_02_armed_ghex_F",15000,"true"}
                  {"O_LSV_02_armed_arid_F",15000,"true"}
                  
                  
                  
              };
              spawnPoints[] =
              {
      {"opfor_garage_spawn_land"}
              };
          };
      };
      
      class HG_bluefor_helishop // HG_DefaultShop is just a placeholder for testing purposes, you can delete it completely and make your own
      {
          conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"
          
          class Helikopter
          {
              displayName = "Helikopter";
              vehicles[] =
              {
                  {"B_Heli_Light_01_F",15000,"true"}
                  {"B_Heli_Light_01_armed_F",15000,"true"}
                  {"B_Heli_Light_01_dynamicLoadout_F",15000,"true"}
                  {"B_Heli_Attack_01_F",15000,"true"}
                  {"B_Heli_Attack_01_dynamicLoadout_F",15000,"true"}
                  {"B_Heli_Transport_01_F",15000,"true"}
                  {"B_Heli_Transport_01_camo_F",15000,"true"}
                  {"B_Heli_Transport_03_F",15000,"true"}
                  {"B_Heli_Transport_03_unarmed_F",15000,"true"}
                  {"B_Heli_Transport_03_black_F",15000,"true"}
                  {"B_Heli_Transport_03_unarmed_green_F",15000,"true"}
                  {"B_CTRG_Heli_Transport_01_sand_F",15000,"true"}
                  {"B_CTRG_Heli_Transport_01_tropic_F",15000,"true"}
                  {"B_T_VTOL_01_infantry_F",15000,"true"}
                  {"B_T_VTOL_01_vehicle_F",15000,"true"}
                  {"B_T_VTOL_01_armed_F",15000,"true"}
                  {"B_T_VTOL_01_infantry_blue_F",15000,"true"}
                  {"B_T_VTOL_01_infantry_olive_F",15000,"true"}
                  {"B_T_VTOL_01_vehicle_blue_F",15000,"true"}
                  {"B_T_VTOL_01_vehicle_olive_F",15000,"true"}
                  {"B_T_VTOL_01_armed_blue_F",15000,"true"}
                  {"B_T_VTOL_01_armed_olive_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"bluefor_garage_spawn_air"}
              };
          };
          
          class Jets
          {
              displayName = "$Jets/Drohnen";
              vehicles[] =
              {
                  {"B_Plane_CAS_01_F",45000,"true"}
                  {"B_Plane_Fighter_01_F",45000,"true"}
                  {"B_Plane_Fighter_01_Stealth_F",45000,"true"}
                  {"B_Plane_CAS_01_dynamicLoadout_F",45000,"true"}
                  {"B_UAV_05_F",45000,"true"}
                  {"B_UAV_02_F",45000,"true"}
                  {"B_UAV_02_CAS_F",45000,"true"}
                  {"B_UAV_02_dynamicLoadout_F",45000,"true"}
                  {"B_T_UAV_03_F",45000,"true"}
                  {"B_T_UAV_03_dynamicLoadout_F",45000,"true"}
              };
              spawnPoints[] =
              {
      {"bluefor_garage_spawn_air"}
              };
          };
      };
      
      class HG_opfor_helishop // HG_DefaultShop is just a placeholder for testing purposes, you can delete it completely and make your own
      {
          conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"
          
          class Helikopter
          {
              displayName = "Helikopter";
              vehicles[] =
              {
                  {"O_Heli_Light_02_dynamicLoadout_F",15000,"true"}
                  {"O_Heli_Light_02_F",15000,"true"}
                  {"O_Heli_Light_02_unarmed_F",15000,"true"}
                  {"O_Heli_Light_02_v2_F",15000,"true"}
                  {"O_Heli_Attack_02_F",15000,"true"}
                  {"O_Heli_Attack_02_black_F",15000,"true"}
                  {"O_Heli_Attack_02_dynamicLoadout_F",15000,"true"}
                  {"O_Heli_Attack_02_dynamicLoadout_black_F",15000,"true"}
                  {"O_Heli_Transport_04_F",15000,"true"}
                  {"O_Heli_Transport_04_ammo_F",15000,"true"}
                  {"O_Heli_Transport_04_bench_F",15000,"true"}
                  {"O_Heli_Transport_04_box_F",15000,"true"}
                  {"O_Heli_Transport_04_covered_F",15000,"true"}
                  {"O_Heli_Transport_04_fuel_F",15000,"true"}
                  {"O_Heli_Transport_04_medevac_F",15000,"true"}
                  {"O_Heli_Transport_04_repair_F",15000,"true"}
                  {"O_Heli_Transport_04_black_F",15000,"true"}
                  {"O_Heli_Transport_04_ammo_black_F",15000,"true"}
                  {"O_Heli_Transport_04_bench_black_F",15000,"true"}
                  {"O_Heli_Transport_04_box_black_F",15000,"true"}
                  {"O_Heli_Transport_04_covered_black_F",15000,"true"}
                  {"O_Heli_Transport_04_fuel_black_F",15000,"true"}
                  {"O_Heli_Transport_04_medevac_black_F",15000,"true"}
                  {"O_Heli_Transport_04_repair_black_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"opfor_garage_spawn_air"}
              };
          };
          
          class Jets
          {
              displayName = "Jets/Drohnen";
              vehicles[] =
              {
                  {"O_Plane_CAS_02_F",15000,"true"}
                  {"O_Plane_CAS_02_dynamicLoadout_F",15000,"true"}
                  {"O_T_VTOL_02_infantry_F",15000,"true"}
                  {"O_T_VTOL_02_vehicle_F",15000,"true"}
                  {"O_T_VTOL_02_infantry_dynamicLoadout_F",15000,"true"}
                  {"O_T_VTOL_02_vehicle_dynamicLoadout_F",15000,"true"}
                  {"O_T_VTOL_02_infantry_hex_F",15000,"true"}
                  {"O_T_VTOL_02_infantry_ghex_F",15000,"true"}
                  {"O_T_VTOL_02_infantry_grey_F",15000,"true"}
                  {"O_T_VTOL_02_vehicle_hex_F",15000,"true"}
                  {"O_T_VTOL_02_vehicle_ghex_F",15000,"true"}
                  {"O_T_VTOL_02_vehicle_grey_F",15000,"true"}
                  {"O_UAV_02_F",15000,"true"}
                  {"O_UAV_02_CAS_F",15000,"true"}
                  {"O_UAV_02_dynamicLoadout_F",15000,"true"}
                  {"O_T_UAV_04_CAS_F",15000,"true"}
              };
              spawnPoints[] =
              {
      {"opfor_garage_spawn_air"}
              };
          };
      };
      Alles anzeigen


      Sieht zufällig jemand den Fehler? ^^

    • Zeilord
      Fortgeschrittener
      Reaktionen
      71
      Trophäen
      8
      Beiträge
      333
      Bilder
      24
      • 15. April 2018 um 19:28
      • #2

      ja kann dir genau sagen wo der fehler ist .....

      du hast über all das Komma vergessen warte zeige dir mal wie es aus sehen muss

    • Zeilord
      Fortgeschrittener
      Reaktionen
      71
      Trophäen
      8
      Beiträge
      333
      Bilder
      24
      • 15. April 2018 um 19:30
      • #3

      so schau mal

      Code
      class PKW
       {
       displayName = "PKW";
       vehicles[] =
       {
       {"B_G_Offroad_01_repair_F",15000,"true"},
       {"B_G_Offroad_01_F",15000,"true"},
       {"B_G_Offroad_01_armed_F",15000,"true"},
       {"B_G_Offroad_01_AT_F",15000,"true"},
       {"B_Quadbike_01_F",15000,"true"},
       {"B_G_Quadbike_01_F",15000,"true"},
       {"B_LSV_01_unarmed_F",15000,"true"},
       {"B_LSV_01_unarmed_black_F",15000,"true"},
       {"B_LSV_01_unarmed_olive_F",15000,"true"},
       {"B_LSV_01_unarmed_sand_F",15000,"true"},
       {"B_T_LSV_01_unarmed_black_F",15000,"true"},
       {"B_T_LSV_01_unarmed_olive_F",15000,"true"},
       {"B_T_LSV_01_unarmed_sand_F",15000,"true"}
       };
       spawnPoints[] =
       {
      {"bluefor_garage_spawn_land"}
       };
       };
      Alles anzeigen

      Ist jetzt bei spiel
      du musst hinter jeden ein kommer machen außer beim lesten da brauchst du es nicht machen

    • Fyndor
      Anfänger
      Reaktionen
      7
      Trophäen
      9
      Beiträge
      68
      • 15. April 2018 um 20:31
      • #4

      Ah, wunderbar - danke :)

    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™