ArmA 3 Cvar Help

User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: ArmA 3 Cvar Help

Post by J-English »

So far so good calib.Server messages are awesome,fatigue seems to be working after creating the new sqf file and adding the code etc.

Will give it a few hours too see if the fatigue holds up.

you are a genius thankyou!

client_ManagePlayerFatigue.sqf

Code: Select all

private ["_PlayerRespawnUnitObject","_PlayerCorpseObject"];
_PlayerRespawnUnitObject = _this select 0;
_PlayerCorpseObject = _this select 1;

_PlayerRespawnUnitObject enableFatigue false;
init.sqf

Code: Select all

//fatigue
if (!(isServer)) then
   {
   player enableFatigue false;
   
   ClientPreComp_ManagePlayerFatigue = compileFinal preprocessFileLineNumbers "client_ManagePlayerFatigue.sqf";
   player addEventHandler ["Respawn", {_this spawn ClientPreComp_ManagePlayerFatigue;}];
   };

if (!(isServer)) then 
{
ClientPreComp_AnnounceMessages = compileFinal preprocessFileLineNumbers "client_AnnounceMessages.sqf";

[] call ClientPreComp_AnnounceMessages;
};
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: ArmA 3 Cvar Help

Post by J-English »

I re-downloaded the a3 wasteland stratis pbo,started from scratch using your functions and code,
The fatigue is working perfectly to what i can see.i have also noticed the fatigue icon has disapeared giving players permanent sprint,Good stuff.

Also upon extracting the PBO there is an additional file inintPlayerServer.sqf

Code: Select all

_this spawn
{
	waitUntil {!isNil "A3W_serverSetupComplete"};
	(_this select 0) call handleCorpseOnLeave;
	_this call updateConnectingClients;
};
Other than that everything seems to be working fine using your code and functions.

Thankyou calib
Caliban55
This is my homepage
This is my homepage
Posts: 439
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: ArmA 3 Cvar Help

Post by Caliban55 »

Glad that it is working.

Without looking into the function that the inintPlayerServer.sqf file uses, I can't really tell what it is supposed to do, but I would assume that it is some kind of player object corpse clean up and something handling player connections, propably excuted server sided.

As long as everything runs fine and you do not notice any strange behaviour/crashes, I would just ignore it.
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: ArmA 3 Cvar Help

Post by J-English »

Caliban55 wrote:Glad that it is working.

Without looking into the function that the inintPlayerServer.sqf file uses, I can't really tell what it is supposed to do, but I would assume that it is some kind of player object corpse clean up and something handling player connections, propably excuted server sided.

As long as everything runs fine and you do not notice any strange behaviour/crashes, I would just ignore it.
Everythings fine,except after sometime players get error in vehicle purchasing.
Waits for the server to respond and brings up an error.Ive notified the A3 wasteland dev team,Its an issue that nearly everyserver owner faces.

Its all good tho thanks!
Post Reply