Multiplayer?

View previous topic View next topic Go down

Multiplayer?

Post by croxxx on Thu Jul 21, 2011 11:16 pm

Hi Slaihne,

Then will there be multiplayer mode in BlokWorld and what modes will there be?
Is it just going to be sandbox mode or also "co-op"?
It would be great if I could play with my friends...

Greets,
croxxx

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: Multiplayer?

Post by Slaihne on Fri Jul 22, 2011 6:27 am

Hi Croxx,

I've a lot of ideas for multiplayer...

Sandbox: help your friends build, with or without mobs.
PvP: have wars.
Challenge: Clans build bases, other clans storm them.


The server will be a completely seperate dedicated program.
I want the server to be written in Mono so that it can run on Linux as well as Windows. Unforunately i have never used Mono but i'm looking into it atm.

The main points of the multiplayer are...

1. An Octree compression routine for the chunks. The chunks will be held in compressed format on the server, both on disk and in memory.

2. A changelist for each chunk that records which blocks have been altered and in what order.

These two are both going to be used in the single player version too. They will allow the chunks to be saved to disk better. When you alter a block at the moment the whole uncompressed chunk is saved to file and it is big Smile

I want an altered block to only write out a sequence number, a coord within the chunk and what it is altered to. The process to read a block is just to generate it as normal then get the changes from disk and write them to the chunk. This will massively reduce disk traffic (and size).

There will be a few things to work out, like when to bake changes directly into the chunk when they get too numerous, but i'll get there.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: Multiplayer?

Post by croxxx on Fri Jul 22, 2011 7:52 am

Slaihne wrote:
Sandbox: help your friends build, with or without mobs.
PvP: have wars.
Challenge: Clans build bases, other clans storm them.
Sounds VERY nice!
How about a CTB (Capture the Block) mode in which two (or more?) teams try to get a specific (golden) block?
Or a survival mode where hou have to fight against different waves of mobs...

Slaihne wrote:
There will be a few things to work out, like when to bake changes directly into the chunk when they get too numerous, but i'll get there.
How about an array list that stores a fixed number of changes (e.g. 500) declared by the user according to PC speed?

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: Multiplayer?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum