登录修正,添加ICO

This commit is contained in:
Longfeng Qin 2024-09-12 09:37:33 +08:00
parent e4d927d271
commit 112b63a520
7 changed files with 14 additions and 9 deletions

View File

@ -217,6 +217,7 @@ namespace PSO2SERVER
LogPacket(true, typeA, typeB, flags1, flags2, packet);
if (handler != null)
handler.HandlePacket(this, flags1, packet, 0, size);
else
{

View File

@ -97,16 +97,12 @@ namespace PSO2SERVER.Packets.Handlers
}
}
if(error != "")
{
context.SendPacket(new LoginDataPacket("Server Block 1", error, (user == null) ? (uint)0 : (uint)user.PlayerId));
return;
}
// Mystery packet
var mystery = new PacketWriter();
mystery.Write((uint)100);
context.SendPacket(0x11, 0x49, 0, mystery.ToArray());
//var mystery = new PacketWriter();
//mystery.Write((uint)100);
//context.SendPacket(0x11, 0x49, 0, mystery.ToArray());
// Login response packet

View File

@ -51,6 +51,8 @@
<LangVersion>7.0</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
@ -62,6 +64,9 @@
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<HintPath>..\packages\BouncyCastle.Cryptography.2.4.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
@ -208,7 +213,9 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\System.Data.SQLite.Core.1.0.94.0\build\net40\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.94.0\build\net40\System.Data.SQLite.Core.targets')" />
<ItemGroup />
<ItemGroup>
<Content Include="favicon.ico" />
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
<Properties>

View File

@ -31,6 +31,7 @@
<bindingRedirect oldVersion="0.0.0.0-3.28.0.0" newVersion="3.28.0.0" />
</dependentAssembly>
</assemblyBinding>
<probing privatePath="lib;plugins" />
</runtime>
<entityFramework>
<providers>

BIN
Server/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
素材/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
素材/ico.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB