add md5 hash function 840

bump hive version to 0.6.0.0
This commit is contained in:
vbawol 2017-06-01 07:28:58 -05:00
parent 19e01ba3cd
commit d95654d8bd
9 changed files with 25 additions and 3 deletions

View File

@ -1 +1 @@
build=775; build=776;

View File

@ -131,5 +131,5 @@ class CfgServerVersion
{ {
client = "0.5.0.0"; client = "0.5.0.0";
config = "0.5.0.0"; config = "0.5.0.0";
hive = "0.5.1.8"; hive = "0.6.0.0";
}; };

View File

@ -0,0 +1,22 @@
/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description: md5 hash function
Returns md5 hash if only one string is give as imput.
Returns array of md5 hashes if input was an array.
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server_core/compile/epoch_hive/fn_server_hiveMD5.sqf
*/
params ["_val"];
if (_this isEqualType []) then {
_val = _this joinString "|";
parseSimpleArray ("epochserver" callExtension ([840,_val] joinString "|"));
} else {
(parseSimpleArray ("epochserver" callExtension ([840,_val] joinString "|"))) select 0;
}

View File

@ -1 +1 @@
775 776