The previous fix 4fa36dfd94 was not working correctly, if you had say the a stinger launcher and a stinger ammo it would detect them both as weapons, this properly classifies them and all others as how they should be.
Moved to use epoch_tempKeys also
This forces the player to only be able to sell a vehicle from the gear menu instead of backpack and vehicle menu since most of the time you would be using add all.
From: https://epochmod.com/forum/topic/44413-prevent-selling-vehicles-from-backpack/?tab=comments#comment-297328
Thanks to Dihan for reporting on Discord.
This exploit may work with other event handlers, displays and controls.
Please leave a comment if you find any others that work. I tested GPS,
abort, MP setup and group menu displays, as well as the map diary list
box controls, but none of those had this problem.
This should be fixed with an A2OA patch, please report to Bohemia.
limits distance to object, as well as validating random auth key. added server_deleteObjDirect which is only for direct execution on the server, whereas server_deleteObj should be used for PVEH execution only
Should work to prevent the issue described in #1938 by disabling the abort option, causing the player to alt + F4 if they want to log out without reconnecting. which results in the gear pile/weaponholder from not being created.
* Fix Corepatch AS50 magazine spawn
The Corepatch broke some of the AS50 magazine spawns. Im not sure why it happend sometimes and sometimes not.
This message showed up sometimes: No entry 'bin\config.bin/CfgMagazines-5Rnd_127x99_as50_CP'.
The CorePatch use that:
e0d06f7086/CorePatch_CIT_14888/config.cpp
This commit should fix that error message and the AS50 name as well.
* Define 5Rnd_127x99_as50_CP class
* Update AS50 fix
* Revert AS50 ammo fix
this mitigates a newly introduced/reduced limitation on config size/entries when rapying content with Mikero's PBO tools. This issue will unfortunately not be fixed, hence moving keys to Epoch_B