Jump to content
Sign in to follow this  
smokified

Missing files in .PBO

Recommended Posts

I am using a .PBO file that was acquired from playing on a server with that mission/map.
I also updates some of the files in the PBO based on the current public release from the developer:
ofps-public / ofps-mode · GitLab

 

The readme says:

Quote

* Add Mode folder into Common/Config/modename/    
* Update Parameters for all maps to support new modename - very first param       
* Add mode directory variable (CTI_MODE_DIR) to Common/Init/Init_CommonConstants.sqf at bottom - append to existing
* Directory in constants must match mode config folder exact
* Set your mode param to default and you are good to go!



I updated the mode folder as described.

Where do I update the map parameters as described?

It looks like the mode variable is already in the .sqf mentioned.

Where do I set the "mode param to default"?

Also, in my logs when attempting to launch the .PBO that was downloaded from the server, it looks like I am missing files:

Quote

14:41:20 "[CTI (INFORMATION)] [frameno:18367 | ticktime:29.328 | fps:3.66888] [FILE: Common\Init\Init_Parameters.sqf] Defining parameter [SEPARATOR14] with value [1]"
14:41:20 "[CTI (INFORMATION)] [frameno:18367 | ticktime:29.328 | fps:3.66888] [FILE: Common\Init\Init_Parameters.sqf] Defining parameter [CTI_DEV_MODE] with value [0]"
14:41:20 Warning Message: Script Server\Functions\Server_OnPlayerConnected.sqf not found
14:41:20 Warning Message: Script Server\Functions\Server_OnPlayerDisconnected.sqf not found
14:41:20 "[CTI (INFORMATION)] [frameno:18367 | ticktime:29.329 | fps:3.66888] [FILE: init.sqf] Running common initialization"



Also later in the logs it looks like I am missing:

Quote

14:41:22 "[CTI (INFORMATION)] [frameno:18465 | ticktime:31.832 | fps:44.3213] [FILE: init.sqf] Running server initialization"
14:41:22 Warning Message: Script Server\Init\Init_Server.sqf not found

 

The mission appears to initialize, I can join the server, and have the team/role selection options, but after that, I just join as a bird that can't move.  What do I need to do to get the missing files found/created/loaded?

 

The code in the init.sqf file has reference to some of the files:

//--- Server JIP/DC Handler
if (isMultiplayer && CTI_IsServer) then {

	CTI_SE_FNC_OnPlayerConnected = compileFinal preprocessFileLineNumbers (CTI_Server_path + "Functions\Server_OnPlayerConnected.sqf");
	CTI_SE_FNC_OnPlayerDisconnected = compileFinal preprocessFileLineNumbers (CTI_Server_path + "Functions\Server_OnPlayerDisconnected.sqf");


	addMissionEventHandler ["PlayerConnected",
	{
		params ["_id", "_uid", "_name", "_jip", "_owner", "_idstr"];
		[_uid, _name, _jip] call CTI_SE_FNC_OnPlayerConnected;
	}];


	addMissionEventHandler ["PlayerDisconnected",
	{
		params ["_id", "_uid", "_name", "_jip", "_owner", "_idstr"];
		[_id, _uid, _name] call CTI_SE_FNC_OnPlayerDisconnected;
	}];

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×