Jump to content
curiousGamblerr

Il-2 Mission Planner | online flight planning tool | il2missionplanner.com

Recommended Posts

I've currently setup a campaign server and server control from coconuts campaign plugin and server control web access source code.  I was reading on his forum that he had mission planner implemented on his server.  Do you know how i could do that and how would i go about getting a website dedicated to my server similar to taw or coconut implementation of mission planner.

Ie

Il2missionplanner.com/#TAW

 

Cheers

Share this post


Link to post
Share on other sites

@FlyingNutcase IIRC that's correctly, I don't think I ever added a total time. Seems like a silly omission in retrospect. Sorry about that!

 

@HairyBrenndog I think you're referring to the feature where the mission planner will automatically load a server's state, like this example for combat box: https://il2missionplanner.com/#combatbox?

 

The basic idea is your server needs to expose a piece of JSON, which you can update as often as you like (once at mission start, or periodically, up to you.) You give me an endpoint from which to grab the JSON and I can add a mapping from "#yourservername" to that endpoint, and the planner will go and grab the JSON when you load that URL. Continuing with the Combat Box example, their JSON is exposed here: https://static.combatbox.net/current-map.json. The format is specific to the mission planner, so you will need to create a script or some other mechanism to generate it from your mission state (I don't think coconut made this automatic with his server control but I might be wrong). 

 

It's a bit of a PITA and if I rewrote the planner I would implement this feature differently, but as it stands, that's the process. Let me know if you have questions.

 

  • Thanks 2

Share this post


Link to post
Share on other sites
6 hours ago, curiousGamblerr said:

You give me an endpoint from which to grab the JSON and I can add a mapping from "#yourservername" to that endpoint, and the planner will go and grab the JSON when you load that URL.

@HairyBrenndog The URL to use to get the JSON data with SCC is <serverurl>/campaign/<server instance name>

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...