Skip to content

Commit

Permalink
update for 6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Limiana committed Oct 4, 2023
1 parent c346feb commit 734a52c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
24 changes: 9 additions & 15 deletions AntiAfkKick-Dalamud/AntiAfkKick-Dalamud.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>NightmareXIV</Authors>
<Version>2.1.0.3</Version>
<Version>2.1.0.5</Version>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -24,16 +24,6 @@

<PropertyGroup>
<DalamudLibPath>$(appdata)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
rmdir .\Release /s /q
ping localhost -n 2 &gt;nul
powershell "(Get-Content .\$(MSBuildProjectName).json) -Replace '9.0.0.0', '$(Version)' | Set-Content .\$(MSBuildProjectName).json"
powershell Compress-Archive .\* ..\$(MSBuildProjectName)-$(Version).zip
mkdir .\Release
move ..\$(MSBuildProjectName)-$(Version).zip .\release\$(MSBuildProjectName).zip
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DalamudPackager" Version="2.1.12" />
Expand Down Expand Up @@ -61,10 +51,14 @@
<HintPath>$(DalamudLibPath)Lumina.Excel.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FFXIVClientStructs">
<HintPath>$(DalamudLibPath)FFXIVClientStructs.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FFXIVClientStructs">
<HintPath>$(DalamudLibPath)FFXIVClientStructs.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Serilog">
<HintPath>$(DalamudLibPath)Serilog.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion AntiAfkKick-Dalamud/AntiAfkKick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void Dispose()
public AntiAfkKick(DalamudPluginInterface pluginInterface)
{
pluginInterface.Create<Svc>();
UnkFuncHook = Svc.Hook.HookFromAddress<UnkFunc>(Svc.SigScanner.ScanText("48 8B C4 48 89 58 18 48 89 70 20 55 57 41 55"), UnkFunc_Dtr);
UnkFuncHook = Svc.Hook.HookFromAddress<UnkFunc>(Svc.SigScanner.ScanText("48 8B C4 48 89 58 18 48 89 70 20 55 57 41 54 41 56 41 57 48 8D 68 A1"), UnkFunc_Dtr);
UnkFuncHook.Enable();
try
{
Expand Down

0 comments on commit 734a52c

Please sign in to comment.