Jump to content

[0.16 WIN & mac??] Kermageddon, Multiplayer [0.1 Community Feedback Alpha]


1337patchy

Recommended Posts

Hello!! I hereby present you, no more, no less, than Kermageddon

A real BOOM in your world size :cool:

Minds behind Kermageddon: 1337patchy & NoobLevler

Code Language: C#.NET

IDE used: Visual Studio C# Express 2010

Requirements: A PC (running Windows) capable of running KSP & An updated version of .net framework

For Mac users (unnoficial support, Tutorial by darkwolfpaw54): "FOR ALL MAC USERS THAT WANT TO USE THIS ADDON you will need:bootcamp windows 7 and famework err whatever. FIRST STEP use bootcamp to make windows 7 working then net.framework installed and bootcamped for mac platforms.STEP TWO run kermageddon and set the ports up and wala it works like if its on a pc."

Q: What is Kermageddon?

R: Kermageddon is an application which allows you and your friends to play in the same world, see each other's ships in orbit, as if your world were a Multiplayer world.

Q: So...That means its a Real Time Multiplayer?

R: Of Course

:) ...not!! :P Unfortunately

Q: How does it synch vessels then?

R: Well, first of all, the session must be hosted in a FTP server. But do not worry, that does not mean it is hard to use, because it is not. Only the FTP host needs to know how to set up a FTP server, the other players only need the server ip, and login credentials, which are given by the host!

:) So, when you start your game through Kermageddon, it downloads a file from the server's root, and merges your savefile with it, bringing other people's ships and orbits to your game, populating your nice world with them! When you close your game, Kermageddon detects that, and prepares a file to upload to the server, with your ships, and the ones on the server :D All that, just by pressing a button! :) It's super simple!!

Q: What if someone saved a vessel that uses parts from a mod i do not have? :(

You will get a little window, ingame, telling you a certain ship could not be loaded!

Q: Will support and updates be provided?

R: Support? Most certainly

:) Updates? Maybe :P depends on the general interest on Kermageddon and it being updated :D

Q: What do I need on my FTP server to be able to host a session?

R: Well, you need to create a copy of the savefile you want to start with, with or without vessels, and place it on the server's root. Rename the savefile to persistent2.sfs !! Those last two steps are VERY Important, place the file on the server's root, and rename it to persistent2.sfs !! !! !! If you do not know where to find your savefile, on the computer, navigate to your Kerbal Space Program's root folder, and click a folder called "saves". Inside it should be a folder called "default". Persistent.sfs should be inside "default" folder ;)

(Read this first, it may save you the work of asking! :) ) Known Bugs and Fixes/Work-a-Rounds:

Bug (clientside??): Missing Part Dialog, due to not having a certain addon someone else has, will not show completely, rendering it impossible to close, disturbing the game.

--/--/

Workaround: Launching a spaceship, and crashing it in the ground imediatelly after takeoff. After that, press the scenery if the end flight dialog does not show. From the dialog click "Space Center", and it should now be possible to close the Missing part dialog! If not, try to repeat!!

Project folder (source code included) (Not required to run Kermageddon)

http://www./?lrq677dwdaj9lb9

Kermageddon Download

http://www./?opodg7ky2o96bhl

-----------------------------------------------------/--------------------------------------------/-------------------------------------------------

Changelog:

08 September 2012 23:18 GMT+01: Added new Kermageddon download link, .zip packed with readme for client and host.

-----------------------------------------------------/--------------------------------------------/-------------------------------------------------

We WILL pay close attention to this thread, investigate the bugs found, try to reproduce them and find a possible

Work-a-Round, we will also consider your ideas to make Kermageddon better in future versions. Notice, future and updated versions will only be created if there is interest on them, and enough time :D .

Do not forget, this is a Community Feedback Alpha version, so we are counting on your feedback to spot problems and bugs! :)

First, you will need someone to host the FTP server for you. The host will give you the server ip, the username, and password!

You will insert them into the appropriate fields.

Then you can select KSP's root folder on the folder selector.

After that, decide if you want a backup, by clicking the checkbox :-)

Then just Press START, and Kermageddon will do EVERYTHING for you!! :)

Notice: If Kermageddon crashes, or if there is a connection problem with the server, your save file will not be merged and uploaded to the server, if the first scenario occurs, and will most likely not get merged, and uploaded, if the second scenario occurs.

If you want to host, you will need to create a FTP Server! That is pretty easy for people with some knowledge on the field.

If you have no idea on how to setup a FTP server, you can search around on the internet for a tutorial on how to setup a FTP server.

I have found this tutorial, i did not test it though, but it should work. http://www.raymond.cc/blog/how-to-setup-ftp-server-on-windows/

After having the FTP Server ready, copy your KSP save file, called persistent.sfs, which can be found by going to KSP's root folder\saves\default, and paste the persistent.sfs on the root of the FTP (main folder of the FTP).

Rename persistent.sfs to persistent2.sfs (the one on the FTP root folder of course :) )

If you want to start a new save on your Multiplayer world, with no ships, delete all the Vessels from persistent2.sfs !

Then thats done, just turn on the server, and give whoever you want your IP and server username (if IP is, for example, x.xx.xxx.xx, on the FTP adress on kermageddon you write ftp://x.xx.xxx.xx). If your server is password protected, you will need to give the password too!

That's it! Hope this brief explanation helps guys!

Before posting about Kessler and saying this idea was stolen, or something identical already existed, read post #4 at http://kerbalspaceprogram.com/forum/showthread.php/19400-WIP-Kermageddon

Email the authors:

1337patchy [email protected]

NoobLevler [email protected]

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.

Edited by 1337patchy
Link to comment
Share on other sites

Posted a more complete explanation in the OP guys, at the bottom, in spoilers! :)

