Jump to content

[1.10] Luna multiplayer (LMP) - Beta


Dagger

Recommended Posts

logo.png

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

documentation-Wiki-4BC51D.svg

Description:

Around March-2016 I started LMP as a refactoring over DMP but it finally evolved to a totally different program and different code architecture, this means that the code is totally different although it still uses some ideas from DMP like the concept of subspaces.  Nevertheless, this mod wouldn't exist if it wasn't for @godarklight's job as he made a solid base and a good example of where to start.

If you want to support this project, consider donating trough paypal PayPal

As the mod is still in beta it 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:

Current developers:

Legacy developers:

  • MalteJanz - Developer (career and science modes)
  • @Lothsahn - Developer
  • Sladernimo - Developer

Collaborators:

Video (Old and outdated version):

 

Edited by Dagger
Fix links + feature updates + collaborators
Link to comment
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
Link to comment
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
Link to comment
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
Link to comment
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

Link to comment
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

Link to comment
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
Link to comment
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

Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
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 

Link to comment
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

Link to comment
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
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...