Realm Zero is an independently developed sandbox MMO game. The main focus is to get away from the traditional MMO style game play which many people have become accustomed to over the years. Players have been spoiled with tab targeted combat, bored by repetitive tasks and consumed by endless hours of level grinding. So the goal is to make a game that both the casual and the extreme gamer can enjoy without feeling like it's a life commitment.

Image RSS Feed Latest Screens
House Configurations - Dynamic House Construction - Interface House Building
Blog RSS Feed Report abuse Latest News: Realm Zero - Spawns & Zone Handling!

0 comments by realmzero on Jun 29th, 2014

Over this past month the main focus has been to re-implement and improve the network engine behind Realm Zero. Previously the system was capable of handling interactions such as chat, player movement, orientation, spells and basic item interactions. Since then the system has been improved adding a dual-layer communication process which includes both TCP & UDP streams. This allows for the transmission of critical data through the more reliable TCP protocols, while less trivial packets such as moment and orientation are sent through UDP stream.

Zone Processing
With the addition of the upgraded network components, I've started to implement split zone processing. The goal is divide up the overall work handled by the main server, while managing complex tasks such as spawns, AI and player interactions. A zone instance connects much like a player client, however it uses a different authentication protocol to establish a connection.

Take a look at the image below:


Given the example let's assume our world map only consists of 4 zones, each zone being handles by a separate processing client which could ultimately be residing on a separate server all together. Now besides the obvious  benefit of extra processing power and resource utilization we gain another very unique advantage, redundancy. Now let's say one of these zone was to crash (disconnect), the main server can detect this disconnection and automatically start another instance! While we may lose any current running values, we won't suffer a hard crash and the player is not likely to notice a difference.

Spawns & AI
The most recent component I've been constructing is the spawn handler. A spawn may consist anywhere from 1-100's of concurrent NPC(s), each with the option to run an AI script to process their interactions. Since it's pointless to run a spawn(s) for an empty world, area or zone I've implemented triggers. You should notice from the image below a green sphere and a red circle. The green sphere is the trigger area, while the red circle is the spawning area. Now a trigger goal is to load or (pop) the spawn once a player(s) are within a given range and de-spawn once the area has been idle for a given period of time. This allows the server to reclaim vital resources and processing power generated from all the NPC(s) and AI scripts. This should cause little to no impact on the players experience given that the (trigger) zone is large enough to be masked by their visual distance.


The next area of focus will be implemented harvest-able resources, which will utilize the spawn handler for generation. This will be one of the first dynamic game elements implemented as resources will spawn in dense areas for a given type and once they reach a certain percentage they will stop generating new nodes. Once a player has extracted (depleted) a node, it will be removed from the world and now the global percentage now has a chance to spawn another node somewhere throughout the area.

Which ultimately brings us to gathering and the skills associated with harvesting the nodes. The first harvest-able resources implemented will be rocks and ore, which require the mining skill. Once this system has been implemented, it will be very easy to replicate it across other resources such as: timber, herbs and other naturally occurring resources.

Media RSS Feed Latest Video
Post comment Comments  (0 - 10 of 11)
Trenial Jul 1 2014, 1:55pm says:


+2 votes     reply to comment
Jetcutter May 22 2014, 9:39pm says:

Wonderful!! Donation link?

+1 vote     reply to comment
realmzero May 22 2014, 9:56pm replied: +2 votes     reply to comment
Jetcutter Aug 3 2014, 6:42pm replied:

Donations closed

+1 vote     reply to comment
realmzero Aug 4 2014, 6:19am replied:

I'll have a new campaign in January.

+1 vote     reply to comment
AToyThing Mar 1 2014, 11:55pm says:


+2 votes     reply to comment
realmzero Mar 2 2014, 8:35am replied:

I actually just watched a video of Rust for the first time last night.

The biggest difference is that this will be a massive persistent world with guild/player hierarchy & evolving surroundings based on player population. We have a dedicated server located in Texas that runs the server environment.

+2 votes     reply to comment
Trenial Jan 17 2014, 8:57pm says:

Looking good on the rankings Hank! Ive been meaning tod rop you a line on Skype see how things are, sorry for my absence-ness! Back in the fold shortly!


+1 vote     reply to comment
Reedtheman Jan 11 2014, 10:21pm says:

You gonna make your own Darkfall like MMO with this? It reminds me of older days of Darkfall's development in a way.

+1 vote     reply to comment
realmzero Jan 16 2014, 7:27pm replied:

It will be more of a blend between Darkfall & Ultima Online with more of a sandbox approach. The idea is to let the players sculpt the world.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Realm Zero
Windows, Mac, Linux
Developer & Publisher
Realm Zero - Devs
Send Message
Official Page
Release Date
Coming Q4 2014
Game Watch
Track this game

Latest tweets from @realmzero

Working on the (networked) chat system. Implemented overhead chat text, next I'll add configuration options to...

Sep 17 2014, 8:00am

And just like that chat works! Time to add chat bubbles and enhance the chat further!

Sep 16 2014, 7:22am

Remote movement is now smooth with zero backlog on packet processing! #mmorpg #gamedev #interpolation

Sep 16 2014, 6:23am

Realm Zero - Networked Movement Test: via @YouTube

Sep 14 2014, 6:48pm

It's getting close! We have network movement & animations almost finished!

Sep 14 2014, 6:46pm

Late night network debugging!

Sep 11 2014, 11:32pm

Network Testing!!!

Sep 11 2014, 10:54pm

Players are now networked! Movement, Animations, join, leave, update, appearance. Still needs more work, but it works!! #mmorpg #mmo

Sep 11 2014, 8:48pm

Got the base network animation synchronization code working! Converting it to RPC tomorrow since it doesn't need network evaluation.

Sep 11 2014, 12:56am

Reduced network ping from an insane 1200, to 300 and now through packet optimization average of 65 (Florida) -> (Texas)! #mmorpg

Sep 10 2014, 11:22pm

Embed Buttons

Promote Realm Zero on your homepage or blog by selecting a button and using the HTML code provided (more).

Realm Zero
Realm Zero
5,811 of 24,115
Last Update
4 days ago
59 members