Jump to content

Recommended Posts

Title:                 SPK_ESVP
Author:            Sp4rkY (Github)
Description:   Extended Safezones with Vehicle Protection for Arma 3 Epoch
Version:           0.9
Required:        Arma 3 1.66+ / Epoch 0.4+
Credits:            IT07 (Thx for many brain) (Github)
                          |V.I.P.| CH!LL3R (Thx for thoughts & testing!)


DOWNLOAD & INSTALL INSTRUCTIONS:
>>> >> > CLICK ME < << <<<

Edit by EpochMod - 2019-11-08:
There came some issues up with the Arma 1.96 update.
Unfortunately @Sp4rkY currently seems to be not active here, so we have added a pull request for his GitHub files.
So if you want to use this addon, check / add this changes:
https://github.com/SPKcoding/A3_Epoch_ESVP/pull/2/files


FEATURES:
* Fully customizable
* Works with all maps
* Works for players and vehicles
* No more `"ProtectionZone_Invisible_F"` is needed (usually found in map config in a3_epoch_server_settings.pbo)
* Fired bullets will automatically be deleted in safezones
* (optional) Teleport players out of safezones after restart
* (optional) Teleport players away from the parking place (if used) after restart
* Protection from idiots trying to drive over other players (including traders)
* Check vehicle ownership of bought vehicles
* (optional) Teleport vehicles out of safezones at server restart to:
    - (optional) a given distance from the respective safezone
    - (optional) a static parking place (you can use your own map addition and define as many parking lots you want)
* (optional) Restricted vehicle´s access in safezones (only the owner(s) can enter the vehicle)
* (optional) Restricted vehicle´s gear-access in safezones (only the owner(s) can access the vehicle´s inventory)
* (optional) Protection for lifted vehicle´s
    - If using this feature, there will be also a check for the owner, so stealing is not possible
* (optional) Unlock teleported vehicles
* 2 ways of info messages (depends on if vehicle protection is used or not)
* (optional) Vehicle Access Menu:
    - "Refresh" button to update the player-list while menu is open
    - "Registered" listing to see which players are added to your vehicle
    - "Clear" button to remove the added players
* (optional) restrict access to driver seat for primary vehicle owner
* slingload check for bought vehicles (you can not steal cars or ships)
* (optional) info messages for prohibited lifting
* (optional) Prevent spawning of antagonists (UAV, Sappers, Snakes, Cultists) in safezones
* (optional) Allow/disallow to chop/sledge/chainsaw anything in safezones
* (optional) Feature to set map markers directly from this script (no need to define them anywhere else)
* If using the "vehicle teleporting WITHOUT Parking Place" - function:
    - the vehicles get teleported to a random position within the given radius out of the safezones
* If using the "vehicle teleporting WITH Parking Place" - function, it will works like this:
    - server restarts, vehicles in safezones will be teleported to a parking place
    - vehicles which are present at the parking place are getting teleported to a random location on the map, new vehicles (in safezones) are ported to the parking place
* If the respective safezone contains water, ships are treated like this:
    - if ships are located at water surface, they gets teleported close to the safezone´s shore at given radius
    - if ships are located at terrain surface because of lifting or simliar, they gets ported random at the maps shore
* If not using "vehicle teleporting" - function, remaining vehicles in safezones are indestructible after restart
* Debug option for better determine errors (client & server)

 

Enjoy this stuff and have fun!

cheers

Share this post


Link to post
Share on other sites

Did you followed the instructions exactly? (README.md)

Such an error may occurs if you haven´t packed the serverfiles back into a pbo.

Another thing what you could try would be to use the startup-parameter "-filePatching".

Hope this helps.

 

cheers

Share this post


Link to post
Share on other sites

Thanks again Sp4rkY. Since I'm slowly starting to get some time back...I'll load up onto my test server later today.

Just one quick question, are you intending to add some code to unlock vehicles that are TP'd? If not, would you consider it? 

Share this post


Link to post
Share on other sites

Hi Sp4rkY, may have found a slight issue....

