Dagger

[1.4.4] Luna multiplayer (LMP) - Beta

Recommended Posts

logo.png

Licence: MIT (you don't have to ask me for permission if you want to make a fork :))

documentation-Wiki-4BC51D.svg

Description:

Around March-2016 I started a fork of DMP to include UDP network messages but it finally evolved to a totally different program and different code architecture. Still, LMP would never exist without the work done by @godarklight as it uses some of its concepts.

If you want to support this project, consider donating trough paypal paypal-donate-yellow.svg

The mod might has some bugs so if you want to report a issue, please do so on github

If you want to collaborate testing new versions or help us in development join us in the discord chat :)  Chat on discord

Main features:

  • Clean and optimized code architecture, based on systems and windows which makes it easier to read and modify.
  • Multi threaded (as much as Unity allows)
  • Settings saved as XML.
  • Time synced between clients and the server using the NTP protocol.
  • UDP networking using the Lidgren library for reliable UDP message handling.
  • Uses interpolation so the vessels shouldn't jump from one place to another.
  • Nat-punchtrough feature so a server doesn't need to open ports on it's router.
  • Servers are displayed within the mod.
  • Better creation of network messages so they are easier to modify.
  • Every network message is cached in order to reduce the garbage collector spikes
  • Based on tasks instead of threads.
  • QuickLZ for fast compression
  • Supports science and career modes
  • UPnP support for the server.

Links:

Collaborators:

Video:

 

Edited by Dagger
Fix links + feature updates + collaborators
  • Like 16

Share this post


Link to post
Share on other sites

Hey,

I'm the current developer and maintainer of the Luna MultiPlayer website.
Although it has not been too long, but I have had a unique experince working side by side with the amazing team behind Luna MultiPlayer.

If you find any bugs on the website or anything related to it, feel free to let us know!


Cheers,

Robin
lunamultiplayer.com developer

Edited by SupperRobin6394

Share this post


Link to post
Share on other sites

I just released a new version....

Includes several performance fixes and also better compatibility with linux.

Besides this, now kerbals are synced inside a vessel so if a vessel is transfered from one part to another, the spectator sees those changes aswell.

Latest version: Here

Edited by Dagger

Share this post


Link to post
Share on other sites

Update 0.0.8
Luna MultiPlayer 0.0.8 has been released!
Build version 0.0.8.281

Changelog
- Added a system to sync facilities state between clients (if a player destroy/upgrade/repair a building the other players will get that event aswell)
- Removed the vessel reload when spectating and vessel changes situation
- Removed TPL library for better linux support and changed by a custom TPL implementation
- Fixed rotation bug
- Fixed master server auto-updater
- Added webpage example to display servers with JS
- Added several interpolation fixes (still not 100% functional)
- Fixed dependencies
- Fixed debug release so it has the .pdb and .mdb files
- Fixed compatibility with linux

Full changelog is available at our website:
http://lunamultiplayer.com/changelog

Download
The latest version is available for download at our website
http://lunamultiplayer.com/download

 

Edited by SupperRobin6394

Share this post


Link to post
Share on other sites

Update 0.0.9
Luna MultiPlayer 0.0.9 has been released!
Build version 0.0.9.299

Changelog
- Made vessel proto messages unreliable and reliable
- Added interpolation for vessel states
- Fixed time sync
- Fixed display of windows
- Allow master servers to host standard servers
- Fixed phantom forces with grounded and packed vessels
- Made master server registration multi threaded
- Fixed nuke command to not remove controlled vessels
- Made kerbal system more stronger
- Fixed statistics

Full changelog is available at our website:
http://lunamultiplayer.com/changelog

Download
The latest version is available for download at our website
http://lunamultiplayer.com/download

Share this post


Link to post
Share on other sites

The most game-breaking bug in DMP for me was orbital velocity suddenly becoming zero. Is it fixed here?

Share this post


Link to post
Share on other sites
On 16-12-2017 at 1:34 PM, sashan said:

The most game-breaking bug in DMP for me was orbital velocity suddenly becoming zero. Is it fixed here?

I didn't encounter this one myself in neither LMP or DMP, but since LMP's sync system works differently I'm assuming this shouldn't happen.

  • Like 1

Share this post


Link to post
Share on other sites
On 25-12-2017 at 6:41 AM, Kerbal pancake said:

very intriguing! perhaps me and some of my comrades will try it out

It's our mod, have fun playing in one of the open public servers, Comadre!

