Added server side security for higher risk PVDZ_send usage. Replace switch do block with inline function. Since only one option is selected for each call, a function using exitWith is the better option here. The transfuse completed option was removed. It is not used anywhere. Added options for drag, carry, load, and unconscious. There is a commented diag_log in the security check than can be used if server owners want it. However, Battleye logs all PVDZ_send usage.
Ive moved the mozzie configs to helicopters. The new Mozzie versions have a small gear count of (1,3,1) so it is possible to open the gear in the heli now.
Server admins should switch to the RHIB_DZ or RHIB_DZE version. The normal RHIB boats are from arma and should not be overwritten from the epoch configs as it was the case before. This commit restores the acutal configs and alters them to the new versions.
This commit re-build the complete traders and almost all the files related with them. It is much easier for new server admins to handle a map change with traders and safe zones now.
- Fixing many wrong set markers.
- Fixing wrong trader agent positions.
- The trader configs got re-build.
- All trader categories have a localization now. I've noticed too late that we already have a CL for the categories so I've merged them into epoch.
- Fixing dupable objects in the spawned trader cities.
- Adding missing sensors for all traders.
- Removing many duplicated trader categories inside the trader files.
- Adding Safe Zone support for all traders excluded Wholersalers, Boat Traders and Dock Traders.
- Removing Mello trader on Panthera due to many trader cites.
- Namalsk and Lingor traders got completely re-build. Thx @devlok for building the trader cities.
- Sauerland has a Boat Trader now.
- Removing wrong markers from Ovaron.
- Ruegen and Ovaron have no traders so far. We will probaly add them later.
Server does not need the trader categories any longer. Also clean up the server_traders.sqf file. This file is redundant. If server admins want to change the trader categories, they just have to edit the path and add the file to the mission.
All files in the archive will no be updated. Ive added a copy of the current trader files too, so the old traders and trader cities can still be used with the current trader files.
Give me a hint if you think some of the files should be moved back.
Replaced vehicle sethit/setvariable method with sethit/gethit and removed setvariable "Hit_" commands for vehicles (hit_partname can now probably be added to the setvariable filters list).
Modified object_getHit.sqf return to now provide the selection name in order to reduce redundant config lookups. Returns '[Damage, Part Name]', instead of just 'Damage'
Modified vehicle_GetHitpoints.sqf to remove incorrect hipoints from returning. Previously this script would return all hitpoints from any vehicle the current vehicle config inherited from, even if the hitpoint didn't exist in the calling vehicle. this posed a problem since getHit on an invalid part name returns Nil
This reverts commits b5f3f30 and 3e0ddef.
Discussed with oiad on discord:
- BIS_fnc_areEqual is much slower than short string comparisons
- String in array form is three times longer, which means more data sent over the network
This way keeps authKey as a string and still avoids pvval kicks.
RNG can be a cruel mistress.
Fixes: Value Restriction #121 "PVDZE_veh_Publish2" =
[[99,[4763.93,7521.36,-0.000228882]],"CSJ_GyroCover",false,"ItemKeyBlack958",<NULL-object>,"iN4r7X7Psetsq"]
Thanks @AirwavesMan
- Updated exceptions, added new filters and removed some which were not
useful
- Removed exceptions for testkit because it is not part of the mod
- Added notes to clarify for now, will move this info to BI wiki later
- Removed two unused files