If you go in to a safezone and then come out, you can't harvest wood. Also the animation on the axe is screwed up and doesn't move. Move out of the safezone, relog and everything is good again.....until you next go in to a safezone.

I would guess this is the same for everyone else as I haven't changed anything else other than this but, would appreciate if others using this script could help out and quickly test to make sure.

Share this post


Link to post
Share on other sites

Just to add.....if you spawn in the safezone, you can still chop trees and then continue to chop them as you move out. The problem seems to trigger when you step into the safezone for the first time. Once you have done that, you'll need to relog before you can harvest anywhere on the map.

Share this post


Link to post
Share on other sites

Not sure if any of these help?

Spoiler

20:35:35 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38541.886719,160.420731,30838.447266]; ammoHit(0.300000); distance(150.000000)
20:35:36 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38581.503906,174.466324,30806.906250]; ammoHit(0.300000); distance(150.000000)
20:35:36 In last 500 miliseconds was lost another 5 these messages.
20:35:37 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38545.488281,155.916367,30837.501953]; ammoHit(0.300000); distance(150.000000)
20:35:37 In last 500 miliseconds was lost another 5 these messages.
20:35:37 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38626.968750,145.088318,30728.669922]; ammoHit(0.300000); distance(150.000000)
20:35:37 In last 500 miliseconds was lost another 3 these messages.
20:35:38 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38605.421875,168.737396,30778.275391]; ammoHit(0.300000); distance(150.000000)
20:35:38 In last 500 miliseconds was lost another 5 these messages.
20:35:39 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38618.773438,142.616180,30759.169922]; ammoHit(0.300000); distance(150.000000)
20:35:39 In last 500 miliseconds was lost another 3 these messages.
20:35:40 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38546.191406,142.912872,30838.583984]; ammoHit(0.300000); distance(150.000000)
20:35:40 In last 500 miliseconds was lost another 5 these messages.
20:35:40 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38573.210938,163.957947,30817.816406]; ammoHit(0.300000); distance(150.000000)
20:35:40 In last 500 miliseconds was lost another 3 these messages.
20:35:41 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38578.179688,176.028778,30809.521484]; ammoHit(0.300000); distance(150.000000)
20:35:41 In last 500 miliseconds was lost another 3 these messages.
20:35:42 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38604.425781,148.587830,30786.109375]; ammoHit(0.300000); distance(150.000000)
20:35:42 In last 500 miliseconds was lost another 5 these messages.
20:35:42 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38589.714844,147.336639,30805.308594]; ammoHit(0.300000); distance(150.000000)
20:35:42 In last 500 miliseconds was lost another 3 these messages.
20:35:43 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38598.960938,144.434723,30794.486328]; ammoHit(0.300000); distance(150.000000)
20:35:43 In last 500 miliseconds was lost another 3 these messages.
20:35:44 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38614.843750,166.760773,30760.220703]; ammoHit(0.300000); distance(150.000000)
20:35:44 In last 500 miliseconds was lost another 3 these messages.
20:35:44 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38553.539063,179.658447,30826.916016]; ammoHit(0.300000); distance(150.000000)
20:35:44 In last 500 miliseconds was lost another 3 these messages.
20:35:45 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38615.179688,176.712112,30752.199219]; ammoHit(0.300000); distance(150.000000)
20:35:45 In last 500 miliseconds was lost another 3 these messages.
20:35:46 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38523.058594,157.854218,30846.175781]; ammoHit(0.300000); distance(150.000000)
20:35:46 In last 500 miliseconds was lost another 3 these messages.
20:35:46 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38620.339844,162.849167,30747.130859]; ammoHit(0.300000); distance(150.000000)
20:35:46 In last 500 miliseconds was lost another 5 these messages.
20:35:47 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38529.839844,171.881119,30840.826172]; ammoHit(0.300000); distance(150.000000)
20:35:47 In last 500 miliseconds was lost another 3 these messages.
20:35:48 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38545.652344,148.743011,30838.369141]; ammoHit(0.300000); distance(150.000000)
20:35:48 In last 500 miliseconds was lost another 3 these messages.
20:35:48 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38559.277344,159.680099,30828.990234]; ammoHit(0.300000); distance(150.000000)
20:35:48 In last 500 miliseconds was lost another 5 these messages.
20:35:49 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38610.863281,165.378510,30769.742188]; ammoHit(0.300000); distance(150.000000)
20:35:49 In last 500 miliseconds was lost another 3 these messages.
20:35:49 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38555.031250,145.460281,30833.605469]; ammoHit(0.300000); distance(150.000000)
20:35:49 In last 500 miliseconds was lost another 3 these messages.
20:35:50 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.281250,134.702805,30704.585938]; tEnd[38605.058594,161.805069,30781.693359]; ammoHit(0.300000); distance(150.000000)
20:35:50 In last 500 miliseconds was lost another 3 these messages.
20:35:51 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.292969,134.409897,30704.597656]; tEnd[38562.191406,175.879822,30822.531250]; ammoHit(0.300000); distance(150.000000)
20:35:51 In last 500 miliseconds was lost another 5 these messages.
20:35:51 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.292969,134.409897,30704.597656]; tEnd[38561.152344,147.880188,30829.568359]; ammoHit(0.300000); distance(150.000000)
20:35:51 In last 500 miliseconds was lost another 3 these messages.
20:35:52 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.292969,134.409897,30704.597656]; tEnd[38600.929688,138.252777,30792.291016]; ammoHit(0.300000); distance(150.000000)
20:35:52 In last 500 miliseconds was lost another 3 these messages.
20:35:53 WARNING: SuppressCache::Trace called with huge input. Function exited to prevent program stall inside. tBeg[38479.304688,134.155838,30704.607422]; tEnd[38579.144531,163.388092,30812.669922]; ammoHit(0.300000); distance(150.000000)
20:35:53 In last 500 miliseconds was lost another 3 these messages.
 

