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
Mo: 19 Mai 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

    Hideout - Problem (English)

    • Edwin
    • 4. September 2016 um 01:18
    • Geschlossen
    • Erledigt
    • Edwin
      Anfänger
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      38
      • 4. September 2016 um 01:18
      • #1

      Altis Life 4.4r3

      hi guys
      I have a small problem with my Hideout.
      The hideout maybe well taken there is no concern, the global message sends and confirms that she was well taken by a rebel gang but the concern is that when he wishes to reach the shop, nothing displays.

      mpmission :

      Code
      *this enableSimulation false;
      this allowDamage false;
      this addAction[localize"STR_Shops_Gang",life_fnc_virt_menu,“gang”,0,false,false,"",’ _b = nearestBuilding (getPosATL player); !isNil {_b getVariable “gangOwner”} && {(_b getVariable “gangOwner”) == (group player)} '];*
      Voici le fichier fn_captureHideout :


      Here is the file "fn_captureHideout"


      Code
      #include "..\..\script_macros.hpp"
      /*
          File: fn_captureHideout.sqf
          Author: Bryan "Tonic" Boardwine
       
          Description:
          Blah blah.
      */
      private["_group","_hideout","_action","_cpRate","_cP","_progressBar","_title","_titleText","_ui","_flagTexture"];
      _hideout = (nearestObjects[getPosATL player,["Land_Laptop_device_F"],25]) select 0;
      _group = _hideout getVariable ["gangOwner",grpNull];
       
      if (isNil {group player getVariable "gang_name"}) exitWith {titleText[localize "STR_GNOTF_CreateGang","PLAIN"];};
      if (_group == group player) exitWith {titleText[localize "STR_GNOTF_Controlled","PLAIN"]};
      if ((_hideout getVariable ["inCapture",FALSE])) exitWith {hint localize "STR_GNOTF_onePersonAtATime";};
      if (!isNull _group) then {
          _gangName = _group getVariable ["gang_name",""];
          _action = [
              format[localize "STR_GNOTF_AlreadyControlled",_gangName],
              localize "STR_GNOTF_CurrentCapture",
              localize "STR_Global_Yes",
              localize "STR_Global_No"
          ] call BIS_fnc_guiMessage;
       
          _cpRate = 0.0045;
      } else {
          _cpRate = 0.0075;
      };
       
      if (!isNil "_action" && {!_action}) exitWith {titleText[localize "STR_GNOTF_CaptureCancel","PLAIN"];};
      life_action_inUse = true;
       
      //Setup the progress bar
      disableSerialization;
      _title = localize "STR_GNOTF_Capturing";
      5 cutRsc ["life_progress","PLAIN"];
      _ui = uiNamespace getVariable "life_progress";
      _progressBar = _ui displayCtrl 38201;
      _titleText = _ui displayCtrl 38202;
      _titleText ctrlSetText format["%2 (1%1)...","%",_title];
      _progressBar progressSetPosition 0.01;
      _cP = 0.01;
       
      for "_i" from 0 to 1 step 0 do {
          if (animationState player != "AinvPknlMstpSnonWnonDnon_medic_1") then {
              [player,"AinvPknlMstpSnonWnonDnon_medic_1",true] remoteExecCall ["life_fnc_animSync",RCLIENT];
              player switchMove "AinvPknlMstpSnonWnonDnon_medic_1";
              player playMoveNow "AinvPknlMstpSnonWnonDnon_medic_1";
          };
          sleep 0.26;
          if (isNull _ui) then {
              5 cutRsc ["life_progress","PLAIN"];
              _ui = uiNamespace getVariable "life_progress";
              _progressBar = _ui displayCtrl 38201;
              _titleText = _ui displayCtrl 38202;
          };
          _cP = _cP + _cpRate;
          _progressBar progressSetPosition _cP;
          _titleText ctrlSetText format["%3 (%1%2)...",round(_cP * 100),"%",_title];
          _hideout setVariable ["inCapture",true,true];
          if (_cP >= 1 || !alive player) exitWith {_hideout setVariable ["inCapture",false,true];};
          if (life_istazed) exitWith {_hideout setVariable ["inCapture",false,true];}; //Tazed
          if (life_isknocked) exitWith {_hideout setVariable ["inCapture",false,true];}; //Knocked
          if (life_interrupted) exitWith {_hideout setVariable ["inCapture",false,true];};
      };
       
      //Kill the UI display and check for various states
      5 cutText ["","PLAIN"];
      player playActionNow "stop";
      if (!alive player || life_istazed || life_isknocked) exitWith {life_action_inUse = false;_hideout setVariable ["inCapture",false,true];};
      if (player getVariable["restrained",false]) exitWith {life_action_inUse = false;_hideout setVariable ["inCapture",false,true];};
      if (life_interrupted) exitWith {life_interrupted = false; titleText[localize "STR_GNOTF_CaptureCancel","PLAIN"]; life_action_inUse = false;_hideout setVariable ["inCapture",false,true];};
      life_action_inUse = false;
       
      titleText[localize "STR_GNOTF_Captured","PLAIN"];
      _flagTexture = [
              "\A3\Data_F\Flags\Flag_red_CO.paa",
              "\A3\Data_F\Flags\Flag_green_CO.paa",
              "\A3\Data_F\Flags\Flag_blue_CO.paa",
              "\A3\Data_F\Flags\Flag_white_CO.paa",
              "\A3\Data_F\Flags\flag_fd_red_CO.paa",
              "\A3\Data_F\Flags\flag_fd_green_CO.paa",
              "\A3\Data_F\Flags\flag_fd_blue_CO.paa",
              "\A3\Data_F\Flags\flag_fd_orange_CO.paa"
          ] call BIS_fnc_selectRandom;
      _this select 0 setFlagTexture _flagTexture;
      [[0,1],"STR_GNOTF_CaptureSuccess",true,[name player,(group player) getVariable "gang_name"]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
      _hideout setVariable ["inCapture",false,true];
      _hideout setVariable ["gangOwner",group player,true];
      Alles anzeigen


      Thank you :)

    • The C Stands for Cheese
      Gast
      • 4. September 2016 um 01:29
      • #2

      Any log error or simillar?

    • Edwin
      Anfänger
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      38
      • 4. September 2016 um 01:37
      • #3

      No errors, no log.
      Only the shop hideout does not appear.

      Given that he cannot click the store of the hideout, there is not of log.


      But :

      1:37:45 ../lib/Network/networkServer.cpp OnClientStateChanged:NOT IMPLEMENTED - briefing!
      1:37:45 Mission id: f0a69a83d80343be09c1e4867cf28e1b3ff79e81
      1:37:45 Game started.
      1:37:45 "extDB2: Connected to Database"
      1:37:45 "----------------------------------------------------------------------------------------------------"
      1:37:45 "---------------------------------- Starting Altis Life Server Init ---------------------------------"
      1:37:45 "------------------------------------------ Version 4.4R3 -------------------------------------------"
      1:37:45 "----------------------------------------------------------------------------------------------------"
      1:37:45 Error in expression <query,1] call DB_fnc_asyncCall;
      };
      };


      master_group attachTo[bank_obj,[0,0,0]];>
      1:37:45 Error position: <master_group attachTo[bank_obj,[0,0,0]];>
      1:37:45 Error Undefined variable in expression: master_group
      1:37:45 File life_server\init.sqf, line 84
      1:37:45 "----------------------------------------------------------------------------------------------------"
      1:37:45 " End of Altis Life Server Init :: Total Execution Time 0.153999 seconds "
      1:37:45 "----------------------------------------------------------------------------------------------------"
      1:37:46 BattlEye Server: Player #0 Edwin Bruderschaft - GUID: 569fccc865f1c34f467eb257b08377bd
      1:37:47 Player Edwin Bruderschaft connected (id=76561198040292341).
      1:37:47 BattlEye Server: Verified GUID (569fccc865f1c34f467eb257b08377bd) of player #0 Edwin Bruderschaft
      1:37:52 BattlEye Server: Starting with Arma 3 1.58 all server admins will have to define a dedicated port in BEServer.cfg in order to be able to use BE RCon. Please see https://www.battleye.com/support/documentation/ for details.
      Unaccessible
      1:39:33 Client: Remote object 3:0 not found
      1:39:33 A nil object passed as a target to RemoteExec(Call) 'sock_fnc_updaterequest'
      1:39:33 Warning: Cleanup player - person 2:1903 not found
      1:39:34 Player Edwin Bruderschaft disconnected.
      1:39:34 BattlEye Server: Player #0 Edwin Bruderschaft disconnected
      1:39:34 Warning: Cleanup player - person 2:1903 not found

    • Reihenfeuer
      Frischling
      Trophäen
      9
      Beiträge
      4
      • 4. September 2016 um 08:23
      • #4

      You can talk german if you are german :D

      it looks like you have a problem at you life_server

      Error in expression <query,1] call DB_fnc_asyncCall;
      };
      };

      Some thing in the life_server is wrong i think but it coud be also the Database so check the database log as well

      and make sure that there is a object with this name on the map : master_group

    • Edwin
      Anfänger
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      38
      • 4. September 2016 um 10:39
      • #5

      I'm sorry but I'm french and I can not speak french or english..
      Indeed the master-group was otherwise named, but now it is present and with the right name.


      It does not solve my problem of shop hideout which does not display even by having to capture the flag

      For the database (not problem) :

      Code
      extDB2: Found extdb-conf.ini
      extDB2: Detected 4 Cores, Setting up 4 Worker Threads
      
      
      
      
      
      
      
      [01:37:45 +02:00] [Thread 31992] extDB2: Database Type: MySQL
      [01:37:45 +02:00] [Thread 31992] extDB2: Database Session Pool Started
      [01:37:45 +02:00] [Thread 31992] extDB2: SQL_RAW_V2: Initialized: ADD_QUOTES True
      Alles anzeigen

      You will find in attached logs more in detail.

      Dateien

      log.txt 26,34 kB – 179 Downloads
    • Nexarion
      Frischling
      Trophäen
      9
      Beiträge
      12
      • 4. September 2016 um 10:48
      • #6

      Could you please post the whole init of the object which should display the shop?

    • Edwin
      Anfänger
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      38
      • 4. September 2016 um 11:29
      • #7

      Of corse :

      Config_vItems.hpp :

      Code
      class gang {
              name = "STR_Shops_Gang";
              side = "civ";
              license = "";
              level[] = { "", "", -1, "" };
              items[] = { "waterBottle", "rabbit", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "toolkit", "fuelFull", "peach", "boltcutter", "blastingcharge" };
          };

      Npc :

      (capture flag)

      Code
      this enableSimulation false; this allowDamage false; 
      this addAction[localize"STR_Shops_Gang",life_fnc_virt_menu,"gang",0,false,false,"",' _b = nearestBuilding (getPosATL player); !isNil {_b getVariable "gangOwner"} && {(_b getVariable "gangOwner") == (group player)} '];


      The shop works but in fact it is the condition which is not good because when I replace:
      ' _b = nearestBuilding (getPosATL player); !isNil {_b getVariable "gangOwner"} && {(_b getVariable "gangOwner") == (group player)} && playerSide == civilian '

      By that :
      ' playerSide == civilian '

      -> It would be necessary to redo the condition which obliges that the person is a member of the group having to capture the flag


      Capture flag :
      For example, this one works very well who allows to determine if the group of the player did not capture the flag or if it is well up to a gang


      Code
      this enableSimulation false; 
      this allowDamage false; 
      this addAction[localize"STR_Shops_Gang",life_fnc_virt_menu,"gang",0,false,false,"",' _b = nearestBuilding (getPosATL player); !isNil {_b getVariable "gangOwner"} && {(_b getVariable "gangOwner") == (group player)} '];
    • Edwin
      Anfänger
      Reaktionen
      12
      Trophäen
      9
      Beiträge
      38
      • 4. September 2016 um 12:07
      • #8

      Solved problem.


      It was just necessary to change the name of the house (hideout)

    • SirFluffyVonKitten
      Nerd
      Reaktionen
      407
      Trophäen
      11
      Beiträge
      798
      Bilder
      3
      • 4. September 2016 um 12:23
      • #9

      #closed then :P

    Registrieren oder Einloggen

    Du bist noch kein Mitglied von Native-Servers.com? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Benutzerkonto erstellen

    Ähnliche Themen

    • Gang Hideout (v4.5)

      • Lukas692
      • 30. Oktober 2016 um 02:14
      • Hilfeforum

    Tags

    • Hideout

    Benutzer online in diesem Thema

    • 1 Besucher

    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™