HISP/Horse Isle Server/HorseIsleServer/Program.cs
2021-01-28 20:56:27 +13:00

30 lines
810 B
C#

using System;
using System.IO;
using System.Reflection;
using HISP.Game;
using HISP.Game.Horse;
using HISP.Game.SwfModules;
using HISP.Security;
using HISP.Server;
namespace HISP
{
class Program
{
static void Main(string[] args)
{
Console.Title = "HISP - Horse Isle Server Emulator";
Directory.SetCurrentDirectory(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
ConfigReader.OpenConfig();
CrossDomainPolicy.GetPolicy();
Database.OpenDatabase();
GameDataJson.ReadGamedata();
Map.OpenMap();
World.ReadWorldData();
DroppedItems.Init();
WildHorse.Init();
Brickpoet.LoadPoetryRooms();
GameServer.StartServer();
}
}
}