Jump to content

DarkMultiPlayer 0.3.8.0 [KSP 1.12.0]


godarklight

Recommended Posts

@Everyone, I've released a hotfix to DMP - v0.2.1.1 fixes the loss of settings when upgrading the server (sorry for not noticing that earlier), and lutin tacked a bug where the server would not let people warp when starting from a fresh universe.

Hopefully the NaN vessel fix also helps too :)

Link to comment
Share on other sites

Hello server admins!, as VITAS is having some troubles with d-mp.org's host, now would probably be a good time to upgrade the DMPServerListReporter.dll plugin as it auto-falls back to my reporting endpoint (and any others you specify in the config file, the defaults being VITAS's preferred, then mine).

A while ago I changed the server list report receiver to be distributed in order to cope with some of the downtimes - they are linked and sync between themselves so connecting to either endpoint will be fine. So far the only two known database backends are VITAS's server list and my own, between those two we should have enough uptime - although if anyone wanted to make their own list I'd certainly help them set up the reporter backend stuff :D

Link to comment
Share on other sites

How do you host your own server?

depends on the operating system. unpack archive and start the executable.

maybe you want to set up some additional config at the setting.txt-file.

but hey: check his website at d-mp.org and read the wiki.

- - - Updated - - -

uuu@vsrvuuu:/home/ksp/DMPServer# ./DMPServer.exe

Got a bad hardware address length for an AF_PACKET 16 8

[10:31:40][DEBUG] : Loading settings...

[10:31:40][DEBUG] : System.IO compression works: True, test time: 12 ms.

[10:31:40][DEBUG] : Loading plugins!

[10:31:40][DEBUG] : Done!

[10:31:40][iNFO] : Starting DMPServer 510afc64ecfaaf9566da848db6fe18485fadd199, protocol 37

[10:31:40][iNFO] : Loading universe...

[10:31:40][iNFO] : Starting SUBSPACE server on port 6701...

Got a bad hardware address length for an AF_PACKET 16 8

[10:31:40][iNFO] : Removed 0 debris

[10:31:40][iNFO] : Ready!

@all: what means the bold lines?

its a vServer.

Edited by Jansn
Link to comment
Share on other sites

@DYo12234: For a stock sandbox one, just extract (Not to the KSP folder...) and double click it, the default add server is localhost for this reason :)

You can have a little poke around in the server Config/Settings.txt file to change it to science/career mode or change the difficulty level, but most of the options are sane defaults.

For mods, just generate DMPModControl.txt file by opening KSP and hitting DMP Options -> Generate blacklist DMPModControl.txt, and then move the file from your KSP folder to your DMPServer one.

@Jansn: I have no idea, but it looks IPv6 related. If it still runs the error may be harmless, but you may want to try changing the bind address in the settings file from :: (ipv4any/ipv6any) to 0.0.0.0 (ipv4any)

Link to comment
Share on other sites

@Jansn: I have no idea, but it looks IPv6 related.

Me too, its just a status message from vServer-provider in the shell

when i re/start DMPServer. Was curious..

Message is there, since i began running DMP-Server.. at that virtual server.

No probs so far.. ;-)

Link to comment
Share on other sites

Hey godarklight,

Are you aware of any issues with DMPServer discerning between windows and nix carriage returns in v2.1.1

I'm seeing some issues of config/settings.txt resetting when parsed by our Clanforge control panel and I'm trying to pin it down.

The only difference i can see when comparing default files and those parsed through our controlpanel is the hex value of the carriage returns being 0A rather than 0D 0A.

Thought it would be good to mention if anyone happens to manage their servers using something like cygwin and runs into these issues when saving their configs.

Link to comment
Share on other sites

@tehslyfoxuk: Woah sorry about that, I / RockyTV moved some code out of DMP into a library so plugins could use it, but I've obviously skipped over that. To be honest I completely regret the settings file move (I also managed to lose half of the settings as they became case sensitive) - I'll sort it out and push a version tomorrow.

0A is linefeed \n which should be used on mac/linux, 0D 0A is \r\n which is used on windows.

Link to comment
Share on other sites

@tehslyfoxuk: Woah sorry about that, I / RockyTV moved some code out of DMP into a library so plugins could use it, but I've obviously skipped over that. To be honest I completely regret the settings file move (I also managed to lose half of the settings as they became case sensitive) - I'll sort it out and push a version tomorrow.

0A is linefeed \n which should be used on mac/linux, 0D 0A is \r\n which is used on windows.

Yeahh, since we added v2.1.1 configs have been resetting to default and im sure its due to this, any chance of adding compatibility for nix linefeed?

cheers,

Jack

Link to comment
Share on other sites

@tehslyfoxuk: I believe I've fixed the issue in 0.2.1.2.

Another thing you might run into is that DMPServerSettings.txt was moved in the 0.2.1.0 update - Make sure you're now using Config/Settings.txt. The move also changed the , seperator to = and the settings became case sensitive.

