From c40c965d7eea96a3b68ff495bc2cad8d97007c41 Mon Sep 17 00:00:00 2001
From: Li
Date: Mon, 6 Jan 2025 15:43:36 +1300
Subject: [PATCH] Fix 2player for real
---
HorseIsleServer/HISPd/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/HISPd/Resources/DEBIAN/control | 2 +-
HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/LibHISP/Server/PacketBuilder.cs | 4 ++--
HorseIsleServer/MPN00BS/Properties/AssemblyInfo.cs | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
index 864ae02..a40e782 100755
--- a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
@@ -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.8.68.0")]
-[assembly: AssemblyFileVersion("1.8.68.0")]
+[assembly: AssemblyVersion("1.8.73.0")]
+[assembly: AssemblyFileVersion("1.8.73.0")]
diff --git a/HorseIsleServer/HISPd/Resources/DEBIAN/control b/HorseIsleServer/HISPd/Resources/DEBIAN/control
index 0e5b158..1350d9e 100755
--- a/HorseIsleServer/HISPd/Resources/DEBIAN/control
+++ b/HorseIsleServer/HISPd/Resources/DEBIAN/control
@@ -1,5 +1,5 @@
Package: hisp
-Version: 1.8.68
+Version: 1.8.73
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
Maintainer: Li
Homepage: https://islehorse.com
diff --git a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
index 589621f..cb52358 100755
--- a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
@@ -30,8 +30,8 @@ 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.8.68.0")]
-[assembly: AssemblyFileVersion("1.8.68.0")]
+[assembly: AssemblyVersion("1.8.73.0")]
+[assembly: AssemblyFileVersion("1.8.73.0")]
diff --git a/HorseIsleServer/LibHISP/Server/PacketBuilder.cs b/HorseIsleServer/LibHISP/Server/PacketBuilder.cs
index f500279..5cacf18 100755
--- a/HorseIsleServer/LibHISP/Server/PacketBuilder.cs
+++ b/HorseIsleServer/LibHISP/Server/PacketBuilder.cs
@@ -309,9 +309,9 @@ namespace HISP.Server
// this is used for *most* SwfModule
public static byte[] CreateForwardedSwfModule(byte[] request)
{
- byte[] packet = new byte[1 + (request.Length-1)];
+ byte[] packet = new byte[1 + (request.Length-3)];
packet[0] = PACKET_SWFMODULE;
- Array.Copy(request, 0, packet, 1, (request.Length-2));
+ Array.Copy(request, 2, packet, 1, (request.Length-3));
return packet;
}
// Creates a byte array that contains "Bird Map" data
diff --git a/HorseIsleServer/MPN00BS/Properties/AssemblyInfo.cs b/HorseIsleServer/MPN00BS/Properties/AssemblyInfo.cs
index 9dd10fd..dc7b03a 100755
--- a/HorseIsleServer/MPN00BS/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/MPN00BS/Properties/AssemblyInfo.cs
@@ -30,8 +30,8 @@ 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.8.68.0")]
-[assembly: AssemblyFileVersion("1.8.68.0")]
+[assembly: AssemblyVersion("1.8.73.0")]
+[assembly: AssemblyFileVersion("1.8.73.0")]