Spoiler

22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
22:12:26 (6591 [update._supplyEnt]): Network sync error - NMTReplaceContainer
22:12:26 (6592 [update._fromSupply]): Network sync error - NMTReplaceContainer
 

These are from the client rpt.

Share this post


Link to post
Share on other sites

These entrys shouldn´t related to ESVP.

But for going sure u simply could take ESVP out and check again if these messages will shown.

 

What are u running at your testserver, stable branch 1.60 & stable Epoch 0.38 or any Dev/Experimental build?

And which additional scripts are installed, perhaps this could be a useful information.

I will try to reproduce your described bug now.

 

EDIT:

Yes, the bug is true.

I hope i can figure out a fast solution. I will keep you informed.

 

EDIT2:

Figured out the reason, working on a fix now...

 

cheers

Share this post


Link to post
Share on other sites

updated to v0.443
    * [fixed] issue with chopping trees after leaving a safezone (thx to ReDBaroN for noticing this bug)
    * [added] (optional) prohibit players to chop trees while in safezones (EPOCH_fnc_playerFired.sqf / check instructions in README.md)
    * [added] (optional) using chainsaws or sledgehammers in safezones will have no result (EPOCH_fnc_playerFired.sqf / check instructions in README.md)
    * [updated] BattlEye Filters

 

cheers :ph34r:

Share this post


Link to post
Share on other sites

Nice one mate. Have tested and this has fixed it.

Didn't go for the optionals as I still need to think where to move the invisible heli pad on the west trader as sometimes players need to chop trees to get a heli out of there without it blowing up.

Didn't notice any changes using diffmerge on the BE filters though.....? But, haven't been kicked... :)

Share this post


Link to post
Share on other sites

Fixed the github.

There went anything wrong while syncing it this night. Now the actual scripts.txt is online.

On the other hand, check the README.md, you can find the new instructions for the filters there also. ;)

 

cheers

Share this post


Link to post
Share on other sites

Sorry if I missed it in there as I thought I also compared the changes in the readme. No matter, only setvariable would/could have caught me out as I don't even run scripts.txt. Too laggy for me....

