mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix publicVariableEval kicks from RNG fail
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
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
[FIXED] Combo locks could be duplicated by two players removing them at the same time (564e3da)
|
||||
[FIXED] Bush b_corylus.p3d allowed chopping down for wood like a tree (42e519a)
|
||||
[FIXED] Player could shoot during unconscious wake up animation (634a01a)
|
||||
[FIXED] publicVariableEval kicks from the evil RNG god @oiad @AirwavesMan
|
||||
|
||||
[UPDATED] Spawning of Zombies and Loot in Safe Zones can now be toggled, disabled by default, see configVariables.sqf/DZE_SafeZoneZombieLoot (6248add, 141b25e) @oiad @_Lance_
|
||||
[UPDATED] Added notification when status icons are disabled
|
||||
|
||||
@@ -221,7 +221,6 @@ _randomInput = toArray "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234
|
||||
for "_i" from 0 to 12 do {
|
||||
_randomKey set [count _randomKey, (_randomInput call BIS_fnc_selectRandom)];
|
||||
};
|
||||
_randomKey = toString _randomKey;
|
||||
_findIndex = dayz_serverPUIDArray find _playerID;
|
||||
if (_findIndex > -1) then {
|
||||
dayz_serverClientKeys set [_findIndex, [_clientID,_randomKey]];
|
||||
|
||||
@@ -26,7 +26,7 @@ _exitReason = switch true do {
|
||||
case (_index < 0): {
|
||||
format["%1 error: PUID NOT FOUND ON SERVER. PV ARRAY: %2",_function,_params]
|
||||
};
|
||||
case (((dayz_serverClientKeys select _index) select 0 != owner _player) or ((dayz_serverClientKeys select _index) select 1 != _clientKey)): {
|
||||
case (((dayz_serverClientKeys select _index) select 0 != owner _player) or !([((dayz_serverClientKeys select _index) select 1),_clientKey] call BIS_fnc_areEqual)): {
|
||||
format["%1 error: CLIENT AUTH KEY INCORRECT OR UNRECOGNIZED. PV ARRAY: %2",_function,_params]
|
||||
};
|
||||
default {""};
|
||||
|
||||
Reference in New Issue
Block a user