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

Link to comment
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

Link to comment
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? 

Link to comment
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.

Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
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:

Link to comment
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... :)

Link to comment
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. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...