Game Development Community

Dedicated Server with no players

by Howard Dortch · in Torque Game Engine · 07/28/2009 (2:35 pm) · 1 replies

I have a dedicated server that I would like to keep running even if there are no players. I noticed when the last person leaves the game it cycles to a reset condition. When the first person logs in to the game it starts a game. I dont want it to stop so can anyone point me to the code that forces a reset when last player leaves?

#1
07/29/2009 (1:13 am)
I don't have the code right now, but check the function onClientLeaveMission , I'm not sure if that is the correct name, anyways in that function there is a check to see if the client is the last one, and so it reset the mission.