Added /debug-config

Added Version codename
Added version tick early
This commit is contained in:
Shank 2011-06-04 21:56:24 -06:00
parent 30a200b6e0
commit 3f3b1cc40e
3 changed files with 40 additions and 4 deletions

View file

@ -15,7 +15,9 @@ namespace TShockAPI
public static string saveDir = "./tshock/";
public static Version VersionNum = new Version(1, 6, 0, 0);
public static Version VersionNum = new Version(1, 7, 0, 0);
public static string VersionCodename = "Bugless Beast";
public static bool shownVersion = false;
@ -111,6 +113,7 @@ namespace TShockAPI
{
Console.WriteLine(ex.ToString());
}
Console.WriteLine("TShock Version " + Version.Major + "." + Version.Minor + "." + Version.Build + "." + Version.Revision + " (" + VersionCodename + ") now running.");
Log.Initialize(FileTools.SaveDir + "log.txt", LogLevel.All, true);
Log.Info("Starting...");
GameHooks.OnPreInitialize += OnPreInit;
@ -372,11 +375,11 @@ namespace TShockAPI
}
}
}
<<<<<<< HEAD
<<<<<<< HEAD
else if (e.MsgID == 0x22) // Client only KillTile
e.Handled = true; // Client only uses it for chests, but sends regular 17 as well.
=======
>>>>>>> master
=======
>>>>>>> master
}
catch (Exception ex)
{