Closed b-mayr-1984 closed 2 months ago
With changes in a0c85e5a600ace1ecadbbd0ca123400c029e5511 the function is restored.
One just has to live with this warning message.
17:25:36 Error in expression <_maxLines = 2000 };
private _pad = {
params [["_str", "wrong_type", ["string">
17:25:36 Error position: <params [["_str", "wrong_type", ["string">
17:25:36 Error Params: Type Array, expected String
17:25:36 File x\grad\addons\versionCheck\functions\fn_createDiaryEntry.sqf, line 9
But this is still better than the feature simply not working at all if AdvDevTools is loaded.
In
CfgPatches
AdvDevTools 3.0 definesversion[]
as anArray
.This fact causes a problem in this LOC https://github.com/gruppe-adler/gruppe_adler_mod/blob/c0c5d2cd9aa990ccc95ffdd1fdc04d93c693e9ea/addons/versionCheck/functions/fn_createDiaryEntry.sqf#L20 due to an inappropriate type:
It appears that AdvDevTools is not following convention here.
However
fn_createDiaryEntry.sqf
should still keep functioning even if some mods don't follow conventions.