Jump to content

Search the Community

Showing results for tags '28dayzlater'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Access Logging Dome Script Note: You will need to know what your doing to install this. Credit to Axe Cop and infistar for helping me figure some stuff out Features: Does NOT kill players that enter the dome! Allows the server admin to "protect" bases while the base owners are offline, by logging dome access to the server report file. Prevents building/logging out inside the dome for players who are not whitelisted when the owners of the dome are offline. Does none of this when the owners are online (on our server, they have to defend their own turf). The actual Dome Script (ie: MPMission / scripts / dome.sqf): private ["_owners","_name","_ownerOnline","_baseOwner"]; //List of owners _baseOwner = "Randomness"; //Define a name for this area _owners = ["314515521"]; //Array of owners of this area _ownerOnline = false; _name = name player; // Check if the player IS one of the owners if ((getPlayerUID player) in _owners) exitWith { titleText [format ["Welcome, %1", _name], "PLAIN DOWN", 4]; // welcomes you with your name }; // Check if one of the owners is online { diag_log format ["[Dome] Currently Processing admin with puid: %1", _x]; if (_x call fnc_isPlayerOnline) exitWith { _ownerOnline = true; diag_log format ["[Dome] base owner with puid: %1 is online", _x]; }; } foreach _owners; if (!_ownerOnline) exitWith { // What happens if unauthorized players get into the dome titleText ["Approaching donator base! Do not harm this base while the owners are offline! Activity is logged!", "PLAIN DOWN", 4]; //Disabling building and logging out for dome visitors canbuild = false; //Activating logging function dome_WriteLog = [_name, _baseOwner]; publicVariableServer "dome_WriteLog"; }; if (_ownerOnline) exitWith { canbuild = false; titleText ["Woof Woof! Watch out, the guard dogs spotted you!", "PLAIN DOWN", 4]; }; A trigger for this dome in mission.sqm: Note: of course all these coordinates and stuff require some editing class Item6 { position[]={13960.541,1.148,7940.4688}; a=120; b=120; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="sensor_1"; expCond="(player distance sensor_1) < 120;"; expActiv="dome_1 = [] execVM ""scripts\dome.sqf"";"; expDesactiv="terminate dome_nnnl; titleText [""You have left the dome"", ""PLAIN DOWN"", 4]; canbuild=true;"; class Effects { }; }; Inside the MPMission init.sqf or somewhere where its run serverside: if (isServer) then { "dome_WriteLog" addPublicVariableEventHandler { _data = _this select 1; diag_log format ["[DOME] Player %1 accessed %2 base at %3",_data select 0, _data select 1, time]; }; }; Instance / Battleye / publicVariable.txt In the line containing 5 "" , at the end add !="dome_WriteLog" (optional) for Infistar antiHack, inside AH.sqf: Find: } forEach ['allUnits','entities','allMissionObjects','vehicles','playableUnits']; replace with: } forEach ['allUnits','entities','allMissionObjects','vehicles']; Enjoy
×
×
  • Create New...