Closed Maciccio closed 2 years ago
Found! It was simply missing the exclamation point in the second line: ( isServer ) must be corrected: (!isServer )
private [ "_sourcestr", "_position", "_myfpsmarker", "_myfps", "_localunits", "_localvehicles" ];
if ( isServer ) then { _sourcestr = "Server"; _position = 0; } else { if (!isNil "HC1") then { if (!isNull HC1) then { if (local HC1) then { _sourcestr = "HC1"; _position = 1; }; }; };
But now I see the FPS of the server and not those of the HC. The opposite of before :(
Oops! There were two lines disabled with //
A: [] execVM "scripts\server\offloading\show_fps.sqf"; in the file: hc_manager.sqf The other: [] execVM "scripts\server\offloading\show_fps.sqf"; in the file: init_server.sqf
The file: show_fps.sqf should not be modified.
Sorry. I have been trying to solve this problem all night and have only now succeeded.
I opened: hc_manager.sqf and the line: execVM "scripts\server\offloading\show_fps.sqf";
That line is preceded by: // therefore not working. I deleted the two // and now the FPS are displayed, but only those of the HC, the server FPS are not seen.
So I replaced the file: show_fps.sqf with the same file taken from Kp_Liberation and nothing to do, I keep seeing the FPS of the HC and not of the server