Comments (22)
If the group system ends up being prohibitively complicated for the moment: I think it would be completely reasonable to add the research sharing without it, for private servers to use if nothing else.
from lunamultiplayer.
Well you should create a new system based on the existing ones (like Asteroid system for example). Then subscribe to the proper game events like "OnFundsChanged" and when this event happens, send a new message type to the server specifiying the new funds.
The server should also keep track of the funds at all times and send the funds when a client connects.
The same applies to science and so on
from lunamultiplayer.
The group system isn't quite done, but once I finish that, I'll definitely start work on the science/funds system.
from lunamultiplayer.
Just downloaded the project yesterday, got a server up and poking around in the code. My friend and I, both coders, would love to start a career together with shared resources.
Any idea where to start for this enhancement?
Only been looking at the code base for maybe 30 minutes now so would love to hear any thoughts you had/which classes to start looking at first.
Thanks!
from lunamultiplayer.
How is this feature going so far? I can't get the mod syncrio to work right so having the feature run by the server itself would be perfect
from lunamultiplayer.
I've lost a bit the track of LMP and work + personnal life takes most of my time.
I hope to get some spare time soon but I made the code as simple as I could so everyone could fork my mod or push changes to this repository.
from lunamultiplayer.
I think I'm going to work on porting Syncrio over to this mod. Syncrio uses a ton of shared code from DMP/LUNA, so it shouldn't be too hard to do this. I've also gone through a lot of the Syncrio and DMP code so I have a decent understanding of how everything fits together.
from lunamultiplayer.
So, I've started this one. I realized we need a group system for this to work, so I've started adding one here: #33.
from lunamultiplayer.
You changes look nice! I've just made them thread safe and adjusted the channels.
If you need help or you don't understand some part of the code just let me know
from lunamultiplayer.
Hey everyone, following up on what meyer9 said. I do agree that Syncrio could be ported over, and to be honest I always hoped Syncrio would be merged into DMP or LMP. And on that note, I'd like to help make that possible, but I'm not familiar with LMP code so I don't know how much help I will be. But if I can help in any way just let me know.
from lunamultiplayer.
Hi Caylis1397. At the end LMP is based on DMP but with the code refactored in smaller pieces.
I'm at the moment fixing other stuff in order to have a workable LMP that at least lets you play multiplayer without much bugs, once that's done definatelly I will look into syncing funds, science etc in case meyer9 didn't finished it.
from lunamultiplayer.
from lunamultiplayer.
Added some documentation to the top, I don't know how the group system should be implemented as it involves screens and so on but sharing the science, contracts, funds and reputation shouldn't be very difficult
from lunamultiplayer.
Fixed the group system as it was not thread safe and was giving errors when we were connecting, also now they are stored as a file in case the server restarts.
The UI is not done anyway as I just wanted to make it work while I finish the movement and other stuff
from lunamultiplayer.
Hi! I'm looking into maybe perhaps helping out with this... what exactly still needs to be done after #33 ?
from lunamultiplayer.
add UI for the groups, share reputation, funds and contracts and then fix all the other stuff so it works with groups.
@Restioson If you feel like helping out in coding go to the discord server so we can sort it out ;)
from lunamultiplayer.
@gavazquez I am on it already! Ping me sometime.
from lunamultiplayer.
A very basic 'sharing mode' would be very awesome, so we can play with some friends together. Groups and competition is nice to have but not necessary for basic coop gameplay (that i would love to see in LMP because Syncrio and DMP are not working very good for me and my friend). Maybe something simple could be implemented in the near future and extended with groups afterwards, so people doesn't need to wait that long.
from lunamultiplayer.
Update:
I have started to work on this issue yesterday and today i got the first funds synchronisation working. At the moment i am learning mostly how LunaMultiplayer and KSP mods working. So it could take some time until i figured the necessary things out (i got some experience in c#, unity and other languages). My plan is to get a basic 'ShareProgress' system running first and maybe later the group system could be integrated. If i get the things to work i will submit a pull request.
from lunamultiplayer.
Contact me on discord and we can sort things out
from lunamultiplayer.
Update:
This pull request added the first functionality:
#117
Also there is now a branch for this issue called: SharePlayerProgress.
So if anybody want to help you can look into that branch (specific the ShareProgress System).
from lunamultiplayer.
This work has been done by Malte so I close this task, in case there are errors on this we can open new issues to deal with them
from lunamultiplayer.
Related Issues (20)
- please support quotes in command
- Kerbals whose (first) name is a substring of another Kerbal disappear HOT 2
- Extreme server response lag from large crew lists in ProgressTracking.txt
- Request: Provide an option to "pause" the universe on server stop HOT 1
- Request: Wildcard allow parts/mods HOT 2
- FPS drop after 30 seconds< HOT 2
- Mod settings (In Difficulty Settings) are reseted when rejoining a Server HOT 1
- Is there any way to use TCP? HOT 1
- Does LMP supports domain with SRV record?
- Not Compantible For Macos HOT 1
- Listening for game events
- How to start a server with modifications? HOT 1
- Running LMS in docker, no response from remote server
- Help needed running from docker HOT 3
- Weird LMP error that no one else has heard of
- Compliment on first impression
- Is this project abandoned?
- No usable version of libssl was found HOT 1
- Luna Multi Player Nightly for Linux x64 memory leak
- Lags in the editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lunamultiplayer.