Jump to content
Sign in to follow this  
tommytoad2

Regarding Dedicated Server

Recommended Posts

Managed to start a dedicated server with the -server switch but can't access any usermade missions. Tried making a MPMissions folder in the main folder aswell and put it there to no avail.

Have any one managed to load usermade mission with the dedicated server? Is this a bug in the beta?

Share this post


Link to post
Share on other sites

I have the same experience. I can build a multiplayer map, but the dedicated server doesn't seem to read the MPMissions folder containing it.

Share this post


Link to post
Share on other sites

I've used processmonitor from sysinternals to trace file access, and no access to any MPMissions folder is showing, regardless of -profiles usage.

It's being accessed when you host a game yourself, showing the map or maps made.

Edited by HitmanFF

Share this post


Link to post
Share on other sites

I've found a work around for now to be able to run your own missions on a dedicated server:

1. Edit your mission. Action needed to create a MP mission is described here

2. Create an MPMissions folder in your TKOH game folder, e.g. C:\Program Files\Bohemia Interactive\Take On Helicopters\MPMissions

3. Place the complete unpacked mission in the game folder's MPMissions, e.g. C:\Program Files\Bohemia Interactive\Take On Helicopters\MPMissions\Multiplayer_test_map.United_States_H (the unpacked mission should at least contain a mission.sqm or mission.biedi).

4. Create a server config file in your game's folder (e.g. C:\Program Files\Bohemia Interactive\Take On Helicopters\server.cfg) which contains at least a class Missions part as follows:

class Missions
{
 class Testmap
 {
   template  = Multiplayer_test_map.United_States_H;
   cadetmode = 0;
 };
};

5. Fire up your dedicated server with a shortcut containing the command line option to use the server.cfg you've just made, e.g. "C:\Program Files\Bohemia Interactive\Take On Helicopters\TakeOnH.exe" -server -config=server.cfg

6. Connect and enjoy your self made mission on the dedicated server :)

Add more missions to the class Missions to rotate through them. Example found here.

Share this post


Link to post
Share on other sites

Much appreciated Hitman :)

---------- Post added at 04:36 PM ---------- Previous post was at 03:52 PM ----------

*EDIT*

Did anyone come across an issue with 'deleted content' while running a dedicated server with a usermade mission? (as described above by Hitman)

Check this:

tohdeletedcontentwtf.jpg

So it complains about "hsim_characters_h"...hmm :confused:

My mission is 100% TOH vanilla and it runs fine when hosting a non-dedicated server.

To be clear, I can still play the mission on the dedi server but there are no map markers and the 'briefing.sqf' doesn't seem to be read either (no "Notes" or "Tasks" appearing, but they do work on non-dedi).

Edited by ]NTRUDER
edit

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  

×