static void Main(string[] args) { Console.Title = "Grindfest Server"; GameServer server = new GameServer(); server.Run(); }
private static void Main(string[] args) { Console.Title = "OpenORPG Server"; //Console.WindowWidth = 100; var server = new GameServer(); server.Run(); }
public Lobby(GameServer server) { PlayableSlots = 2; MaxSlots = 8; idToGive = 0; myServer = server; clients = new List<NetConnection>(); Name = "Diamond Tiaras Death Room"; Description = "Testing Server Descriptions"; }
private static void Main(string[] args) { Settings.Init("Resources/Data/Buildings.xml", "Resources/Data/Units.xml"); var server = new GameServer(5555); //server.SetGame(new StandardMelee(server, 1)); server.Start(); var stopwatch = new Stopwatch(); stopwatch.Restart(); while (true) { var dt = (float) (stopwatch.Elapsed.TotalSeconds*1000); stopwatch.Restart(); server.Update(dt); Thread.Sleep(100); } }