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
So: 18 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

    Problem mit Haus System

    • Carlos
    • 20. Februar 2017 um 22:53
    • Geschlossen
    • Erledigt
    • Carlos
      Frischling
      Reaktionen
      1
      Trophäen
      11
      Beiträge
      15
      • 20. Februar 2017 um 22:53
      • #1

      Hallo ich habe derzeit das Problem das ich wenn ich mich ganz normal einlogge im meinen gekauften Haus kein Interactionsmenü habe und die Tür mit u nicht aufmachen kann.Aber wenn ich jetzt in meinen Haus bin und mit infistar mich 5m telepotiere kann ich aufeinmal alles wieder benutzen.Hoffe ihr könnt mir helfen.

      SQL
      #include "..\..\script_macros.hpp"
      /*
          File: fn_houseMenu.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description:
          Building interaction menu
      */
      #define Btn1 37450
      #define Btn2 37451
      #define Btn3 37452
      #define Btn4 37453
      #define Btn5 37454
      #define Btn6 37455
      #define Btn7 37456
      #define Btn8 37457
      #define Title 37401
      
      
      
      
      private["_display","_curTarget","_Btn1","_Btn2","_Btn3","_Btn4","_Btn5","_Btn6","_Btn7","_Btn8"];
      disableSerialization;
      _curTarget = param [0,ObjNull,[ObjNull]];
      if (isNull _curTarget) exitWith {}; //Bad target
      if (playerSide isEqualTo independent) exitWith {hint "Du brauchst doch kein Haus, oder?"}; 
      _houseCfg = [(typeOf _curTarget)] call life_fnc_houseConfig;
      if (count _houseCfg isEqualTo 0 && playerSide isEqualTo civilian) exitWith {};
      
      
      
      
      if (!dialog) then {
          createDialog "pInteraction_Menu";
      };
      
      
      
      
      _Btn1 = CONTROL(37400,Btn1);
      _Btn2 = CONTROL(37400,Btn2);
      _Btn3 = CONTROL(37400,Btn3);
      _Btn4 = CONTROL(37400,Btn4);
      _Btn5 = CONTROL(37400,Btn5);
      _Btn6 = CONTROL(37400,Btn6);
      _Btn7 = CONTROL(37400,Btn7);
      _Btn8 = CONTROL(37400,Btn8);
      {_x ctrlShow false;} forEach [_Btn1,_Btn2,_Btn3,_Btn4,_Btn5,_Btn6,_Btn7,_Btn8];
      
      
      
      
      life_pInact_curTarget = _curTarget;
      if (_curTarget isKindOf "House_F" && playerSide isEqualTo west) exitWith {
          if ((nearestObject [[16019.5,16952.9,0],"Land_Dome_Big_F"]) == _curTarget || (nearestObject [[16019.5,16952.9,0],"Land_Research_house_V1_F"]) == _curTarget) then {
      
      
      
      
              _Btn1 ctrlSetText localize "STR_pInAct_Repair";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_repairDoor; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              _Btn2 ctrlSetText localize "STR_pInAct_CloseOpen";
              _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_doorAnimate; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
          } else {
              if (!isNil {_curTarget getVariable "house_owner"}) then {
                  _Btn1 ctrlSetText localize "STR_House_Raid_Owner";
                  _Btn1 buttonSetAction "[life_pInact_curTarget] call life_fnc_copHouseOwner;";
                  _Btn1 ctrlShow true;
      
      
      
      
                  _Btn2 ctrlSetText localize "STR_pInAct_BreakDown";
                  _Btn2 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_copBreakDoor; closeDialog 0;";
                  _Btn2 ctrlShow true;
      
      
      
      
                  _Btn3 ctrlSetText localize "STR_pInAct_SearchHouse";
                  _Btn3 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_raidHouse; closeDialog 0;";
                  _Btn3 ctrlShow true;
      
      
      
      
                  if (player distance _curTarget > 3.6) then {
                      _Btn3 ctrlEnable false;
                  };
      
      
      
      
                  _Btn4 ctrlSetText localize "STR_pInAct_LockHouse";
                  _Btn4 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_lockupHouse; closeDialog 0;";
                  _Btn4 ctrlShow true;
              } else {
                  closeDialog 0;
              };
          };
      };
      
      
      
      
      if (!(_curTarget in life_vehicles) || isNil {_curTarget getVariable "house_owner"}) then {
          _Btn1 ctrlSetText localize "STR_pInAct_BuyHouse";
          _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_buyHouse;";
          _Btn1 ctrlShow true;
      
      
      
      
          if (!isNil {_curTarget getVariable "house_owner"}) then {
              _Btn1 ctrlEnable false;
          };
      } else {
          if ((typeOf _curTarget) in ["Land_i_Garage_V1_F","Land_i_Garage_V2_F"]) then {
              _Btn1 ctrlSetText localize "STR_pInAct_SellGarage";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_sellHouse; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              if (((_curTarget getVariable "house_owner") select 0) != getPlayerUID player) then {
                  _Btn1 ctrlEnable false;
              };
      
      
      
      
              _Btn2 ctrlSetText localize "STR_pInAct_AccessGarage";
              _Btn2 buttonSetAction "[life_pInact_curTarget,""Car""] spawn life_fnc_vehicleGarage; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
              _Btn3 ctrlSetText localize "STR_pInAct_StoreVeh";
              _Btn3 buttonSetAction "[life_pInact_curTarget,player] spawn life_fnc_storeVehicle; closeDialog 0;";
              _Btn3 ctrlShow true;
          } else {
              _Btn1 ctrlSetText localize "STR_pInAct_SellHouse";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_sellHouse; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              if (((_curTarget getVariable "house_owner") select 0) != (getPlayerUID player)) then {
                  _Btn1 ctrlEnable false;
              };
      
      
      
      
              if (_curTarget getVariable ["locked",false]) then {
                  _Btn2 ctrlSetText localize "STR_pInAct_UnlockStorage";
              } else {
                  _Btn2 ctrlSetText localize "STR_pInAct_LockStorage";
              };
              _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_lockHouse; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
              if (isNull (_curTarget getVariable ["lightSource",ObjNull])) then {
                  _Btn3 ctrlSetText localize "STR_pInAct_LightsOn";
              } else {
                  _Btn3 ctrlSetText localize "STR_pInAct_LightsOff";
              };
              _Btn3 buttonSetAction "[life_pInact_curTarget] call life_fnc_lightHouseAction; closeDialog 0;";
              _Btn3 ctrlShow true;
          };
      };
      Alles anzeigen

      Dateien

      arma3server_2017-02-20_22-35-58.txt 916,46 kB – 200 Downloads
    • shoXy
      Nerd
      Reaktionen
      161
      Trophäen
      10
      Beiträge
      726
      • 20. Februar 2017 um 23:38
      • #2

      Ich kann keine Fehler in den Logs finden was mit dem Haus System zutun hat.

      Versuch mal alles mit diesem hier zu ersetzen:

      Code
      #include "..\..\script_macros.hpp"
      /*
          File: fn_houseMenu.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description:
          Building interaction menu
      */
      #define Btn1 37450
      #define Btn2 37451
      #define Btn3 37452
      #define Btn4 37453
      #define Btn5 37454
      #define Btn6 37455
      #define Btn7 37456
      #define Btn8 37457
      #define Title 37401
      
      
      
      
      private ["_display","_curTarget","_Btn1","_Btn2","_Btn3","_Btn4","_Btn5","_Btn6","_Btn7","_Btn8"];
      disableSerialization;
      _curTarget = param [0,objNull,[objNull]];
      if (isNull _curTarget) exitWith {}; //Bad target
      _houseCfg = [(typeOf _curTarget)] call life_fnc_houseConfig;
      if (count _houseCfg isEqualTo 0 && playerSide isEqualTo civilian) exitWith {};
      
      
      
      
      if (!dialog) then {
          createDialog "pInteraction_Menu";
      };
      
      
      
      
      _Btn1 = CONTROL(37400,Btn1);
      _Btn2 = CONTROL(37400,Btn2);
      _Btn3 = CONTROL(37400,Btn3);
      _Btn4 = CONTROL(37400,Btn4);
      _Btn5 = CONTROL(37400,Btn5);
      _Btn6 = CONTROL(37400,Btn6);
      _Btn7 = CONTROL(37400,Btn7);
      _Btn8 = CONTROL(37400,Btn8);
      {_x ctrlShow false;} forEach [_Btn1,_Btn2,_Btn3,_Btn4,_Btn5,_Btn6,_Btn7,_Btn8];
      
      
      
      
      life_pInact_curTarget = _curTarget;
      
      
      
      
      if (_curTarget in life_hideoutBuildings) exitWith {
          closeDialog 0;
          hint localize "STR_House_Hideout";
      };
      
      
      
      
      if (_curTarget isKindOf "House_F" && playerSide isEqualTo west) exitWith {
      
      
      
      
          private _vaultHouse = [[["Altis", "Land_Research_house_V1_F"], ["Tanoa", "Land_Medevac_house_V1_F"]]] call TON_fnc_terrainSort;
          private _altisArray = [16019.5,16952.9,0];
          private _tanoaArray = [11074.2,11501.5,0.00137329];
          private _pos = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort;
      
      
      
      
          if ((nearestObject [_pos,"Land_Dome_Big_F"]) isEqualTo _curTarget || (nearestObject [_pos,_vaultHouse]) isEqualTo _curTarget) then {
      
      
      
      
              _Btn1 ctrlSetText localize "STR_pInAct_Repair";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_repairDoor; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              _Btn2 ctrlSetText localize "STR_pInAct_CloseOpen";
              _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_doorAnimate; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
          } else {
              if (!isNil {_curTarget getVariable "house_owner"}) then {
                  _Btn1 ctrlSetText localize "STR_House_Raid_Owner";
                  _Btn1 buttonSetAction "[life_pInact_curTarget] call life_fnc_copHouseOwner;";
                  _Btn1 ctrlShow true;
      
      
      
      
                  _Btn2 ctrlSetText localize "STR_pInAct_BreakDown";
                  _Btn2 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_copBreakDoor; closeDialog 0;";
                  _Btn2 ctrlShow true;
      
      
      
      
                  _Btn3 ctrlSetText localize "STR_pInAct_SearchHouse";
                  _Btn3 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_raidHouse; closeDialog 0;";
                  _Btn3 ctrlShow true;
      
      
      
      
                  if (player distance _curTarget > 3.6) then {
                      _Btn3 ctrlEnable false;
                  };
      
      
      
      
                  _Btn4 ctrlSetText localize "STR_pInAct_LockHouse";
                  _Btn4 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_lockupHouse; closeDialog 0;";
                  _Btn4 ctrlShow true;
              } else {
                  closeDialog 0;
              };
          };
      };
      
      
      
      
      if (!(_curTarget in life_vehicles) || isNil {_curTarget getVariable "house_owner"}) then {
      
      
      
      
          private _isHouse = false;
      
      
      
      
          if (isClass (missionConfigFile >> "Housing" >> worldName >> (typeOf _curTarget))) then {
              _Btn1 ctrlSetText localize "STR_pInAct_BuyHouse";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_buyHouse;";
              _isHouse = true;
          } else {
              _Btn1 ctrlSetText localize "STR_pInAct_BuyGarage";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_buyHouse;";
          };
          _Btn1 ctrlShow true;
      
      
      
      
          if (!isNil {_curTarget getVariable "house_owner"}) then {
              _Btn1 ctrlEnable false;
          };
      
      
      
      
          if (_isHouse) then {
              if (getNumber (missionConfigFile >> "Housing" >> worldName >> (typeOf _curTarget) >> "canGarage") isEqualTo 1) then {
                  _Btn2 ctrlSetText localize "STR_pInAct_GarageExt";
                  _Btn2 buttonSetAction "hint format [localize 'STR_pInAct_GarageExtNOTF',LIFE_SETTINGS(getNumber,'houseGarage_buyPrice')];";
                  _Btn2 ctrlShow true;
              };
          };
      
      
      
      
      } else {
          if (isClass (missionConfigFile >> "Garages" >> worldName >> (typeOf _curTarget))) then {
              _Btn1 ctrlSetText localize "STR_pInAct_SellGarage";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_sellHouse; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              if (((_curTarget getVariable "house_owner") select 0) != getPlayerUID player) then {
                  _Btn1 ctrlEnable false;
              };
      
      
      
      
              _Btn2 ctrlSetText localize "STR_pInAct_AccessGarage";
              _Btn2 buttonSetAction "[life_pInact_curTarget,""Car""] spawn life_fnc_vehicleGarage; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
              _Btn3 ctrlSetText localize "STR_pInAct_StoreVeh";
              _Btn3 buttonSetAction "[life_pInact_curTarget,player] spawn life_fnc_storeVehicle; closeDialog 0;";
              _Btn3 ctrlShow true;
          } else {
              _Btn1 ctrlSetText localize "STR_pInAct_SellHouse";
              _Btn1 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_sellHouse; closeDialog 0;";
              _Btn1 ctrlShow true;
      
      
      
      
              if (((_curTarget getVariable "house_owner") select 0) != (getPlayerUID player)) then {
                  _Btn1 ctrlEnable false;
              };
      
      
      
      
              if (_curTarget getVariable ["locked",false]) then {
                  _Btn2 ctrlSetText localize "STR_pInAct_UnlockStorage";
              } else {
                  _Btn2 ctrlSetText localize "STR_pInAct_LockStorage";
              };
              _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_lockHouse; closeDialog 0;";
              _Btn2 ctrlShow true;
      
      
      
      
              if (isNull (_curTarget getVariable ["lightSource",objNull])) then {
                  _Btn3 ctrlSetText localize "STR_pInAct_LightsOn";
              } else {
                  _Btn3 ctrlSetText localize "STR_pInAct_LightsOff";
              };
              _Btn3 buttonSetAction "[life_pInact_curTarget] call life_fnc_lightHouseAction; closeDialog 0;";
              _Btn3 ctrlShow true;
      
      
      
      
              if (getNumber (missionConfigFile >> "Housing" >> worldName >> (typeOf _curTarget) >> "canGarage") isEqualTo 1 && {!(_curTarget getVariable ["blacklistedGarage",false])}) then {
                  if (_curTarget getVariable ["garageBought",false]) then {
                      _Btn4 ctrlSetText localize "STR_pInAct_SellGarage";
                      _Btn4 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_sellHouseGarage; closeDialog 0;";
                      _Btn4 ctrlShow true;
      
      
      
      
                      if (((_curTarget getVariable "house_owner") select 0) != (getPlayerUID player)) then {
                          _Btn4 ctrlEnable false;
                      };
      
      
      
      
                      _Btn5 ctrlSetText localize "STR_pInAct_AccessGarage";
                      _Btn5 buttonSetAction "[life_pInact_curTarget,""Car""] spawn life_fnc_vehicleGarage; closeDialog 0;";
                      _Btn5 ctrlShow true;
      
      
      
      
                      _Btn6 ctrlSetText localize "STR_pInAct_StoreVeh";
                      _Btn6 buttonSetAction "[life_pInact_curTarget,player] spawn life_fnc_storeVehicle; closeDialog 0;";
                      _Btn6 ctrlShow true;
                  } else {
                      _Btn5 ctrlSetText localize "STR_pInAct_BuyGarage";
                      _Btn5 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_buyHouseGarage; closeDialog 0;";
                  };
      
      
      
      
                  _Btn5 ctrlShow true;
      
      
      
      
              };
      
      
      
      
          };
      };
      Alles anzeigen
    • Carlos
      Frischling
      Reaktionen
      1
      Trophäen
      11
      Beiträge
      15
      • 20. Februar 2017 um 23:41
      • #3

      Ach ja was du gesendet hast ist für Altis und [lexicon]Tanoa[/lexicon] hab ich vergessen dabei zu schreiben das wir die Lakeside Map besitzen.Ich habe es schon auch mit der originalen Datei versucht (habe nur die Koordinaten geändert) geht auch nicht.

    • benjin
      Schüler
      Reaktionen
      8
      Trophäen
      9
      Beiträge
      100
      • 21. Februar 2017 um 20:40
      • #4

      Ich habe auch ein problem aber altis 4.4r4 kann auf die lagerboxen mit T nicht zugreifen kommt nur du bist nicht berechtigt auf die container zuzugreifen ohne das der besitzer ihn aufgeschloßen hat
      mein haus ist offen woran kann das liegen am housing system habe ich nichts verändert

    • Carlos
      Frischling
      Reaktionen
      1
      Trophäen
      11
      Beiträge
      15
      • 21. Februar 2017 um 21:11
      • #5
      Zitat von benjin

      Ich habe auch ein problem aber altis 4.4r4 kann auf die lagerboxen mit T nicht zugreifen kommt nur du bist nicht berechtigt auf die container zuzugreifen ohne das der besitzer ihn aufgeschloßen hat
      mein haus ist offen woran kann das liegen am housing system habe ich nichts verändert

      Das ist ja ein anderes Problem und nicht das gleiche ^^.Leider besteht der Bug immer noch :(

    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

    • Zwei Inseln auf einem Server

      • R3DEX
      • 23. August 2017 um 11:48
      • Hilfeforum
    • Arma 3 Altis Life auf Custom Map

      • NetPeggle
      • 20. Juni 2017 um 02:50
      • Hilfeforum
    • Texte Verbuggt und Komischer Log

      • Gismo2501
      • 6. April 2017 um 18:24
      • Hilfeforum
    • Housing System speichert nicht

      • Crypto
      • 7. Dezember 2016 um 19:18
      • Hilfeforum
    • Housing System der 4.4r3

      • GenApophis
      • 28. Oktober 2016 um 06:56
      • Hilfeforum
    • Haussystem Bug Kauf

      • kamikaze13016
      • 16. Oktober 2016 um 03:31
      • Hilfeforum

    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™