diff --git a/Server/Client.cs b/Server/Client.cs index ebdc3cc..fd16ebd 100644 --- a/Server/Client.cs +++ b/Server/Client.cs @@ -217,6 +217,7 @@ namespace PSO2SERVER LogPacket(true, typeA, typeB, flags1, flags2, packet); if (handler != null) + handler.HandlePacket(this, flags1, packet, 0, size); else { diff --git a/Server/Packets/Handlers/Login.cs b/Server/Packets/Handlers/Login.cs index 2ceaf02..c0f29b2 100644 --- a/Server/Packets/Handlers/Login.cs +++ b/Server/Packets/Handlers/Login.cs @@ -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; - } + context.SendPacket(new LoginDataPacket("Server Block 1", error, (user == null) ? (uint)0 : (uint)user.PlayerId)); // 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 diff --git a/Server/Server.csproj b/Server/Server.csproj index e523ca9..ffb4c58 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -51,6 +51,8 @@ 7.0 prompt false + + bin\Release\ @@ -62,6 +64,9 @@ prompt false + + favicon.ico + ..\packages\BouncyCastle.Cryptography.2.4.0\lib\net461\BouncyCastle.Cryptography.dll @@ -208,7 +213,9 @@ - + + + diff --git a/Server/app.config b/Server/app.config index 83e1de4..82586be 100644 --- a/Server/app.config +++ b/Server/app.config @@ -31,6 +31,7 @@ + diff --git a/Server/favicon.ico b/Server/favicon.ico new file mode 100644 index 0000000..e28b32a Binary files /dev/null and b/Server/favicon.ico differ diff --git a/素材/favicon.ico b/素材/favicon.ico new file mode 100644 index 0000000..e28b32a Binary files /dev/null and b/素材/favicon.ico differ diff --git a/素材/ico.png b/素材/ico.png new file mode 100644 index 0000000..e0aaf9a Binary files /dev/null and b/素材/ico.png differ