@Server admins: As d-mp.org is changing host, you'll need to restart your server once before friday the 20th (which is when the old server will stop accepting server reports). Although it's highly recommended to also update the DMPServerListReporter.dll (source) file for auto-fallback support.

Edited by godarklight
Link to comment
Share on other sites

Just some questions of pure interest:

* Update SettingsParser.dll

* Defend against vessels with NaN orbits, this may stop the server from deleting vessels.

* Major warp rework (SUBSPACE_SIMPLE and MCW_LOWEST are now implemented)

What do the SettingsParser.dll do/pars?

What is a "NaN" orbit?

Differences between SUBSPACE_SIMPLE and MCW_LOWEST to the extisting warp modes/settings?

Link to comment
Share on other sites

@Jansn: And some answers :D

What do the SettingsParser.dll do/pars?

SettingsParser.dll is just a bit of refactoring, I've had my own key=value reader forever (although the seperator was a comma previous to 0.2.1.x, I shouldn't have taken inspiration from CSV), but it started to get duplicated in the code base. Moving it out into its own file will also let server plugins use it too if they wish to, although the settings format is a pretty arbitrary choice.

What is a "NaN" orbit?

First up, NaN means "Not a number", so I guess you can probably just think of it as infinity.

KSP does strange things. Really strange things. It's not always squads fault, but sometimes they just don't bother dealing with

.

I'm not exactly sure what the cause of it is, but sometimes the orbital parameters go NaN. If I had to guess - given a perfectly equatorial orbit, I think the LAN would be NaN, and this would cause KSP not to load it. There's also a possibility that all of the parameters go NaN while loading and aren't updated until the next frame (or something like that - KSP does weird things).

Differences between SUBSPACE_SIMPLE and MCW_LOWEST to the extisting warp modes/settings?

MCW_LOWEST is "warp to the common lowest warp factor".

SUBSPACE_SIMPLE is much like the normal SUBSPACE mode, but the sync buttons go away and are replaced with >.

Edited by godarklight
Link to comment
Share on other sites

Hi,

I got 2 issues and 1 question that I couldnt find any information or an answer for.

Situation: Career mode server, "hard" difficulty:

1. Kerbals are disappearing after each flight, after about 4-6 missions there are none left. After reconnecting, they are all back.

2. Sometimes the reputation value drops down. In this particular case I did about 20 missions, no failure, no crash, no unsolved mission and suddenly my reputation was at -220. The same happend to another player. Maybe this has something to do with issue #1? //Edit: I believe that this happend to me after I completed the "rescue Kerbal" - mission.

Question: Is it possible to disable "revert flight" and "quicksave" in custom difficulty? I tried to do this but didn't found any way except for "hard" difficulty.

Anyways, thy for your great work on this mod - its just awesome.

Edited by auge
Link to comment
Share on other sites

@ godarklight: How is it coming with setting the server fps in the cfg file?

You mentioned that some weeks ago to a question of mine that this was easily doable, but after some updates of the mod i do not see that somwhere or did i miss something?

It would be very nice to have this poissibility.

No pressure here just a question how it is coming. ;-)

Link to comment
Share on other sites

I mentioned using bittorrent sync to share mods with friends... sharing gamedata wasn't such a good idea since DMP saves private and public keys in there. May have caused some issues...

We still use bittorrent sync for this so my friends don't need to figure out so many things. Just in a slightly more manual way.

Link to comment
Share on other sites

@auge:

1) I need to change the kerbal sync to address 0.90 changes still, but I never play career so never quite got around to it :-/

2) Comes from DMP's kill-the-vessel-and-place-a-copy-down updates to replace parts. I really need to figure out how to make it stop doing that :-/

It's currently not possible to disable reverting other than a client side option, as turning off revert doesn't actually fully turn off revert in KSP... :-/

@Nightmare, completely forgot :P

@Varsi: Actually using the same player key isn't a problem, apart from they can play as you. Just make sure you're using a different player name though. The player key can mostly be thought of as a password - it's not a problem if 2 people have the same password.

@MK3424: Interestingly enough, the actual serverlist receiver hasn't crashed, just the website by the looks, I'll poke VITAS about it :).

For now, I guess there's my list.

Edited by godarklight
Link to comment
Share on other sites

@Varsi: Actually using the same player key isn't a problem, apart from they can play as you. Just make sure you're using a different player name though. The player key can mostly be thought of as a password - it's not a problem if 2 people have the same password.

Ah. Well we did play like that for some time, I just got worried. I'm still worried some other mod might use gamedata folder to save client specific stuff (ATM does of course but sharing that only saved time from others).

Apart from some strangeness with kerbals, we're loving the DMP. We've avoided doing anything too complicated together tho. :)

Link to comment
Share on other sites

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...