mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
add md5 hash function 840
bump hive version to 0.6.0.0
This commit is contained in:
parent
19e01ba3cd
commit
d95654d8bd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
build=775;
|
build=776;
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user