Game Development Community

Objects in Dedicated Server

by Jules · in Torque Game Engine · 03/01/2009 (4:38 am) · 6 replies

Anyone know what the reliability is of adding a large number of objects dynamically from a database before a player spawns in dedicated server?

#1
03/01/2009 (4:43 am)
And if the objects are picked up and dropped somewhere before a new player spawns, will ghosts of this object be present, or would I need to update the state of the objects location by re-checking and updating the database, or is it easily done during run-time?
#2
03/01/2009 (5:04 am)
Found the answer to my second question... server keeps track of all objects and ghosts :) even if their location changes.
#3
03/03/2009 (8:43 am)
dynamically adding objects on the server is a-okay.
they'll get ghosted to clients as appropriate.
how many objects are you thinking ?
#4
03/03/2009 (4:05 pm)
thanks Orion. Not sure yet, but may add them within a specified time gap, instead of all at once.
#5
03/03/2009 (10:37 pm)
The rate at which you add them won't affect the networking behavior. Unless the whole dedicated server freezes for a while because you adding so many - in which case no packets will be sent or received until you're done.
#6
03/06/2009 (2:27 pm)
Thanks Ben.