On 31-12-2017 at 10:10 PM, Greenfire32 said:

keeping my eyes on this one

:rolleyes::rolleyes::rolleyes: Cheers!


The Luna MultiPlayer website now has a video page along with a fresh new trailer made by @Toonu and The Hellbox (whom doesn't have a forum account I think?)

http://lunamultiplayer.com/videos

Share this post


Link to post
Share on other sites

Did you fix the random explosions that existed in DMP when 2 players were close to each other on the ground (like at KSC)?

I believe the problem was duplication of vessels, so they collided with their clone and blew each other up.

We came to the conclusion it only happened when 2 or more people were at the same location at the same time, it never happened if you were flying solo. So we made a rule that you couldn't be near another player or control the same vessels at the same time.

If this problem still persists I think vessels must be server authoritative so two clients don't spawn the same vessel twice.

Anyway will keep an eye on this, been wanting to play KSP MP for a long time.

Edited by Zyme

Share this post


Link to post
Share on other sites
On 16-1-2018 at 5:03 PM, Zyme said:

Did you fix the random explosions that existed in DMP when 2 players were close to each other on the ground (like at KSC)?

I believe the problem was duplication of vessels, so they collided with their clone and blew each other up.

We came to the conclusion it only happened when 2 or more people were at the same location at the same time, it never happened if you were flying solo. So we made a rule that you couldn't be near another player or control the same vessels at the same time.

If this problem still persists I think vessels must be server authoritative so two clients don't spawn the same vessel twice.

Anyway will keep an eye on this, been wanting to play KSP MP for a long time.

I didn't see the duplicate issue in LMP so far, not in a 'recent' alpha at least.

As for the random explosions, no clue.

 

I'm about to run a couple of tests, I'll edit my post if there's anything worth mentioning

Share this post


Link to post
Share on other sites

Update 0.0.10
Luna MultiPlayer 0.0.10 has been released!
Build version 0.0.10.428

Changelog
Sixth (and hopefully last) alpha version of LMP.

- Better memory management
- New serialization system
- 3 modes of positioning (still have to decide the one to keep)
- Tons of small fixes
- There's still an issue with the sync between vessels in the server and the clients. This will be the first thing in the list to solve

Full changelog is available at our website:
http://lunamultiplayer.com/changelog

Download
The latest version is available for download at our website
http://lunamultiplayer.com/download

Edited by SupperRobin6394
  • Like 2

Share this post


Link to post
Share on other sites

Oh crap you guys are working on this and have a little dev team? Good news. I thought this project was dead! Awesome! Ill test it out when i get home. So have all stages of packed vessels been worked out from on the ground (landed) all the way to orbit and docking? What method did you guys use to track ground terrain? raycasting still? So will i actually see a proper vessel position when landing next to a friends vessel on the mun for example? how is jitter?

Edited by Redneck

Share this post


Link to post
Share on other sites
On 12/6/2017 at 1:43 PM, Dagger said:
 

Github hyperlinks to 0.05 release, latest version is 0.10 https://github.com/LunaMultiplayer/LunaMultiplayer/releases/

Discord has links to edge releases 

  • Like 1

Share this post


Link to post
Share on other sites

Update 0.1.11
Luna MultiPlayer 0.1.11 has been released!
Build version 0.1.11.559

This is the first BETA version of LMP!

Changelog
- Better memory management
- 3 modes of positioning (by default the positioning is mixed)
- Tons of small fixes
- Vessels correctly sync with the server, even the debris and the fairings
- First working version (still needs improvement) of the interpolation system
- Better locking system
- Several new debug screens and advanced systems for the debug version

Spectating is still unstable and may cause bugs

Full changelog is available at our website:
http://lunamultiplayer.com/changelog

Download
The latest version is available for download at our website
http://lunamultiplayer.com/download

Share this post


Link to post
Share on other sites

Are you gonna make a multiplayer where the players can dock togethers and control the same vessel without lags and bugs? Or just the players can just play close to them ? Thx :)

Share this post


Link to post
Share on other sites

Sorry guys, I had to do a quick hotfix as dockings were failing and there was a null reference exception error

Latest is 0.1.12

  • Fixed docking so a correct network message is sent
  • Fixed NRE when removing vessel parts
  • Now vessels received with NaN orbits are not rendered
  • Fixed default positioning system in the settings

Also, @The HellBox and @Toonu made a nice video:

 

Edited by Dagger
  • Like 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