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: 07 Juli 2025
  • Anmelden oder registrieren
  • Suche
Alles
  • Alles
  • 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. Mitglieder
    3. Frenzy

    Beiträge von Frenzy

    • Medic İmmortality Problem

      • Frenzy
      • 8. April 2022 um 19:02
      Zitat von felixsch

      core/functions -> fn_handleDamage.sqf

      Code
      if (side _unit isEqualTo independent && _damage > 0.9 && (vehicle _unit) isEqualTo _unit) then {
          _damage = 0;
      };

      add the code like this. Otherwise the unit would have godmode (no damage at all).

      Thank you very much, can I ask one more thing? Off topic though?

    • Medic İmmortality Problem

      • Frenzy
      • 8. April 2022 um 17:48
      Zitat von felixsch

      do you use an framework like altis life?

      Yes. I have an altis life server

    • Medic İmmortality Problem

      • Frenzy
      • 8. April 2022 um 17:20
      Zitat von felixsch

      do you use ace medial or just vanilla?

      vanilla

    • Medic İmmortality Problem

      • Frenzy
      • 8. April 2022 um 16:43

      Hello,

      I don't want doctors to die in the car. How do I add this into this code?

      Code
      if (side _unit isEqualTo independent) then {
          _damage = 0;
      };
    • Cyberworks Installation Problem

      • Frenzy
      • 8. April 2022 um 16:29

      Thank you bro.

    • Cyberworks Installation Problem

      • Frenzy
      • 6. April 2022 um 20:54
      Zitat von pentoxide

      Are you running XAMPP on PHP8?

      I can warmly recommend Native Servers Webhosting (https://native-servers.com/webhosting-webspace-mieten). They should have PHP7 if not the support should accomplish that :)

      So, if I install AppServ : Apache + PHP + MySQL, will it work?

    • Server Startup

      • Frenzy
      • 6. April 2022 um 20:41
      Zitat von pentoxide

      Sooo you could kill the server process and restart it after or use BEC OR the way i would recommend is to use Firedaemon Pro.

      You can try it for 30day and buy it afterwards if you like it. :)

      https://www.firedaemon.com/products

      taskkill /IM "arma3server.exe" /F

      Code
      @echo off
      chdir /c "C:\Arma3\A3Server"
      COLOR 0B
      TITLE Altis Auto Server Restart
      SETLOCAL EnableExtensions enabledelayedexpansion
      set EXE=arma3server_x64.exe
      timeout 1
      goto CheckServerRunning
      timeout 1
      :CheckServerRunning
      echo "Arma 3.exe Status under review..."
      FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto KillRestartServer
      goto StartArma3Server
      timeout 1
      :StartArma3Server
      echo "Starting the server..."
      start C:\Arma3\A3Server\arma3server_x64.exe -port=2302 -servermod=@life_server;@extDB3;@infiSTAR_A3 -config=C:\Arma3\A3Server\config\server.cfg -cfg=C:\Arma3\A3Server\config\basic.cfg -bepath=C:\Arma3\A3Server\battleye -profiles=C:\Arma3\A3Server\Default -name=default -autoinit+
      exit
      timeout 1
      :KillRestartServer
      echo "Starting the server..."
      timeout 1 >nul
      taskkill /F /IM %EXE% >nul
      timeout 5 >nul
      cls
      goto StartArma3Server
      Alles anzeigen

      It seems to be working fine, but the server is not showing up at all.

      Bilder

      • Adsız1.jpg
        • 23,39 kB
        • 417 × 191
        • 104
    • Server Startup

      • Frenzy
      • 6. April 2022 um 15:59

      Hello,

      I want server start .bat for my altis life server, but it doesn't work even though I set it. Can anyone help me in this position?

    • Police Slots And New License

      • Frenzy
      • 4. April 2022 um 13:18
      Zitat von felixsch
      Code
      if (str(player) in (LIFE_SETTINGS(getArray,"slots_justiz"))) then {
          if (FETCH_CONST(life_justizlevel) isEqualTo 0) then {
              ["NotWhitelisted",false,true] call BIS_fnc_endMission;
              sleep 35;
          };
      };

      This is a part of my old altis life script, it is nearly the same.

      Maybe add debug messages like systemChat "DEBUG 1"...

      Also check the result of systemChat (str player)

      str player gives you the unit name (from the init) back.

      Sorry, it didn't. It was working before, I set it up. But now it doesn't. Is there a script difference? Or am I using an old script, how do I find out?

    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 21:03
      Code
      #include "..\script_macros.hpp"
      /*
          File: fn_initCop.sqf
          Author: Bryan "Tonic" Boardwine
      
          Description:
          Cop Initialization file.
      */
      player addRating 9999999;
      waitUntil {!(isNull (findDisplay 46))};
      
          if((str(player) in ["cop_1"])) then {
           if((FETCH_CONST(life_coplevel) < 8) && (FETCH_CONST(life_adminlevel) < 5)) then {
              ["NotWhitelisted",false,true] call BIS_fnc_endMission;
              sleep 35;
          };
      
      
      player setVariable ["admin_level",(FETCH_CONST(life_adminlevel)),true];
      player setVariable ["rank",(FETCH_CONST(life_coplevel)),true];
      
      switch (FETCH_CONST(life_coplevel)) do {
          case 2: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_2"); };
          case 3: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_3"); };
          case 4: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_4"); };
          case 5: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_5"); };
          case 6: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_6"); };
          case 7: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_7"); };
          case 8: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_8"); };
          case 9: { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_9"); };
          default { life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_cop_default"); };
      };
      
      life_paycheck = life_paycheck;
      // life_paycheck = life_paycheck + LIFE_SETTINGS(getNumber,"ALRPG_paycheck_etkinlik");
      // if (call life_adminlevel != 0) then { player_Twitteradminpwr = true;";};
      
      [] call life_fnc_spawnMenu;
      waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
      waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
      [] spawn life_fnc_welcome;
      [] spawn life_fnc_welcome_info;
      [] spawn life_fnc_placeablesInit;
      Alles anzeigen
    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 20:59
      Zitat von felixsch
      Code
      if((str(player) in ["cop_1"])) then {
          if((FETCH_CONST(life_coplevel) < 8) && (FETCH_CONST(life_adminlevel) < 5)) then {
              ["NotWhitelisted",false,true] call BIS_fnc_endMission;
              sleep 35;
          };

      just removed the ! in front of the first line

      It doesn't work even if I level it. Where else can I go wrong?

    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 19:01
      Zitat von felixsch

      In your case you check for every slot exept cop_1

      Code
      if( --> ! <--  (str(player) in ["cop_1"])) then {
      Code
      if(!(str(player) in ["cop_1"])) then {
          if((FETCH_CONST(life_coplevel) < 8) && (FETCH_CONST(life_adminlevel) < 5)) then {
              ["NotWhitelisted",false,true] call BIS_fnc_endMission;
              sleep 35;
          };

      Can you show on my code?

    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 18:33
      Zitat von felixsch

      in your case you check if your player is not using slot cop_1. If this is true you check if the player has an admin level = 5 OR a cop level >= 8, when true -> allow play

      Did you check whether you have an adminlevel equal to 5?

      Pls send your RPT Log

      Yes, I wanted to give administrators a level they can enter, I know that. But the problem is, for example; I assign a level to the cop_1 slot and it can be entered without leveling. am i doing something wrong?

    • Cyberworks Installation Problem

      • Frenzy
      • 3. April 2022 um 17:56

      Hello,

      I carefully arranged the Cyberworks installation. But I faced such problem in web panel.

      Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\cyberworks\vendor\twig\twig\lib\Twig\Node.php on line 42

      Spoiler anzeigen

      <?php

      /*

      * This file is part of Twig.

      *

      * (c) Fabien Potencier

      * (c) Armin Ronacher

      *

      * For the full copyright and license information, please view the LICENSE

      * file that was distributed with this source code.

      */

      /**

      * Represents a node in the AST.

      *

      * @author Fabien Potencier <[email protected]>

      */

      class Twig_Node implements Countable, IteratorAggregate

      {

      protected $nodes;

      protected $attributes;

      protected $lineno;

      protected $tag;

      private $name;

      /**

      * Constructor.

      *

      * The nodes are automatically made available as properties ($this->node).

      * The attributes are automatically made available as array items ($this['name']).

      *

      * @param array $nodes An array of named nodes

      * @param array $attributes An array of attributes (should not be nodes)

      * @param int $lineno The line number

      * @param string $tag The tag name associated with the Node

      */

      public function __construct(array $nodes = array(), array $attributes = array(), $lineno = 0, $tag = null)

      {

      foreach ($nodes as $name => $node) {

      if (!$node instanceof self) {

      throw new InvalidArgumentException(sprintf('Using "%s" for the value of node "%s" of "%s" is not supported. You must pass a Twig_Node instance.', is_object($node) ? get_class($node) : null === $node ? 'null' : gettype($node), $name, get_class($this)));

      }

      }

      $this->nodes = $nodes;

      $this->attributes = $attributes;

      $this->lineno = $lineno;

      $this->tag = $tag;

      }

      public function __toString()

      {

      $attributes = array();

      foreach ($this->attributes as $name => $value) {

      $attributes[] = sprintf('%s: %s', $name, str_replace("\n", '', var_export($value, true)));

      }

      $repr = array(get_class($this).'('.implode(', ', $attributes));

      if (count($this->nodes)) {

      foreach ($this->nodes as $name => $node) {

      $len = strlen($name) + 4;

      $noderepr = array();

      foreach (explode("\n", (string) $node) as $line) {

      $noderepr[] = str_repeat(' ', $len).$line;

      }

      $repr[] = sprintf(' %s: %s', $name, ltrim(implode("\n", $noderepr)));

      }

      $repr[] = ')';

      } else {

      $repr[0] .= ')';

      }

      return implode("\n", $repr);

      }

      public function compile(Twig_Compiler $compiler)

      {

      foreach ($this->nodes as $node) {

      $node->compile($compiler);

      }

      }

      public function getTemplateLine()

      {

      return $this->lineno;

      }

      public function getNodeTag()

      {

      return $this->tag;

      }

      /**

      * @return bool

      */

      public function hasAttribute($name)

      {

      return array_key_exists($name, $this->attributes);

      }

      /**

      * @return mixed

      */

      public function getAttribute($name)

      {

      if (!array_key_exists($name, $this->attributes)) {

      throw new LogicException(sprintf('Attribute "%s" does not exist for Node "%s".', $name, get_class($this)));

      }

      return $this->attributes[$name];

      }

      /**

      * @param string $name

      * @param mixed $value

      */

      public function setAttribute($name, $value)

      {

      $this->attributes[$name] = $value;

      }

      public function removeAttribute($name)

      {

      unset($this->attributes[$name]);

      }

      /**

      * @return bool

      */

      public function hasNode($name)

      {

      return isset($this->nodes[$name]);

      }

      /**

      * @return Twig_Node

      */

      public function getNode($name)

      {

      if (!isset($this->nodes[$name])) {

      throw new LogicException(sprintf('Node "%s" does not exist for Node "%s".', $name, get_class($this)));

      }

      return $this->nodes[$name];

      }

      public function setNode($name, self $node)

      {

      $this->nodes[$name] = $node;

      }

      public function removeNode($name)

      {

      unset($this->nodes[$name]);

      }

      public function count()

      {

      return count($this->nodes);

      }

      public function getIterator()

      {

      return new ArrayIterator($this->nodes);

      }

      public function setTemplateName($name)

      {

      $this->name = $name;

      foreach ($this->nodes as $node) {

      $node->setTemplateName($name);

      }

      }

      public function getTemplateName()

      {

      return $this->name;

      }

      }

      class_alias('Twig_Node', 'Twig\Node\Node', false);

      class_exists('Twig_Compiler');


    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 12:09
      Zitat von felixsch

      Creating a really new level is quite hard. You first have to add this level in your database like a copy from the coplevel.

      Next you have to add this level to your data request on server side and client side (mission).

      Try search for coplevel in your project to get an idea how to implement a new level.

      Problem solved, thanks.

      May I ask one more thing? I want to adjust the police slots by level. E.g; cop_1 = coplevel 5

      Code
      if(!(str(player) in ["cop_1"])) then {
          if((FETCH_CONST(life_coplevel) < 8) && (FETCH_CONST(life_adminlevel) < 5)) then {
              ["NotWhitelisted",false,true] call BIS_fnc_endMission;
              sleep 35;
          };

      I'm trying to set it this way, but it's not working.

    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 11:18
      Zitat von felixsch

      Hey. I will briefly translate you existing tutorials.

      New license

      Open your Config_Licenses.hpp in your config folder.

      In this file you can add a new config entry:

      Code
      class tutorial {                            // Classname
              variable = "tutorial";                  // Var Name
              displayName = "STR_License_Tutorial";   Stringname
              price = 1500;                           // Price
              illegal = true;                        // Illegal true/false
              side = "civ";                           // for which side? civ / cop / med
          };

      In your stringtable.xml you add another entry as well (in this case STR_License_Tutorial)

      (original thread: Einsteiger Tutorial: Neue Lizenzen einfügen Ab 4.4 + Spawnpunkt + Shops)

      More cop levels

      Go in your database and edit your coplevel (following the existing pattern).

      And thats all. Maybe add the new levels to your id card system or comparable.

      (original thread: [Tutorial] Mehr Polizeiränge)

      If you also mean add more slots to join:
      Just place down more units on your spawn island and group them with the main blufor unit.

      Alles anzeigen

      Thank you,

      Also, I also want to create a database. Police level system is available, But I want to add a new one. E.g; Special operations level system?

    • Police Slots And New License

      • Frenzy
      • 3. April 2022 um 10:35

      I want to upgrade the police slots. Also, I want to create one more police license. How can I do that? If you tell me where to do it, I will try to do it. Also, I want to add levels to Police slots.

    • Setting the price of weapons

      • Frenzy
      • 3. April 2022 um 10:27
      Zitat von IceEagle132

      It sounds like your using a custom framework, and you're giving us very little to work with to help you.

      This sounds like a config setting to me where when you are a donator your prices are reduced.

      Yes, that's the problem. I want to set donator price, but it doesn't work. Which script is it set in? It doesn't happen in the config weapon file.

    • Setting the price of weapons

      • Frenzy
      • 31. März 2022 um 19:14
      Zitat von thechosen1one1

      These are not issues or problems.

      I'll gladly help if you run into issues but I don't have the time and patience to do basic configuration stuff for you.

      Please look into this yourself.

      When a player is given a donor level, the prices of the weapons in the rebel region automatically change. I want to set this with the price I gave myself, but it doesn't work.

    • Setting the price of weapons

      • Frenzy
      • 31. März 2022 um 16:19
      Zitat von thechosen1one1

      no, apparently not

      There are currently two types of problems. When a donor whitelist is written to a player, weapons in the rebel zone also turn into a low price, where are these donator settings?

    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™