Hurray! Another multiplayer clone project. :)

Discuss and distribute tools and methods for modding. Moderator - Grognak
kcd.Spektor
Posts: 586
Joined: Thu Nov 26, 2015 8:21 am

Re: Hurray! Another multiplayer clone project. :)

Postby kcd.Spektor » Mon May 23, 2016 6:47 am

jrb00001 wrote:And because the database was stored in /tmp, it was deleted automatically.

Is that even legal to store any DB in a temp folder? :shock:
I've heard that in some countries they cut off your hand if you do this. :geek:

Victory143 wrote:I joined the server yesterday and now I can't log in. I can connect to the server but when I enter my username and password, it won't let me in. I have checked I am entering the right things. my username is Lukas Bastonne if that helps.

You need to register again.
jrb00001
Posts: 201
Joined: Fri Jan 15, 2016 2:22 pm

Re: Hurray! Another multiplayer clone project. :)

Postby jrb00001 » Mon May 23, 2016 7:03 am

kcd.Spektor wrote:
jrb00001 wrote:And because the database was stored in /tmp, it was deleted automatically.

Is that even legal to store any DB in a temp folder? :shock:
I've heard that in some countries they cut off your hand if you do this. :geek:

I do not have to create any logs (and I do not want to waste disk space on it) and it is my decision where I want to store my files (and I forgot to adjust that path which is now done). It might be different if there was a contract.
Victory143
Posts: 6
Joined: Mon May 23, 2016 6:42 am

Re: Hurray! Another multiplayer clone project. :)

Postby Victory143 » Mon May 23, 2016 7:05 am

What about my ships etc? Can I recapture them? Was everyone's account deleted or just mine?
jrb00001
Posts: 201
Joined: Fri Jan 15, 2016 2:22 pm

Re: Hurray! Another multiplayer clone project. :)

Postby jrb00001 » Mon May 23, 2016 7:37 am

Victory143 wrote:What about my ships etc? Can I recapture them? Was everyone's account deleted or just mine?

If you bought he ship at spawn, buy a new one with the same name and add "admin" to the crew. If you bought it from a trader, give me the name of he ship, the color and the name of the layout or an exact description. Also give me a list of all additional systems, the scrap (ship + character), missiles, drones and crew members. I will give the things to you as soon as possible (but that might be in 8h or so).
Victory143
Posts: 6
Joined: Mon May 23, 2016 6:42 am

Re: Hurray! Another multiplayer clone project. :)

Postby Victory143 » Mon May 23, 2016 10:15 am

Well, I had a intereptor with a burst laser II as a gun. Then I had mark 1 oxygen and a basicl laser in cargo with 50 scrap.
User avatar
Hak86
Posts: 108
Joined: Thu Mar 31, 2016 8:58 am

Re: Hurray! Another multiplayer clone project. :)

Postby Hak86 » Mon May 23, 2016 11:06 am

Here is an almost finished Grey Bear-turned-Rogue AI Interceptor ship. that I made because I was bored.
Image
Hope you guys like it,
Please offer feed back
This is a bad signature. :|
Victory143
Posts: 6
Joined: Mon May 23, 2016 6:42 am

Re: Hurray! Another multiplayer clone project. :)

Postby Victory143 » Mon May 23, 2016 3:59 pm

Also my two friends had a heavy scout ship or something, it was colored in the federation colors. It had 2 dual lasers and 30~ scrap.
jrb00001
Posts: 201
Joined: Fri Jan 15, 2016 2:22 pm

Re: Hurray! Another multiplayer clone project. :)

Postby jrb00001 » Mon May 23, 2016 5:33 pm

Lost the database again because of a typo while restoring a ship.
The server did spam this exception but everybody was able to play except the player who triggered it:

Code: Select all

[Server] Ship system model MEDBAY2 not found!
java.lang.NullPointerException
        at tk.spgames.spaceteamserver.b.l(Unknown Source)
        at shampoo.df.b(Unknown Source)
        at shampoo.df.a(Unknown Source)
        at shampoo.cD.a(Unknown Source)
        at shampoo.cD.a(Unknown Source)
        at tk.spgames.spaceteamserver.b.a(Unknown Source)
        at tk.spgames.spaceteamserver.b.b(Unknown Source)
        at tk.spgames.spaceteamserver.b.a(Unknown Source)
        at shampoo.cC.f(Unknown Source)
        at tk.spgames.spaceteamserver.b.af(Unknown Source)
        at tk.spgames.spaceteamserver.b.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:745)

I had to kill the process. On restart of the server:

Code: Select all

[Server] Looking for existing universe to load
[Server] No existing universe found
[Server] Creating new universe
jrb00001
Posts: 201
Joined: Fri Jan 15, 2016 2:22 pm

Re: Hurray! Another multiplayer clone project. :)

Postby jrb00001 » Mon May 23, 2016 8:36 pm

jrb00001 wrote:Lost the database again because of a typo while restoring a ship.
The server did spam this exception but everybody was able to play except the player who triggered it:

Code: Select all

[Server] Ship system model MEDBAY2 not found!
java.lang.NullPointerException
        at tk.spgames.spaceteamserver.b.l(Unknown Source)
        at shampoo.df.b(Unknown Source)
        at shampoo.df.a(Unknown Source)
        at shampoo.cD.a(Unknown Source)
        at shampoo.cD.a(Unknown Source)
        at tk.spgames.spaceteamserver.b.a(Unknown Source)
        at tk.spgames.spaceteamserver.b.b(Unknown Source)
        at tk.spgames.spaceteamserver.b.a(Unknown Source)
        at shampoo.cC.f(Unknown Source)
        at tk.spgames.spaceteamserver.b.af(Unknown Source)
        at tk.spgames.spaceteamserver.b.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:745)

I had to kill the process. On restart of the server:

Code: Select all

[Server] Looking for existing universe to load
[Server] No existing universe found
[Server] Creating new universe

I found the cause: It was my start script which deleted some directory. Unfortunately, I changed the launcher directory to that without realizing it and the DB was deleted on every launch since this morning. This is now fixed.

There is now a backup solution implemented so that we should no longer loose any progress greater than 5 minutes (autosave interval). It does an off-site backup every full minute which means the backup should even survive the complete destruction of the server.
Victory143
Posts: 6
Joined: Mon May 23, 2016 6:42 am

Re: Hurray! Another multiplayer clone project. :)

Postby Victory143 » Tue May 24, 2016 5:53 pm

Not sure if intentional, but pirates seem very op early-game. It's because they come in groups of 3 or above, and when you kill them you have to use your scrap to repair. I came across 7 pirates today in one sector!