Forum C# Persitent World with unique Rooms

Persitent World with unique Rooms

Postby swell » February 20th, 2012, 1:11 pm

Hi there,

we’re building a persistent world MMO.

The game world is divided into zones, similar to „Everquest“ for example. We use PlayerIO rooms for this, obviously.

Each zone in the world is unique. For example, zones could be called „Joe’s Tavern“ or „Forest Clearing“.

There could be hundreds of such rooms in the game world.

We are trying to find out what is the best way to implement this in Player.IO.

There seems to be no way to define unique rooms, other than by using RoomType. This however would lead to having hundreds of Room classes in our code, all with the same behavior. Not terribly elegant perhaps.

Any advice on this topic?
swell
 
Posts: 8
Joined: May 25th, 2011, 9:17 am

Re: Persitent World with unique Rooms

Postby Beast » February 20th, 2012, 11:52 pm

Maybe define the room zones in your room data?
~Beast

Image
Site for my upcoming game!
Beast
 
Posts: 38
Joined: December 20th, 2011, 8:14 pm

Re: Persitent World with unique Rooms

Postby Benjaminsen » February 27th, 2012, 1:30 pm

Simply tie each unique room to a unique room id.

Very easy way to do this is to use the room id to load a configuration object from BigDB

/Chris
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to C#