Skip to content

Commit

Permalink
Running and working 3.9 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 24, 2024
1 parent e566206 commit f56290d
Show file tree
Hide file tree
Showing 49 changed files with 196 additions and 153 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Aki.Custom.Airdrops.Models
namespace SPT.Custom.Airdrops.Models
{
/// <summary>
/// Created by: SPT-Aki team
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Aki.Custom.Airdrops.Models
namespace SPT.Custom.Airdrops.Models
{
/// <summary>
/// Created by: SPT-Aki team
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Aki.Custom.Airdrops.Models;
using Newtonsoft.Json;
using Newtonsoft.Json;
using SPT.Custom.Airdrops.Models;
using UnityEngine;

namespace Fika.Core.AkiSupport.Airdrops.Models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Reflection.Patching;
using Comfort.Common;
using Comfort.Common;
using EFT;
using EFT.Airdrop;
using SPT.Reflection.Patching;

Check failure on line 4 in Fika.Core/AkiSupport/Airdrops/Patches/FikaAirdropFlare_Patch.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Reflection' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using System.Linq;
using System.Reflection;

Expand Down
6 changes: 3 additions & 3 deletions Fika.Core/AkiSupport/Airdrops/Utils/FikaAirdropUtil.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Aki.Common.Http;
using Aki.Custom.Airdrops.Models;
using EFT;
using EFT;
using EFT.Airdrop;
using Fika.Core.AkiSupport.Airdrops.Models;
using Newtonsoft.Json;
using SPT.Common.Http;

Check failure on line 5 in Fika.Core/AkiSupport/Airdrops/Utils/FikaAirdropUtil.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Common' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Custom.Airdrops.Models;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
6 changes: 3 additions & 3 deletions Fika.Core/AkiSupport/Airdrops/Utils/FikaItemFactoryUtil.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Aki.Common.Http;
using Aki.Custom.Airdrops.Models;
using BepInEx.Logging;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
using EFT.Interactive;
using EFT.InventoryLogic;
using Fika.Core;
using Newtonsoft.Json;
using SPT.Common.Http;

Check failure on line 8 in Fika.Core/AkiSupport/Airdrops/Utils/FikaItemFactoryUtil.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Common' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Custom.Airdrops.Models;
using System.Linq;

namespace Aki.Custom.Airdrops.Utils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Reflection.Patching;
using EFT;
using EFT;
using Fika.Core.Coop.Players;
using HarmonyLib;
using SPT.Reflection.Patching;

Check failure on line 4 in Fika.Core/AkiSupport/Overrides/AddEnemyToAllGroupsInBotZonePatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Reflection' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using System.Collections.Generic;
using System.Reflection;

Expand Down
6 changes: 3 additions & 3 deletions Fika.Core/AkiSupport/Overrides/BotDifficultyPatch_Override.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Common.Http;
using Aki.Reflection.Patching;
using EFT;
using EFT;
using Fika.Core.Coop.Matchmaker;
using SPT.Common.Http;

Check failure on line 3 in Fika.Core/AkiSupport/Overrides/BotDifficultyPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Common' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Reflection.Patching;

Check failure on line 4 in Fika.Core/AkiSupport/Overrides/BotDifficultyPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Reflection' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using System.Reflection;

namespace Fika.Core.AkiSupport.Overrides
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Common.Http;
using Aki.Reflection.Patching;
using Fika.Core.Coop.Matchmaker;
using Fika.Core.Coop.Matchmaker;
using HarmonyLib;
using SPT.Common.Http;

Check failure on line 3 in Fika.Core/AkiSupport/Overrides/BotTemplateLimitPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Common' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Reflection.Patching;

Check failure on line 4 in Fika.Core/AkiSupport/Overrides/BotTemplateLimitPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Reflection' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using System;
using System.Collections.Generic;
using System.Reflection;
Expand Down
8 changes: 4 additions & 4 deletions Fika.Core/AkiSupport/Overrides/MaxBotPatch_Override.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Common.Http;
using Aki.Reflection.Patching;
using Aki.Reflection.Utils;
using Fika.Core.Coop.Matchmaker;
using Fika.Core.Coop.Matchmaker;
using SPT.Common.Http;

Check failure on line 2 in Fika.Core/AkiSupport/Overrides/MaxBotPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Common' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Reflection.Patching;

Check failure on line 3 in Fika.Core/AkiSupport/Overrides/MaxBotPatch_Override.cs

View workflow job for this annotation

GitHub Actions / test

The type or namespace name 'Reflection' does not exist in the namespace 'SPT' (are you missing an assembly reference?)
using SPT.Reflection.Utils;
using System.Reflection;

namespace Fika.Core.AkiSupport.Overrides
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Aki.Reflection.Patching;
using EFT.UI;
using EFT.UI;
using EFT.UI.Matchmaker;
using HarmonyLib;
using SPT.Reflection.Patching;
using System;
using System.Collections.Generic;
using System.Reflection;
Expand Down
6 changes: 3 additions & 3 deletions Fika.Core/AkiSupport/Scav/ScavProfileLoad_Override.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Aki.Reflection.Patching;
using EFT;
using EFT;
using SPT.Reflection.Patching;
using System.Reflection;

namespace Fika.Core.AkiSupport.Scav
{
internal class ScavProfileLoad_Override : ModulePatch
{
protected override MethodBase GetTargetMethod() => typeof(TarkovApplication).GetMethod(nameof(TarkovApplication.method_46));
protected override MethodBase GetTargetMethod() => typeof(TarkovApplication).GetMethod(nameof(TarkovApplication.method_50));

[PatchPrefix]
private static void PatchPrefix(ref string profileId, Profile savageProfile, RaidSettings ____raidSettings)
Expand Down
4 changes: 2 additions & 2 deletions Fika.Core/Coop/Airdrops/FikaAirdropsManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Aki.Custom.Airdrops.Models;
using Aki.Custom.Airdrops.Utils;
using Aki.Custom.Airdrops.Utils;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
Expand All @@ -13,6 +12,7 @@
using Fika.Core.Networking;
using LiteNetLib;
using LiteNetLib.Utils;
using SPT.Custom.Airdrops.Models;
using System;
using System.Collections;
using UnityEngine;
Expand Down
12 changes: 6 additions & 6 deletions Fika.Core/Coop/BTR/FikaBTRManager_Client.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Aki.Custom.BTR;
using Aki.Custom.BTR.Utils;
using Aki.SinglePlayer.Utils.TraderServices;
using BepInEx.Logging;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
using EFT.AssetsManager;
Expand All @@ -13,6 +10,9 @@
using Fika.Core.Networking;
using HarmonyLib;
using LiteNetLib.Utils;
using SPT.Custom.BTR;
using SPT.Custom.BTR.Utils;
using SPT.SinglePlayer.Utils.TraderServices;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -360,8 +360,8 @@ private BTRDataPacket UpdateDataPacket()
btrDataPacket.rotation = btrServerSide.transform.rotation;
if (btrTurretServer != null && btrTurretServer.gunsBlockRoot != null)
{
btrDataPacket.turretRotation = btrTurretServer.transform.rotation;
btrDataPacket.gunsBlockRotation = btrTurretServer.gunsBlockRoot.rotation;
btrDataPacket.turretRotation = btrTurretServer.transform.localEulerAngles.y;
btrDataPacket.gunsBlockRotation = btrTurretServer.gunsBlockRoot.localEulerAngles.x;
}
btrDataPacket.State = (byte)btrServerSide.BtrState;
btrDataPacket.RouteState = (byte)btrServerSide.VehicleRouteState;
Expand Down
12 changes: 6 additions & 6 deletions Fika.Core/Coop/BTR/FikaBTRManager_Host.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Aki.Custom.BTR;
using Aki.Custom.BTR.Utils;
using Aki.SinglePlayer.Utils.TraderServices;
using BepInEx.Logging;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
using EFT.GlobalEvents;
Expand All @@ -13,6 +10,9 @@
using HarmonyLib;
using LiteNetLib;
using LiteNetLib.Utils;
using SPT.Custom.BTR;
using SPT.Custom.BTR.Utils;
using SPT.SinglePlayer.Utils.TraderServices;
using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -481,8 +481,8 @@ private BTRDataPacket UpdateDataPacket()
btrDataPacket.rotation = btrServerSide.transform.rotation;
if (btrTurretServer != null && btrTurretServer.gunsBlockRoot != null)
{
btrDataPacket.turretRotation = btrTurretServer.transform.rotation;
btrDataPacket.gunsBlockRotation = btrTurretServer.gunsBlockRoot.rotation;
btrDataPacket.turretRotation = btrTurretServer.transform.localEulerAngles.y;
btrDataPacket.gunsBlockRotation = btrTurretServer.gunsBlockRoot.localEulerAngles.x;
}
btrDataPacket.State = (byte)btrServerSide.BtrState;
btrDataPacket.RouteState = (byte)btrServerSide.VehicleRouteState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using static EFT.ClientFirearmController;

namespace Fika.Core.Coop.ClientClasses
{
Expand Down
1 change: 0 additions & 1 deletion Fika.Core/Coop/Custom/FikaDynamicAI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Fika.Core.Coop.Components;
using Fika.Core.Coop.Players;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;

namespace Fika.Core.Coop.Custom
Expand Down
4 changes: 2 additions & 2 deletions Fika.Core/Coop/FreeCamera/FadeBlackScreen_Patch.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Aki.Reflection.Patching;
using EFT.UI;
using EFT.UI;
using SPT.Reflection.Patching;
using System;
using System.Reflection;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/FreeCamera/Patches/DeathFade_Patch.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Aki.Reflection.Patching;
using SPT.Reflection.Patching;
using System;
using System.Reflection;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/GameMode/AFikaGame.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*using Aki.Reflection.Utils;
/*using SPT.Reflection.Utils;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
Expand Down
Loading

0 comments on commit f56290d

Please sign in to comment.