This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey everyone, it's me again with week #3! Yay! 3 weeks in a row, this is going great! So, week #2 was the spawning system work, to get the mobs, ressources and what not to appear, this week, we are talking about persistence! Here is how the week went :
- Beginning of the week. So, to start the week off, work had to be done to make sure everything that was spawning server side would appear client side, this means, showing the player what is around him. What is being shown to the player is everything that resides inside what the devs call an "Area of interest", which is a specific range around the player itself (last time this was talked about, there was a mention of a 3x3 area around the player). This is complete and works!
- The rest of the week, the devs tried adding in the actual persistence of these chunks, which is not a piece of cake. Basically, once mobs and resources are spawned in a chunk, if the player leaves this chunk, the entities inside of it need to be saved back server side, so that if the player returns quickly to the chunk, he returns to it looking the same as when he left it. Many issues have to be resolved concerning this persistence state, notably the speed at which everything is being saved. On average, 300 entities are being spawned in when a new chunk loads, this means that when the player leaves the chunk, 300 or so entities need to be saved back onto the server. During the first few test runs, everything worked fine, but the time to save everything back on the server is actually too long (sometimes a few minutes, imagine 50 players changing chunks at the same time!).
So, plans for the next week is to fix the issues, especially the time it takes to save everything back onto the server!
Once again, feel free to comment, or even ask questions! Genar follows reddit (and if I see a question that I cannot answer myself, I will be bugging Genar to go answer it do not worry!)
Also, feel free to join the discord community HERE, and see you all next week!
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/ParallelOri...