I have just finished commenting and adding the last members that I
forgot and here it is.(Attached).
For those of you that don't code I explain brieftly the meaning:
* Uint8 is an number from 0 to 255.
* Uint16 from 0 to 65535
* Uint32 from 0 to 4294967296
* String is just a sequence of characters.
* List is a list of whatever is placed after it.
It is very important not to let anything out now, as it will be hard
to add new attribs once the system is running.
Most of the attribs are heavily related to the RP system, so if you
haven't done, you should read it on
Objects will have the next heriarchy:
Note that BaseObject has all the attributes of Object and so
TerrainObject. The same relation applies between BaseObject
The TRUE object classes tree will be build on the RP based on Peter's
Object will represent the minimun amount of information requiered to
represent an object on the client.
BaseObject will be the minimum amount of info needed to manipulate an
object on the RP.
LivingObject will be used for complex iterations that requiere to
apply rules based on attribs.
TerrainObject is a piece of terrain ( Terrain won't be modiable by now
:-(, it is simply to complex as it will increase the object
number about 1000 times ).
I have done a estimation of size and a common object will take more or
less between 70~150 bytes, and a Living object more
than 200. So a common sense estimation would place over 100.000
objects per server. With and estimation of 25 Base
Objects per each Living Object. It will take over 10 Mb of memory to
mantain ALL of them on memory. Then just depending
on CPU speed and Memory size this number can be increased.