mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
Update dependancies
This commit is contained in:
parent
6a34745a5f
commit
6627ca5dc4
7 changed files with 35 additions and 13 deletions
|
@ -23,6 +23,9 @@
|
|||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="6.0.7" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
||||
<GenerateBindingRedirectsOutputType>false</GenerateBindingRedirectsOutputType>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: hisp
|
||||
Version: 1.7.87
|
||||
Version: 1.7.90
|
||||
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
|
||||
Maintainer: Li
|
||||
Homepage: https://islehorse.com
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.0-preview.6.22329.4" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="6.0.7" />
|
||||
<PackageReference Include="MySqlConnector" Version="2.1.11" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2-beta1" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
|
|
|
@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
|
|||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.7.87.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.87.0")]
|
||||
[assembly: AssemblyVersion("1.7.90.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.90.0")]
|
||||
|
|
|
@ -9,6 +9,7 @@ using HISP.Security;
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using System.IO;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
|
@ -64,11 +65,22 @@ namespace HISP.Server
|
|||
{
|
||||
Exception execpt = (Exception)e.ExceptionObject;
|
||||
|
||||
|
||||
Logger.ErrorPrint("HISP HAS CRASHED :(");
|
||||
Logger.ErrorPrint("Unhandled Exception: " + execpt.ToString());
|
||||
Logger.ErrorPrint(execpt.StackTrace);
|
||||
|
||||
new EventWaitHandle(false, EventResetMode.ManualReset).WaitOne();
|
||||
|
||||
try
|
||||
{
|
||||
File.AppendAllText("crashlog.txt", "HISP HAS CRASHED :(\n");
|
||||
File.AppendAllText("crashlog.txt", "Unhandled Exception: " + execpt.ToString() + "\n");
|
||||
File.AppendAllText("crashlog.txt", execpt.StackTrace + "\n");
|
||||
}
|
||||
catch (Exception) { };
|
||||
|
||||
GameServer.ShutdownServer();
|
||||
Thread.Sleep(5000);
|
||||
Environment.Exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8259,10 +8259,17 @@ namespace HISP.Server
|
|||
public static void ShutdownServer()
|
||||
{
|
||||
Logger.InfoPrint("Shutting down.");
|
||||
GameClient.OnShutdown();
|
||||
GameServer.OnShutdown();
|
||||
Database.OnShutdown();
|
||||
Entry.OnShutdown();
|
||||
try
|
||||
{
|
||||
GameClient.OnShutdown();
|
||||
GameServer.OnShutdown();
|
||||
Database.OnShutdown();
|
||||
Entry.OnShutdown();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Environment.Exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void StartServer()
|
||||
|
|
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.7.87.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.87.0")]
|
||||
[assembly: AssemblyVersion("1.7.90.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.90.0")]
|
||||
|
|
Loading…
Add table
Reference in a new issue