You can see the hull and the systems but not the rooms.kcd.Spektor wrote:What do you mean "glitched" ships?
Glitched how?
Hurray! Another multiplayer clone project. :)
-
- Posts: 201
- Joined: Fri Jan 15, 2016 2:22 pm
Re: Hurray! Another multiplayer clone project. :)
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
Are there still some ships like this?jrb00001 wrote: You can see the hull and the systems but not the rooms.
So I can have a look at them?
Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
-
- Posts: 201
- Joined: Fri Jan 15, 2016 2:22 pm
Re: Hurray! Another multiplayer clone project. :)
I tried to find one but I did not find any.kcd.Spektor wrote:Are there still some ships like this?jrb00001 wrote: You can see the hull and the systems but not the rooms.
So I can have a look at them?
I found a server side bug which happens if a client connects and the server has some huge station:
Code: Select all
Exception in thread "Server" java.nio.BufferOverflowException
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
at com.esotericsoftware.kryo.io.ByteBufferOutputStream.write(Unknown Source)
at com.esotericsoftware.kryo.io.Output.flush(Unknown Source)
at com.esotericsoftware.kryo.io.Output.require(Unknown Source)
at com.esotericsoftware.kryo.io.Output.writeInt(Unknown Source)
at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(Unknown Source)
at com.esotericsoftware.kryo.Kryo.writeClass(Unknown Source)
at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Unknown Source)
at com.esotericsoftware.kryonet.KryoSerialization.write(Unknown Source)
at com.esotericsoftware.kryonet.TcpConnection.send(Unknown Source)
at com.esotericsoftware.kryonet.Connection.sendTCP(Unknown Source)
at com.esotericsoftware.kryonet.Server.update(Unknown Source)
at com.esotericsoftware.kryonet.Server.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
Can you give me the database with this station, so I can check this?jrb00001 wrote: I found a server side bug which happens if a client connects and the server has some huge station:
Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
-
- Posts: 201
- Joined: Fri Jan 15, 2016 2:22 pm
Re: Hurray! Another multiplayer clone project. :)
The station is not in the database, it is just a model with a size of 80x80.kcd.Spektor wrote:Can you give me the database with this station, so I can check this?jrb00001 wrote: I found a server side bug which happens if a client connects and the server has some huge station:
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
Well then it's not much of a bug, but rather an overkill with the modeljrb00001 wrote: The station is not in the database, it is just a model with a size of 80x80.

Perhaps there is sense in making a limit on the size of the ship model.
I could increase the network packet size, so it would fit the data of such a ship.
But this would cause a lot of problems in several diferent places.
So I think it would be best to just limit the ship sizes to, let's say - 20x20?
Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
-
- Posts: 201
- Joined: Fri Jan 15, 2016 2:22 pm
Re: Hurray! Another multiplayer clone project. :)
20x20 should be big enough for ships but stations should be much bigger. As soon as you introduce npc wars, you need a way to defend important planets. My design should be able to win against a fleet with 20x10 burst 3 lasers.kcd.Spektor wrote:Well then it's not much of a bug, but rather an overkill with the modeljrb00001 wrote: The station is not in the database, it is just a model with a size of 80x80.
Perhaps there is sense in making a limit on the size of the ship model.
I could increase the network packet size, so it would fit the data of such a ship.
But this would cause a lot of problems in several diferent places.
So I think it would be best to just limit the ship sizes to, let's say - 20x20?
The increase of the packet size should not have a big impact but it is a waste of memory. I see these two ways:
- Pack that huge String in a bit field. That should reduce the size to 1/4.
- Do not send the designs to the client. Everybody has all designs with the launcher and it is easy to distribute the designs in private games. That would also make the "Downloading server data..." phase faster.
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
For that you should use more than 1 station, also there can be modular stations - for example: 1 big station consisting of 4 smaller ones.jrb00001 wrote: 20x20 should be big enough for ships but stations should be much bigger. As soon as you introduce npc wars, you need a way to defend important planets. My design should be able to win against a fleet with 20x10 burst 3 lasers.
The issue with big ships is not in the packet size but in many other places - for example: you won't be able to install, uninstall systems on a ship that is too big.The increase of the packet size should not have a big impact but it is a waste of memory.
And so on, lot's of places/mechanics will not work with ships that are too big.
Ofcourse these things can be fixed/adjusted to work with huge ships, but that would take too much time.
Right now I still have a lot of basic mechanics to add to the game, but perhaps later I may return to this.
This will work only with your launcher, but I have another launcher planned for the game.Do not send the designs to the client. Everybody has all designs with the launcher and it is easy to distribute the designs in private games.
"Downloading server data..." phase takes too long not because of the models, but because of the universe size.That would also make the "Downloading server data..." phase faster.
And I also have a plan on how to fix that later.
Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
Latest update:
Just finished adding the install/uninstall system mechanic.
In the piloting screen the systems page is now accessible.
It shows the ship layout with installed systems.

You can select a system and press uninstall.
If you uninstall a system that was upgraded - you will loose the upgrades.

When the system is uninstalled it is placed in the cargo hold of the ship.
If cargo hold is full - the system will be jettisonned.
Also, in the cargo hold page, when you select a cargo item that is a ship system, you can press install button to install it.

If you click the install button you will see the ship layout where you can select where you want to install the new system.

After you select where you want the system to be installed,
it will appear on the ship, but will be unaccessible for some time(10 sec default)

Just finished adding the install/uninstall system mechanic.
In the piloting screen the systems page is now accessible.
It shows the ship layout with installed systems.

You can select a system and press uninstall.
If you uninstall a system that was upgraded - you will loose the upgrades.

When the system is uninstalled it is placed in the cargo hold of the ship.
If cargo hold is full - the system will be jettisonned.
Also, in the cargo hold page, when you select a cargo item that is a ship system, you can press install button to install it.

If you click the install button you will see the ship layout where you can select where you want to install the new system.

After you select where you want the system to be installed,
it will appear on the ship, but will be unaccessible for some time(10 sec default)

Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
-
- Posts: 586
- Joined: Thu Nov 26, 2015 8:21 am
Re: Hurray! Another multiplayer clone project. :)
Btw.
Jrb can you make your launcher to download the client to the folder where the launcher is executed?
Jrb can you make your launcher to download the client to the folder where the launcher is executed?
Tachyon:
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events
TODO list, news and alpha server parameters, download link
TUTORIALS: Ship models, Gen Ships, Sfx Projectiles Systems, Events