diff --git a/AASBufferFix/AASBufferHelper.cs b/AASBufferFix/AASBufferHelper.cs index a71098c..a00586d 100644 --- a/AASBufferFix/AASBufferHelper.cs +++ b/AASBufferFix/AASBufferHelper.cs @@ -5,7 +5,7 @@ namespace NAK.Melons.AASBufferFix; public class AASBufferHelper : MonoBehaviour { - public bool isAcceptingAAS = true; + public bool isAcceptingAAS = false; internal PuppetMaster puppetMaster; @@ -41,11 +41,11 @@ public class AASBufferHelper : MonoBehaviour avatarFootprint = 0; isAcceptingAAS = false; } - + public void OnApplyAAS(float[] settingsFloat, int[] settingsInt, byte[] settingsByte) { //create the synced data footprint - aasFootprint = (settingsFloat.Length + 1) * ((settingsInt.Length) + 1) * ((settingsByte.Length) + 1); + aasFootprint = (settingsFloat.Length + 1) * (settingsInt.Length + 1) * (settingsByte.Length + 1); if (!SyncDataMatchesExpected()) { @@ -60,8 +60,13 @@ public class AASBufferHelper : MonoBehaviour //avatar is loaded on our screen, but wearer is syncing bad data //we will need to wait until it has loaded on their end - //there is also a chance the avatar is hidden, so the animator returned 1 on initialization - //(this was only one encounter during testing, someone being hidden by safety on world load) + //there is also a chance the avatar is hidden, so the avatar footprint returned 1 on initialization + //(this was only one encounter during testing, someone being hidden by safety on world load) (x, 1) + //these avatars do attempt to sync AAS, but the avatar footprint will never match + + //there is also a chance the avatar is an old avatar before AAS, so they do not sync any data + //and have an avatar footprint of 1 (-1, 1) + //these avatars do not seem to attempt AAS syncing, so it isnt much of a problem } else { diff --git a/AASBufferFix/Properties/AssemblyInfo.cs b/AASBufferFix/Properties/AssemblyInfo.cs index 94530b5..d9fb19f 100644 --- a/AASBufferFix/Properties/AssemblyInfo.cs +++ b/AASBufferFix/Properties/AssemblyInfo.cs @@ -25,6 +25,6 @@ using System.Reflection; namespace AASBufferFix.Properties; internal static class AssemblyInfoParams { - public const string Version = "1.0.0"; + public const string Version = "1.0.1"; public const string Author = "NotAKidoS"; } \ No newline at end of file diff --git a/AASBufferFix/format.json b/AASBufferFix/format.json index 59301c3..2d74952 100644 --- a/AASBufferFix/format.json +++ b/AASBufferFix/format.json @@ -1,12 +1,12 @@ { "_id": -1, "name": "AASBufferFix", - "modversion": "1.0.0", + "modversion": "1.0.1", "gameversion": "2022r170", "loaderversion": "0.5.7", "modtype": "Mod", "author": "NotAKidoS", - "description": "Fixes two AAS buffer issues. Remote avatars with AAS will no longer experience wardrobe malfunctions on initialization.\n\nAAS will not be applied unless the synced data matches what is expected of the loaded avatar.", + "description": "Fixes two AAS buffer issues. Remote avatars with AAS will no longer experience wardrobe malfunctions on initialization. (only affects avatar load)\n\nAAS will not be applied unless the synced data matches what is expected of the loaded avatar.", "searchtags": [ "aas", "sync", @@ -16,7 +16,7 @@ "requirements": [ "None" ], - "downloadlink": "https://github.com/NotAKidOnSteam/AASBufferFix/releases/download/v1.0.0/AASBufferFix.dll", + "downloadlink": "https://github.com/NotAKidOnSteam/AASBufferFix/releases/download/v1.0.1/AASBufferFix.dll", "sourcelink": "https://github.com/NotAKidOnSteam/AASBufferFix/", "changelog": "- Initial Release", "embedcolor": "9b59b6"