srcinmo
Member
WAIT.... Are you trying to modify dayz_code???????
one of the steps was.... i probably just completely fucked it up though
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
WAIT.... Are you trying to modify dayz_code???????
Where? Which file?
// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it
if (!isNil "dayZ_serverName") then {
[] spawn {
waitUntil {(!isNull Player) and (alive Player) and (player == player)};
waituntil {!(isNull (findDisplay 46))};
5 cutRsc ["wm_disp","PLAIN"];
((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
};
};
Tested every way possible, option #1, option #2, various fixes.
Just doesn't work on 1.7.7.1.
And I was pretty happy when it finally worked again on 1.7.7, then the hotfix came![]()
16:15:36 Error in expression < addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
};
};
_countr = _count>
16:15:36 Error position: <select _countr)];
};
};
_countr = _count>
16:15:36 Error Zero divisor
16:15:36 File z\addons\dayz_server\system\server_monitor.sqf, line 130
//Add Magazines
_objWpnTypes = (_intentory select 1) select 0;
_objWpnQty = (_intentory select 1) select 1;
_countr = 0;
{
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;
if (!_block) then {
(this line here ->) _object addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
};
};
_countr = _countr + 1;
} forEach _objWpnTypes;