Seems to be working well now though and no reports of any problems from players over last 12 hours odd. 

Thanks again, great script addition to the mod and will save a lot of Admin time. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By LadyVal
      As I said before, I am new in all these.  We rented a GTX server with everything on and we are trying to set some costumization but.... yes, there is always a but... I would like to ask some help.
      Please, consider me as a total new in scripting and I need a "step by step for dummies"
      1.- I am trying to set the entire server into PVE so no player could harm other player or kamikaze into anybody.  How and where do you handle this "godmode" so I turn the server into PVE?
      2.- Though like I said we want the server to be PVE, the idea is to make 2 exceptions and create 2 pvp areas (in Cherno and Elektro).  How you Mark those areas in map with notifications 100 mts (for example) "you are entering a pvp area"
      3.- Admintools: I set them exactly like the step by step guide but it is giving an error (I dont have antihack), 
      4.- Since the problem with Bohemia and BE, I could never make the messages announcing the server restart again, any idea would be welcome.
      And... that's it for now.   I know it is a lot and very "dummy questions" but, what can I say, I am kinda dummy in this topic
      Thanks for any help
    • By nova
      This is a new version of a safezone script and an a.i/a.i vehicle remover. To be used in conjunction with the 1061 safezone script. So say your safe zone is being bombarded with roaming a.i and you are tired of going to safe zones to delete them this will do it automatically when you go within 350 meters of an roaming a.i while in a safezone. The distance is customizable. The new safezone script allows you to receive god mode for 20 secs after you leave the safe zone IF you have stayed in the safezone long enough. This will avoid players from touching the safe zone and taking off for a way to avoid combat from other players. All credits go to @juandayz for this. Uploaded with his permission. 
       
      1- into mpmission\your instance\scripts\  create a new folder called "safezone"
      2-into this folder create this sqf:
      safezone_ai_remover.sqf
       
      3-open your init.sqf
       
      4-Now if ure using DZAI:
       
      5-If ure using DZMS then do the same:
       
      6-If you are using some kind of other script that spawns enemy ai vehicles then add the same variable.. for example:
       
    • By Rezusty
      Hi !!
      I've made a custom safezone on my server, and I want to disable loot spawning in this area, how can I do that ?
      Thanks
    • By BoleParty
      I removed the standard Epoch spawns and static traders within the spawns and and replaced everything with new spawns and traders.
      By default the spawns have a safe zone included but in case you want to have a bigger diameter of it, i attached Friendlys "Extended Safe Zone Script" and an edited version of the mission.sqm.
      In each spawn i placed either one or two boxes which can be used as a temporary storage. If you purchase items and you dont have enough space in your inventory you can put them into the storage.
      All items will be gone after a restart tho.
      Additional in each spawn i placed an atm and phone boxes so that players are able to access their bank accounts.
       
      Download here:
      https://github.com/BoleParty/NewSpawnZones
       
       
      Locations:
      Central: Between Katalaki and Neochori
      West: Stadium
      East: SW Paros
       
      Overview:
       

       
      Central Spawn:
       




       
      West Spawn:
       





       
      East Spawn:
       




       
      Regards
      BoleParty
    • By ReDBaroN
      Hi, would anyone know how to add a check to this file to prevent sappers and UAV's being spawned in the safezones? The file below is EPOCH_server_triggerEvent.sqf which, I'm guessing is the best place to add a check for the player being in a safezone...
      params ["_target", "_type"]; if (!isNull _target) then { switch (_type) do { case "UAV": { "I_UAV_01_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; case "Cloak": { if (sunOrMoon < 1) then { "Epoch_Cloak_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; } else { "Epoch_Sapper_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; }; case "Sapper": { "Epoch_Sapper_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; case "GreatWhite": { "GreatWhite_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; case "SapperB": { "Epoch_SapperB_F" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; case "PHANTOM": { "PHANTOM" remoteExec ['EPOCH_unitSpawnIncrease',_target]; }; }; }; Any help on this would be greatly appreciated.
      Thanks 
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...