Jump to content

BigEgg

Member
  • Posts

    362
  • Joined

  • Last visited

  • Days Won

    28

Reputation Activity

  1. Like
    BigEgg got a reaction from Reaper5150 in Epoch Antihack / Admin Tools   
    Version 1.0.4 has been released - please be sure to update your Antihack.dll and Antihack.ini files accordingly. This should fix issues with logging relating to the no longer available global ban API.
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools/archive/refs/tags/1.0.4.zip
    Change Log [v1.0.4] - 4/15/2022 - (Last build backward compatible with 1.0.7) Changes: Updated "No Build Restrictions" admin toggle for compatibility with 1.0.7.1 Updated check for Z_persistentMoney for compatibility with 1.0.7.1 "No Build Restrictions" toggle now keeps the built item in the admin's inventory, meaning one metal floor in the inventory can be used to build several "No Build Restrictions" toggle now keeps items used to upgrade a buildable in the admin's inventory (4 cinder blocks and 1 mortar can be used to upgrade multiple half walls) Removed _egb configuration option as the global ban API is no longer available Fixes: Fixed logging issues due to deprication of the global ban API (new DLL - Antihack.ini updated to remove API login)  
  2. Like
    BigEgg got a reaction from Reaper5150 in Epoch Antihack / Admin Tools   
    Please see this fix I applied for RC4+ - I believe this will fix your issue:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools/commit/8fc6400e337115784ddaf6bedf1790e980fa83be
  3. Like
    BigEgg reacted to looter809 in [RELEASE] EASY Epoch Price Editor/Converter   
    Epoch Trader Converter -- Version 1.0
    A simple program built for DayZ Epoch to easily convert trader files into a CSV file for easier editing. You can also import a CSV file to rebuild trader files. If you want to switch your economy from gold/gem to coins or vice versa, you can simple build a CSV file with your current files and then rebuild the trader files with your desired economy system.
    GITHUB LINK AND DOWNLOAD
    Features
    Convert trader files to CSV files Import CSV files to rebuild trader files Switch between gold/gem and coins Super Fast! YOUTUBE VIDEO EXAMPLE
    Notes
    This DOES NOT deal the with the trader menu handling. If you add Category numbers to the CSV file, you will need to manually assign them to your desired traders. The default location for this is @DayZ_Epoch\addons\dayz_code\system\mission\server_traders\chernarus11.sqf or replace chernarus11.sqf with whichever map you are using. These are not instructions for how to customize this file. It is suggested to backup your trader files before using this program in case of some sort of error. Although, it doesn't change your files directly unless you tell it to. Running Trader to CSV will not take any comments from the trader files, they are stripped as it reads them. Trader to CSV only works with "worth" aka coins and silver/gold item classnames for the buy/sell prices. Be sure to select the entire CfgServerTrader (or CfgServerTraderZSC) folder when using Trader to CSV. Once you have the CSV file, consider the following: You can use the CSV file to rebuild trader files with your desired economy system. Do not add any more columns to the CSV file. Do not change the order of the columns. Do not change the column names. You CAN and are encouraged to add/remove/change the rows in the CSV file, but not the first row (the header row). Notes for when converting back into trader files: You can use the CSV file to rebuild trader files with your desired economy system as previously stated. The returned trader files will be named CfgServerTraderZSC if you are using coins or CfgServerTrader if you are using gold/gem. If you select classic economy, the program will use a lowest common denominator of silver and gold for the buy/sell prices. This means 12000 in the CSV file would be converted to 12x ItemGoldBar10oz Another example: 1050 would be converted to 105x ItemSilverBar10oz Consider the above carefully when choosing prices if you plan to use classic silver/gold economy. As stated before, do not use something like "ItemRuby" for the buy price, it will not work. Epoch should automatically convert 10, "Itembriefcase100oz" to 1 ruby in the traders if you have a ruby set to being worth to 10 briefcases.
  4. Thanks
    BigEgg reacted to rareware in Epoch Antihack / Admin Tools   
    starting from a fresh install of epoch 1.0.7 and installing this antihack won't let me enter the server...
    all the logs say that there was no errors on the server side, but this one comes up on the clients logs.

    %appdata% arma 2 OA RPT log  last line = "Date and time not synced", otherwise all fine
    server rpt log
    ---
    13:02:42 "MPframework inited"
    13:02:42 "dayz_preloadFinished reset"
    13:02:42 "<Epoch-AH>: Initializing Epoch Antihack/Admin Tools"
    13:02:42 "<Epoch-AH>: Config loaded successfully"
    13:02:42 "<Epoch-AH>: Admins sorted successfully"
    13:02:42 "<Epoch-AH>: _kfc_sz: BEcP9Qeh1Qg965suQ1"
    13:02:42 "<Epoch-AH>: _kfc_re: QUkQ8btqOrB9ggQGo"
    13:02:42 "<Epoch-AH>: _kfc_sz1: VFw5BcO0aHs9nc4"
    13:02:42 "<Epoch-AH>: _kfc_sz2: UIo9CdU31xE63eJd"
    13:02:42 "<Epoch-AH>: _kfc_sz3: KTP5HwaWi4G"
    13:02:42 "<Epoch-AH>: _kfc_mic: LOktdgK3tzw7"
    13:02:42 "<Epoch-AH>: _kfc_msg: CXl75iLYx84Q1fdRPy"
    13:02:42 "<Epoch-AH>: _kfc_get: HErmP0XwwMueM"
    13:02:42 "<Epoch-AH>: _kfc_got: LPIm80nzmPxAjapx"
    13:02:42 "<Epoch-AH>: _kfc_ban: KIj55Syp1fY7B"
    13:02:42 "<Epoch-AH>: _kfc_oef: FZ7K84i4uYkST7l2Y9"
    13:02:42 "<Epoch-AH>: _kfc_pvs: WUa8ZfjT2R"
    13:02:42 "<Epoch-AH>: _kfc_msg1: MB39H188oSYlF9SsM"
    13:02:42 "<Epoch-AH>: _kfc_gvar: IB7qv8r8ndH"
    13:02:42 "<Epoch-AH>: _kfc_init: RGDHql46qQgXwZXMv8"
    13:02:42 "<Epoch-AH>: _kfc_gtrd: WI2ncFI8hrCZ1srSJN"
    13:02:42 "<Epoch-AH>: _kfc_atrd: OLO9V2AXHZ"
    13:02:42 "<Epoch-AH>: _kfc_ntrd: EFfZhE2g32uxt6si"
    13:02:42 "<Epoch-AH>: _kfc_akey: TLFASCc4C"
    13:02:42 "<Epoch-AH>: _kfc_strd: XSCVVib6S4Z6"
    13:02:42 "<Epoch-AH>: _kfc_info: WVGgdtDN80QQf"
    13:02:42 "<Epoch-AH>: _kfc_pveh: BCnkHHJMW8Y6o"
    13:02:42 "<Epoch-AH>: _kfc_keys: YGQu932pRBk1CObC"
    13:02:42 "<Epoch-AH>: _kfc_gclnt: EZvHLA3RapZLI"
    13:02:42 "<Epoch-AH>: _kfc_sclnt: SQ087LaQ039"
    13:02:42 "<Epoch-AH>: _kfc_nclnt: TT489eU4DaVV"
    13:02:42 "<Epoch-AH>: _kfc_rekey: LOs23MTqrdq6Gc7cfgx"
    13:02:42 "<Epoch-AH>: _kfc_atrd_cfg: BMF3BeerA1846QpSl"
    13:02:42 "<Epoch-AH>: _kfc_strd_cfg: DBa0eVynLydc4gf99"
    13:02:42 "<Epoch-AH>: Global client compiled successfully"
    13:02:42 "<Epoch-AH>: Normal client compiled successfully"
    13:02:42 "<Epoch-AH>: Staff client compiled successfully"
    13:02:42 "<Epoch-AH>: SERVER: Created 156 safe zone bubbles"
    13:02:42 "<Epoch-AH>: Server code compiled successfully"
    13:02:42 "<Epoch-AH>: Epoch Antihack/Admin Tools Initialized"
    13:02:42 "<Epoch-AH>: SERVER: Processing mission files..."
    13:02:57 "<Epoch-AH>: SERVER: Mission files processed successfully"
    13:02:59 "HIVE: Starting"
    13:02:59 "HIVE: trying to get objects"
    13:02:59 "HIVE: found 300 objects"
    13:02:59 "HIVE: Request sent"
    13:02:59 "HIVE: Streamed 300 Objects."
    13:03:00 "Res3tting B!S effects..."
    13:03:00 Old style reload used in bin\config.bin/CfgVehicles/T810A_PKT_ACR_DZ/AnimationSources/
    13:03:05 "HIVE: Streamed 0 Objects and 300 Vehicles."
    13:03:05 "HIVE: BENCHMARK - Server_monitor.sqf finished streaming 300 objects in 5.645 seconds (unscheduled)"
    13:03:05 "Total Number of spawn locations 6"
    13:03:15 "<Epoch-AH>: bin laden (76561198117498517): Connected to the server"
    13:03:15 "CLEANUP: INITIALIZING Vehicle SCRIPT"
    13:03:15 Weather Forecast: Overcast: 0.255078, Fog: 0.13592, Rain: 0, WindX: -0.978436, WindY: -1.57101, Snow: 0, Blizzard: false, Change Time: 1455.35
    13:03:15 "Static Summer Weather Enabled"
    13:03:15 "HIVE: Vehicle Spawn limit reached!"
    13:03:15 "HIVE: Spawning # of Debris: 500"
    13:03:16 "<Epoch-AH>: SERVER: Staff client sent to bin laden (76561198117498517)"
    13:03:16 "INFO - Player: PID#3(bin laden)(UID:76561198117498517/CID:1) Status: LOGGING IN"
    13:03:20 "INFO - Player: PID#3(bin laden)(UID:76561198117498517/CID:1) Status: LOGIN PUBLISHING, Location Prigorodki [077122]"
    13:03:55 "HIVE: Spawning # of Ammo Boxes: 3"
    13:03:55 "HIVE: Spawning # of Veins: 50"
    13:03:56 "HIVE: BENCHMARK - Server finished spawning 0 DynamicVehicles, 500 Debris, 3 SupplyCrates and 50 MineVeins in 51.252 seconds (scheduled)"
    13:04:24 "<Epoch-AH>: SERVER: FPS: 45 | AI: 0 | Players: 1 | Uptime: 04:35:15"
    13:05:11 "INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. ["76561198117498517","bin laden"]"
    13:05:11 "<Epoch-AH>: bin laden (76561198117498517): Disconnected from the server"
    13:05:11 Client: Remote object 3:5 not found
    ---
    server.log 
    ---
    13:02:32 Host identity created.
    13:02:32 Game Port: 2302, Steam Query Port: 2303
    13:02:36 bin laden uses modified data file
    13:02:36 Player bin laden connecting.
    13:02:36 Mission DayZ Epoch Chernarus read from directory.
    13:02:37 Player bin laden connected (id=76561198117498517).
    13:02:39 Roles assigned.
    13:02:39 Reading mission ...
    13:02:42 Mission read.
    13:03:15 Game started.
    ---
     
    hive log 
    ---
    2021-12-30 13:02:59 HiveExt: [Information] HiveExt 
    2021-12-30 13:02:59 Database: [Information] Connected to MySQL database localhost:3306/dayz_epoch client ver: 5.7.20 server ver: 5.5.5-10.4.22-MariaDB
    2021-12-30 13:02:59 Database: [Information] Connected to MySQL database localhost:3306/dayz_epoch client ver: 5.7.20 server ver: 5.5.5-10.4.22-MariaDB
    2021-12-30 13:02:59 HiveExt: [Information] Method: 302 Params: 11:false:
    2021-12-30 13:02:59 HiveExt: [Information] Result: ["ObjectStreamStart",300,"a2a5f2becd686096642bc8e72cbeab99"]
    2021-12-30 13:02:59 HiveExt: [Information] Method: 302 Params: 11:false:
    2021-12-30 13:02:59 HiveExt: [Information] Result: "ObjectDataa2a5f2becd686096642bc8e72cbeab99.sqf"
    2021-12-30 13:02:59 HiveExt: [Information] Method: 302 Params: ObjectData9241e8a76dbf88eae98c5eac794be78d.sqf:false:
    2021-12-30 13:02:59 HiveExt: [Information] Result: ["NOTICE","ObjectData9241e8a76dbf88eae98c5eac794be78d.sqf has been deleted"]
    2021-12-30 13:03:16 HiveExt: [Information] Method: 101 Params: 76561198117498517:11:bin laden:
    2021-12-30 13:03:16 HiveExt: [Information] Result: ["PASS",false,"1",[],[[],[]],["",[],[]],[82,93,93,0],0,"Survivor2_DZ",[],0,0,0.97]
    2021-12-30 13:03:16 HiveExt: [Information] Method: 103 Params: 76561198117498517:1:2:
    2021-12-30 13:03:16 HiveExt: [Information] Result: ["PASS"]
    2021-12-30 13:03:20 HiveExt: [Information] Method: 102 Params: 1:
    2021-12-30 13:03:20 HiveExt: [Information] Result: ["PASS",[],[0,0,0,0],[],[],2500,11]
    2021-12-30 13:03:20 HiveExt: [Information] Method: 103 Params: 76561198117498517:1:1:
    2021-12-30 13:03:20 HiveExt: [Information] Result: ["PASS"]
     
    ---
     
    tried disabling BE , BE filters, etc.. 
    can join the vanilla server before adding the antihack fine, but cant join after installing following the instructions on github
     

     
     
    edit: running the server in a VM (so "not" on the same computer) fixed the problem, yay i guess...
  5. Like
    BigEgg got a reaction from Reaper5150 in [RELEASE] Plot Owner   
    Hello,
    Here is a simple script that prints the owner (or first friend in the list) of a base area when the player enters the plot radius. This could be useful for servers that enjoy base raiding, and overall allows players to map out base locations.
    https://github.com/BigEgg17/Plot-Owner
  6. Like
    BigEgg reacted to Reaper5150 in Epoch Antihack / Admin Tools   
    Thanks BiggEgg. I'm loving the work of this AH so far. It runs smooth and logs everything admins need, Great Job!
  7. Like
    BigEgg got a reaction from Schalldampfer in Epoch Antihack / Admin Tools   
    Version 1.0.2 has been released:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools/archive/refs/tags/1.0.1.zip
  8. Like
    BigEgg reacted to Harkness in Epoch Antihack / Admin Tools   
    Wonderful script thank you for putting the time in and not asking for a subscriptions of any sort! Im using it now got bored with SA. Had some issues with the antihack/admin scripts not liking any .hpp files within my mission file and giving me false "not found" errors but put it down to human error as started over and running great. Dont you just hate when that happens.
  9. Like
    BigEgg reacted to Reaper5150 in Epoch Antihack / Admin Tools   
    SOLVED! 
    Hey, BigEgg
    I'm getting these errors in my RPT any idea how to fix?
      16:25:14 File z\addons\dayz_server\system\scheduler\sched_event.sqf, line 38 16:25:14 ["z\addons\dayz_server\system\scheduler\sched_sync.sqf","TIME SYNC: Local Time set to:",any,"Fullmoon:",false,"Date given by HiveExt.dll:",any] 16:25:14 Error in expression _date = ServerCurrentTime; _day = _date select > 16:25:14 Error position: _day = _date select > 16:25:14 Error Undefined variable in expression: servercurrenttime 16:25:14 File z\addons\dayz_server\system\scheduler\sched_sync.sqf, line 28 16:25:20 "RE rJIPrequestcode args:[B 1-1-A:1 (Reaper5150) REMOTE,any]" 16:26:14 Error in expression _result = _key call server_hiveReadWrite; _outcome = _result> 16:26:14 Error position: _outcome = _result> 16:26:14 Error Undefined variable in expression: server_hivereadwrite 16:26:14 File z\addons\dayz_server\system\scheduler\sched_event.sqf, line 38 16:27:14 Error in expression _result = _key call server_hiveReadWrite; _outcome = _result> 16:27:14 Error position: _outcome = _result> 16:27:14 Error Undefined variable in expression: server_hivereadwrite 16:27:14 File z\addons\dayz_server\system\scheduler\sched_event.sqf, line 38 16:27:14 "SERVER FPS: 47 PLAYERS: 1" 16:27:26 Client: Remote object 2:14 not found 16:27:26 Client: Remote object 2:15 not found 16:27:26 Client: Remote object 2:16 not found
  10. Like
    BigEgg reacted to bumnutz72 in Epoch Antihack / Admin Tools   
    Thanks BigEgg, sorry its taken a while to get back with this, it solved my error, thanks again
  11. Like
    BigEgg got a reaction from Brick in Epoch Antihack / Admin Tools   
    This is because the configuration has been cached. Please turn them all off, and then double click "Cache Toggle Configuration" - this will cache them turned off, meaning that when you log in they will not turn on. To make others turn on when logging in, turn them on and double click the "Cache Toggle Configuration" again.
  12. Like
    BigEgg got a reaction from WLF in [RELEASE] Plot Owner   
    Hello,
    Here is a simple script that prints the owner (or first friend in the list) of a base area when the player enters the plot radius. This could be useful for servers that enjoy base raiding, and overall allows players to map out base locations.
    https://github.com/BigEgg17/Plot-Owner
  13. Like
    BigEgg got a reaction from Schalldampfer in [RELEASE] Plot Owner   
    Hello,
    Here is a simple script that prints the owner (or first friend in the list) of a base area when the player enters the plot radius. This could be useful for servers that enjoy base raiding, and overall allows players to map out base locations.
    https://github.com/BigEgg17/Plot-Owner
  14. Thanks
    BigEgg got a reaction from oldmatechoc in Epoch Antihack / Admin Tools   
    Hello everyone,
     
    Here is the public release of my Antihack / Admin tools. Both myself and Movinggun put a lot of work into this, so I hope you all can benefit. The culmination of my time spent on this game went into this, and I hope you all enjoy it just as much as I did.
    Unfortunately due to time, I will not be able to actively add to this project, but I will always be around to approve pull requests. This project can easily live on through the community, and I hope you all the enjoy the complexity of everything involved with it.
     
    The repository that contains install instructions can be found here:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools
     
    I will add source code for the DLL as soon as it is received from Movinggun, along with the source for the executable file.
    I will also create an official release on the Github as soon as everything is successfully converted for compatibility with 1.0.7.
     
    Best wishes to the community, I look forward to applying all changes desired, and to answering any questions members may have.
     
    It's been a blast and I will never forget some of the memories and friends made on this game.
     
    - BigEgg
  15. Like
    BigEgg reacted to oldmatechoc in [Release] Epoch Recipes Previews   
    - Searches Epoch files for items that can be built by players.


    The coding could be better optimized but I had trouble getting the return recipe outputs in a way I could display nicely.
    please have a crack at fixing this! :D
     


    https://github.com/ch0c/epoch-recipes


     
  16. Like
    BigEgg reacted to kingpapawawa in Epoch Antihack / Admin Tools   
    Thanks for a great mod.
  17. Like
    BigEgg got a reaction from looter809 in Epoch Antihack / Admin Tools   
    Hello everyone,
     
    Here is the public release of my Antihack / Admin tools. Both myself and Movinggun put a lot of work into this, so I hope you all can benefit. The culmination of my time spent on this game went into this, and I hope you all enjoy it just as much as I did.
    Unfortunately due to time, I will not be able to actively add to this project, but I will always be around to approve pull requests. This project can easily live on through the community, and I hope you all the enjoy the complexity of everything involved with it.
     
    The repository that contains install instructions can be found here:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools
     
    I will add source code for the DLL as soon as it is received from Movinggun, along with the source for the executable file.
    I will also create an official release on the Github as soon as everything is successfully converted for compatibility with 1.0.7.
     
    Best wishes to the community, I look forward to applying all changes desired, and to answering any questions members may have.
     
    It's been a blast and I will never forget some of the memories and friends made on this game.
     
    - BigEgg
  18. Like
    BigEgg got a reaction from Cubitron in Epoch Antihack / Admin Tools   
    Hello everyone,
     
    Here is the public release of my Antihack / Admin tools. Both myself and Movinggun put a lot of work into this, so I hope you all can benefit. The culmination of my time spent on this game went into this, and I hope you all enjoy it just as much as I did.
    Unfortunately due to time, I will not be able to actively add to this project, but I will always be around to approve pull requests. This project can easily live on through the community, and I hope you all the enjoy the complexity of everything involved with it.
     
    The repository that contains install instructions can be found here:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools
     
    I will add source code for the DLL as soon as it is received from Movinggun, along with the source for the executable file.
    I will also create an official release on the Github as soon as everything is successfully converted for compatibility with 1.0.7.
     
    Best wishes to the community, I look forward to applying all changes desired, and to answering any questions members may have.
     
    It's been a blast and I will never forget some of the memories and friends made on this game.
     
    - BigEgg
  19. Thanks
    BigEgg got a reaction from Airwaves Man in Epoch Antihack / Admin Tools   
    Hello everyone,
     
    Here is the public release of my Antihack / Admin tools. Both myself and Movinggun put a lot of work into this, so I hope you all can benefit. The culmination of my time spent on this game went into this, and I hope you all enjoy it just as much as I did.
    Unfortunately due to time, I will not be able to actively add to this project, but I will always be around to approve pull requests. This project can easily live on through the community, and I hope you all the enjoy the complexity of everything involved with it.
     
    The repository that contains install instructions can be found here:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools
     
    I will add source code for the DLL as soon as it is received from Movinggun, along with the source for the executable file.
    I will also create an official release on the Github as soon as everything is successfully converted for compatibility with 1.0.7.
     
    Best wishes to the community, I look forward to applying all changes desired, and to answering any questions members may have.
     
    It's been a blast and I will never forget some of the memories and friends made on this game.
     
    - BigEgg
  20. Thanks
    BigEgg got a reaction from salival in Epoch Antihack / Admin Tools   
    Hello everyone,
     
    Here is the public release of my Antihack / Admin tools. Both myself and Movinggun put a lot of work into this, so I hope you all can benefit. The culmination of my time spent on this game went into this, and I hope you all enjoy it just as much as I did.
    Unfortunately due to time, I will not be able to actively add to this project, but I will always be around to approve pull requests. This project can easily live on through the community, and I hope you all the enjoy the complexity of everything involved with it.
     
    The repository that contains install instructions can be found here:
    https://github.com/BigEgg17/Epoch-Antihack-Admin-Tools
     
    I will add source code for the DLL as soon as it is received from Movinggun, along with the source for the executable file.
    I will also create an official release on the Github as soon as everything is successfully converted for compatibility with 1.0.7.
     
    Best wishes to the community, I look forward to applying all changes desired, and to answering any questions members may have.
     
    It's been a blast and I will never forget some of the memories and friends made on this game.
     
    - BigEgg
  21. Thanks
    BigEgg got a reaction from salival in HOW TO: Vehicles indestructible within plot area   
    Vehicles indestructible within plot is part of Epoch 1.0.7.1 now.
     
    Looked around and saw that some people were requesting this, it is actually quite simple:
     
    What it does:
    Makes vehicles indestructible within the plot area (default 30 meters) , but only if they are locked and no players are in them.
     
    Step 1:
    In your custom compiles.sqf add: (NOTE - CHANGE THE FILE PATH TO FIT YOUR NEEDS)
    fnc_veh_handleDam = compile preprocessFileLineNumbers "FILE\PATH\HERE\veh_handleDam.sqf"; below the if (!isDedicated) code block. Example:
    if (!isDedicated) then { /*************/ /* Code Here */ /*************/ }; fnc_veh_handleDam = compile preprocessFileLineNumbers "FILE\PATH\HERE\veh_handleDam.sqf";  
    Step 2:
    Copy veh_handleDam.sqf into your mission file from \z\addons\dayz_code\compile\veh_handleDam.sqf
     
    Step 3:
    In veh_handleDam.sqf find:
    _total = _this select 2; Below it add:
    if (locked _unit && {count (crew _unit) == 0} && {count (_unit nearEntities ["Plastic_Pole_EP1_DZ", DZE_PlotPole select 0]) > 0}) exitWith {0};  
    Done!
     
    NOTE:
    You can change the distance it applies to by changing the DZE_PlotPole variable:
    DZE_PlotPole = [30,90]; Or, you can set it independent of the variable by changing it to this:
    if (locked _unit && {count (crew _unit) == 0} && {count (_unit nearEntities ["Plastic_Pole_EP1_DZ", 40]) > 0}) exitWith {0}; and modifying the number (in this case it is 40) to whatever you would like. Keep in mind that the number represents the radius from the plot pole in meters.
  22. Like
    BigEgg got a reaction from Relentless in [RELEASE] BigEgg's Safe Zones **Updated 11/26**   
    Updated 11/26
  23. Like
    BigEgg got a reaction from Schalldampfer in [RELEASE] BigEgg's Safe Zones **Updated 11/26**   
    Updated 11/26
  24. Like
    BigEgg got a reaction from DieTanx in [Release] No zombies in base 1.0.6.2   
    The script is likely failing because you cannot take a distance from a classname.
    I have written up a quick script for this below, please try it out and let me know how it works :)
    private ["_noAI", "_noZeds"]; _noAI = true; // Remove AI within plot radius (true = enabled, false = disabled). _noZeds = true; // Remove zombies within plot radius (true = enabled, false = disabled). while {69 == 69} do { private "_plots"; _plots = player nearEntities ["Plastic_Pole_EP1_DZ", DZE_PlotPole select 0]; if (count _plots > 0) then { private "_plot"; _plot = _plots select 0; if (_noZeds) then { {deleteVehicle _x} count (_plot nearEntities ["zZombie_Base", DZE_PlotPole select 0]); }; if (_noAI) then { { if (!isPlayer _x && {_x distance _plot <= (DZE_PlotPole select 0)}) then {_x setDamage 1}; } count allUnits; }; }; uiSleep 5; }; Just name it whatever you would like, then call it from the !isDedicated section of the init.sqf, down at the bottom:
    if (!isDedicated) then { // CODE FROM INIT HERE execVM "FILENAMEHERE.sqf"; };  
  25. Like
    BigEgg got a reaction from Relentless in [Release] No zombies in base 1.0.6.2   
    The script is likely failing because you cannot take a distance from a classname.
    I have written up a quick script for this below, please try it out and let me know how it works :)
    private ["_noAI", "_noZeds"]; _noAI = true; // Remove AI within plot radius (true = enabled, false = disabled). _noZeds = true; // Remove zombies within plot radius (true = enabled, false = disabled). while {69 == 69} do { private "_plots"; _plots = player nearEntities ["Plastic_Pole_EP1_DZ", DZE_PlotPole select 0]; if (count _plots > 0) then { private "_plot"; _plot = _plots select 0; if (_noZeds) then { {deleteVehicle _x} count (_plot nearEntities ["zZombie_Base", DZE_PlotPole select 0]); }; if (_noAI) then { { if (!isPlayer _x && {_x distance _plot <= (DZE_PlotPole select 0)}) then {_x setDamage 1}; } count allUnits; }; }; uiSleep 5; }; Just name it whatever you would like, then call it from the !isDedicated section of the init.sqf, down at the bottom:
    if (!isDedicated) then { // CODE FROM INIT HERE execVM "FILENAMEHERE.sqf"; };  
×
×
  • Create New...