Let us know if there is anything else we can assist you in :)

P.S. : If you have a dynamic IP, it will change itself after a certain period of time, so you may have to resend your IP to the people who join your server, after you turn it on, if they cant connect to it with an IP that once worked :P

You can know your IP by searching for websites which tell it to you, there are also a lot of other methods

This website works for me, at the date of this post http://www.whatismyip.com/

Edited by 1337patchy
Link to comment
Share on other sites

Glad to know its working!! :) Report back with bugs, sugestions and new features! Every single one will be read, even if we do not reply at the time :)

Hmm.. I followed the tutorial and i connected to my FTP with the KSPMP 0.1.exe. I think it will work.

FTP Adress: ftp://95.76.65.159

Username: XilentDude

Password: 1324

\\nevermind.. it's offline now.

I still see the server online ^.^

Sorry for another bump post, but we need feedback guys!

Also guys, please tell me, do you get an error uploading to the server if you play for a while?? (not right after 1 or 2 minutes of playing)

Edited by sal_vager
Triple posting :)
Link to comment
Share on other sites

Sorry for another bump post, but we need feedback guys!

Also guys, please tell me, do you get an error uploading to the server if you play for a while?? (not right after 1 or 2 minutes of playing)

If your plugin doesn't constantly refresh its connection to the server, either by uploading/downloading a file or just reconnecting, then there will be an issue as most FTP servers have a connection timeout for clients that are not transferring data, but are instead just idling.

Link to comment
Share on other sites

Hey whatisthisidonteven :) I just asked that because i get that with NoobLevler's server some times, but not always, but it is a very..VERY..slow server, full of timeouts. Anyways before uploading, it tries to connect once again to the server, login, of course, it doesnt resource to the first connection it estabilished, i just asked that because even in those conditions, sometimes it fails to upload to Noob's server, but it has not happened today though. Anyhow, if it does fail to upload, you will not loose your ships, they will just not go into the server, but that should not happen :)

Ideas/bugs/feedback appreciated mates, only that way we can release the final version.

Here is a sugestion of mine: Create a thread about your server and publish the adress and login credentials if you want other people to join, so this can grow bigger :) Share the word! kermageddon :P

Link to comment
Share on other sites

No harm in having two, always good to have healthy competition to encourage them to make their one better than the other :P After all, competition like that is what made us get a lot of great things. Landing on the moon was an example of that - In fact, a lot of space related achievements wouldn't have been made if the USSR and USA weren't always improving their stuff to stay ahead of each other.

Link to comment
Share on other sites

Woah..Woah this is no competition as i already said..i just wanted to make something, to create! :P..., and Byter, someone has to host the server, even with kessler right?, i just thought FTP would be nice, as the universal port for FTP is 21, and i think no router has that port blocked by default..I thought we should use FTP to avoid NAT problems. I dont want any Kessel vs Kermageddon on my thread please, keep it clean, healthy, and OP related. I dont mind if you dont want to use Kermageddon!! What i would, instead, like to see in this thread is feedback, bugs, sugestions, constructive criticism..Why rant if there are more alternatives? Its free, you didnt spend time making it, you just get it free handed, so please do not post Offtopic :)

Thank you!

Edited by 1337patchy
Link to comment
Share on other sites

Ah, right, I see :) It's a nice coding project.

It's pretty cool, though as said before pretty pointless everything considered. The missing part problem, is a vital issue with the game ass opposed to this mod in particular... maybe you could change this into a fully fledged program with a GUI, and have it check the persistence file and compare it to the users parts list? Then, after this check warn the player and tell them the modded craft weren't merged into the persistence file, then start up the game through a button on this program as apposed to starting it manually.

It would make multiplayer a lot easier, that's pretty sure.

You could even go a step further and have a plugin within the game that gives each craft an I.D in the game and tells the outside program these I.Ds after you exit the game so that the program can fully distinguish between each ship and piece of debris, allowing for people to modify other people's craft without duplication issues.

Link to comment
Share on other sites

Hey there, beforehand, may i ask you, have you tried it? :P The program does have a GUI, and it does start the game for you, players who are not hosting a server only need to open kermageddon, insert server credentials, and press "START", Kermageddon does the whole thing :)

And i am very grateful for your sugestions and considerations, you betcha me and NoobLevler are going to look at them, and see how well we could do that!!

, but the Missing Parts does not cause Kermageddon to stop working, if you dont have the mod, the ship doesnt appear! :P

That was a great post Mr_Orion! :)

Link to comment
Share on other sites

FOR ALL MAC USERS THAT WANT TO USE THIS ADDON you will need:bootcamp windows 7 and famework err whatever. FIRST STEP use bootcamp to make windows 7 working then net.framework installed and bootcamped for mac platforms.STEP TWO run kermageddon and set the ports up and wala it works like if its on a pc. PM if you have some problems :D. P.S kessler is a saved mutiplayer sever you cant move and eva saying hi on the mun only saved ships you can host or join a sever much easyer than kermageddon. P.P.S i was not vs kessler just trying to be nice

Edited by darkwolfpaw54
Link to comment
Share on other sites

darkwolfpaw54, Kermageddon too works by savefile merging, no idea how the alternatives work though. Unsure if you mean to say it lags on Mac's? Dont know if its the emulator which causes that... :P

whatisthisidonteven, realtime multiplayer would be possible if there were a way to force the game to load the savefile each second or so to say, without loading the current vessel, so you are not restarted, without modifying the code. There would also have to be a way to force the game to save, in all connected clients, each second, and to re upload/download each second xD

Anyways i would like to ask, how is it to use Kermageddon? How well are you doing with it?

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