Hy ALiVE Team.
I have some questions about Pause Module with Headless Client Configuration
I do the thing in the following post. But it seems not working.
http://alivemod.com/forum/4862-auto-pause-feature-clafghan
initServer.sqf
["someId", "onPlayerConnected", { if (({isPlayer _x} count playableUnits) > 0 || OPCOM_TOGGLE) then { ["ALIVE_SYS_PROFILE","ALIVE_MIL_OPCOM","ALIVE_AMB_CIV_POPULATION"] call ALiVE_fnc_unPauseModule; OPCOM_TOGGLE = false; }; }] call BIS_fnc_addStackedEventHandler; ["someId", "onPlayerDisconnected", { if ( ({isPlayer _x} count playableUnits) == 0 ) then { ["ALIVE_SYS_PROFILE","ALIVE_MIL_OPCOM","ALIVE_AMB_CIV_POPULATION"] call ALiVE_fnc_pauseModule; OPCOM_TOGGLE = true; }; }] call BIS_fnc_addStackedEventHandler;
The problem is that the server is not stopping increase Memory or CPU usage. In editor a game logic headless is placed and named. In the ALiVE Module "auto pause" option is set. Can someone tell me what i´m doing wrong in the setup or configuration?
Thanks in advanced
Baker