Search the Community
Showing results for tags 'godmode'.
Found 7 results
-
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
-
Vehicle Godmode in Plotpoles & Safezones & Everywhere Locked 2.0 Fixed This scripts adds a configurable file where u can set the following options: Vechicles godmode in safezones Vechiles godmode in plotpole areas Locked or all vehicles godmoded Only donaters godmode vehicles in plotpole areas. As soon someone is in them, DESTROY THEM Added later: Locked Vechicles all over the map. Added later: Option to allow damage on vehicles with gear in them even when locked at plotpoles In your compiles.sqf ABOVE: initialized = true; place fnc_usec_damageVehicle = compile preprocessFileLineNumbers "zupa\fn_damageHandlerVehicle.sqf"; //Event handler run on damage vehicle_handleDamage = compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf"; and make a file in "zupa" folder called "vehicle_handleDamage.sqf" with inside: FIXED CODE private["_selection","_state","_strH","_total","_unit"]; //***Zupa Config ****// _godmodeVechilesEverywhere = false; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = true; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) // donator plotpole only works with PLOT FOR LIFE, set FALSE if you dont have it. _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["76561198101253426","505"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// _unit = _this select 0; _selection = _this select 1; _total = _this select 2; _state = true; _HPBefore = -1; if (_selection != "") then { _strH = "hit_" + _selection; _HPBefore = [_unit,_strH] call object_getHit; } else { _strH = "totalDmg"; _HPBefore = getDammage _unit; }; if(_total > _HPBefore)then{ if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ //_weaps = count(getWeaponCargo _unit); //_mags = count(getMagazineCargo _unit); //_backs = count(getBackpackCargo _unit); //_gearCount = _gearCount + _weaps + _mags + _backs; }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; }; //fix if(_state)then{ if (_total >= 0.98) then { _total = 1.0; }; if (local _unit) then { if (_total > 0) then { _unit setVariable [_strH, _total, true]; _unit setHit [_selection, _total]; if (isServer) then { [_unit, "damage"] call server_updateObject; } else { PVDZE_veh_Update = [_unit,"damage"]; publicVariableServer "PVDZE_veh_Update"; }; }; } else { // vehicle is not local to this client, ask the client which vehicle is local to set damage /* PVS/PVC - Skaronator */ PVDZE_send = [_unit,"VehHandleDam",_this]; publicVariableServer "PVDZE_send"; }; }else{ _total = _HPBefore; }; // all "HandleDamage event" functions should return the effective damage that the engine will record for that part _total AND in "zupa" folder: fn_damageHandlerVehicle.sqf scriptName "Functions\misc\fn_damageHandler.sqf"; /*********************************************************** PROCESS DAMAGE TO A UNIT - Function - [unit, selectionName, damage, source, projectile] call fnc_usec_damageHandler; ************************************************************/ private ["_unit","_hit","_damage","_total"]; _unit = _this select 0; _hit = _this select 1; _damage = _this select 2; //_source = _this select 3; //_ammo = _this select 4; _total = _damage; _state = true; //***Zupa Config ****// _godmodeVechilesEverywhere = false; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = true; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) // donator plotpole only works with PLOT FOR LIFE, set FALSE if you dont have it. _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["76561198101253426","505"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// systemChat "checks"; if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ //_weaps = count(getWeaponCargo _unit); //_mags = count(getMagazineCargo _unit); //_backs = count(getBackpackCargo _unit); //_gearCount = _gearCount + _weaps + _mags + _backs; }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; //diag_log ("DAMAGE VEH: " + typeof(_unit) + " / " + str(_hit) + " / " + str(_damage) + " / " + str(getDammage _unit)); if (local _unit && _state) then { _total = [_unit,_hit,_damage] call object_setHitServer; }; _total
-
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
-
- pve
- admintools
-
(and 2 more)
Tagged with:
-
Hey, so I added some safezones to the traders on my server, and people who got in them, got autobanned by epoch antihack, is there any way to disable that, or should I just disable the whole built-in antihack? Kind Regards, Matijs
-
I had to switch from AGN to infiSTAR's Safe Zone script but as soon as any players (only non-admins) join the server they get banned for Var: gmdadmin I'm hoping this is a really quick fix as I have no working Safe Zone at the moment... the script worked for me (admin) but all players get banned immediately.
-
After updateing to the latest steam build, vehicle explode random
StiflersM0M posted a question in Scripting
Hey, After i updated to the latest steam version some of my players get issues that vehicle keeps randomlly exploding, after some time driving they get ejected and the vehicle explode but they dont get any damage, what i see in the logs it hapens every time when the server do a cleanup, see here, vehicle exploded at "13:03" (03:03 P.M), 13:02:18 "Player is Null FAILED: Exiting, player sync: <NULL-object>" 13:02:42 "infiSTAR.de PlayerConnected: _uid: 76561198146178268 _name: keezarts" 13:02:44 Server: Object 20:568 not found (message 94) 13:03:08 "CLEANUP: Deleted 127 Loot Piles out of 536" 13:03:09 "get: STRING (76561198038755076), sent: STRING (76561198038755076)" 13:03:09 "DISCONNECT: EnZZo (76561198038755076) Object: B 1-2-H:1 (EnZZo) REMOTE, _characterID: 153 at loc [4850.96,2916.29,0.00152969]" 13:03:09 Client: Remote object 28:410 not found 13:03:09 Client: Object 13:241 (type Type_149) not found. 13:03:09 Client: Object 4:478 (type Type_149) not found. 13:03:09 Client: Object 11:119 (type Type_149) not found. 13:03:09 Client: Object 23:96 (type Type_149) not found. 13:03:09 Client: Object 19:220 (type Type_149) not found. 13:03:09 Client: Object 9:71 (type Type_149) not found. 13:03:09 Client: Object 20:573 (type Type_149) not found. 13:03:11 "infiSTAR.de PlayerConnected: _uid: 76561198046305176 _name: David007" 13:03:11 "infiSTAR.de - Player-Log: David007(76561198046305176) - 1h 02min" 13:03:20 "infiSTAR.de Log: David007 (76561198046305176) | New Player: ["161",[],[],[0,0,0],true,"1.0.5.1","Survivor2_DZ",true,true,0]" 13:03:39 "DELETE: e19ac100# 1056164: v3s_transport.p3d REMOTE Deleted by ID: 122" 13:03:39 Client: Object 23:98 (type Type_69) not found. 13:03:39 Client: Object 23:98 (type Type_70) not found. 13:03:39 "Vehicle killed: Vehicle e19ac100# 1056164: v3s_transport.p3d REMOTE (TYPE: V3S_TK_EP1_DZE), CharacterID: 0, ObjectID: 122, ObjectUID: 0, Position: [11452.1,11343.5,-0.0125427]" 13:03:53 "CLEANUP: Deleted 27 Loot Piles out of 420" 13:04:02 "0 Active ground units" 13:04:02 "0 Active emplacement units" 13:04:02 "0 Active chopper patrol units (Crew)" 13:04:02 "0 Active vehicle patrol units (Crew)" 13:04:07 "EPOCH SERVERTRADE: Player: [F4] bathing ape (76561198082824296) sold a ItemSodaMdew in/at Unknown Trader City for 3x ItemGoldBar" 13:04:42 NetServer::SendMsg: cannot find channel #240256419, users.card=15 13:04:42 NetServer: users.get failed when sending to 240256419 13:04:42 Message not sent - error 0, message ID = ffffffff, to 240256419 (Bryan Pegre) 13:04:51 "CLEANUP: Deleted 26 Loot Piles out of 393" and i dont on what i can do... did no changes to my mpmission, the only what i chagend was installing plotpole for life. -
Hello to all! I am new to this forum and was looking for a script to add the Godmode in Safe Zone map. I looked at the forum and saw some examples but nothing to run this latest version of the mod. Does anyone have any idea how to make it work correctly in version 1.0.2.4? I have a server hosted in "SurvivalServers". Thanks for any help!