Skip to content

Commit

Permalink
Merge pull request #10 from berichan/main
Browse files Browse the repository at this point in the history
Merge Berichans Updated Pointers DLC 2 w/ My Edits
  • Loading branch information
XieonCrypto authored Apr 12, 2024
2 parents 573f093 + 8574a8d commit 1a97372
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 43 deletions.
10 changes: 3 additions & 7 deletions SysBot.Pokemon.ConsoleApp/SysBot.Pokemon.ConsoleApp.csproj
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<Platforms>x64</Platforms>
<StartupObject>SysBot.Pokemon.ConsoleApp.Program</StartupObject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<ProjectReference Include="..\SysBot.Pokemon.Discord\SysBot.Pokemon.Discord.csproj" />
<ProjectReference Include="..\SysBot.Pokemon.Twitch\SysBot.Pokemon.Twitch.csproj" />
<ProjectReference Include="..\SysBot.Pokemon\SysBot.Pokemon.csproj" />
<ProjectReference Include="..\SysBot.Pokemon.Z3\SysBot.Pokemon.Z3.csproj" />
<ProjectReference Include="..\SysBot.Pokemon.Web\SysBot.Pokemon.Web.csproj" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('net4')) AND '$(Configuration)' == 'Release' ">
<PackageReference Include="Costura.Fody" Version="4.1.0" />
<PackageReference Include="Fody" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

</Project>
</Project>
4 changes: 2 additions & 2 deletions SysBot.Pokemon.Discord/SysBot.Pokemon.Discord.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<Platforms>AnyCPU</Platforms>
Expand All @@ -11,7 +11,7 @@
<PackageReference Include="Discord.Net" Version="3.4.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.2" />
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<ProjectReference Include="..\SysBot.Base\SysBot.Base.csproj" />
<ProjectReference Include="..\SysBot.Pokemon\SysBot.Pokemon.csproj" />
<Reference Include="PKHeX.Core.AutoMod">
Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.Twitch/SysBot.Pokemon.Twitch.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<PackageReference Include="TwitchLib.Client" Version="3.2.3" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.Twitter/SysBot.Pokemon.Twitter.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<PackageReference Include="TweetinviAPI" Version="5.0.3" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.Web/SysBot.Pokemon.Web.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.0" />
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.WinForms/SysBot.Pokemon.WinForms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net7.0-windows</TargetFrameworks>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<PackageId>SysBot.Pokemon.WinForms</PackageId>
<Company>Project Pokémon</Company>
Expand Down Expand Up @@ -31,7 +31,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<PackageReference Include="System.Resources.Extensions" Version="5.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.YouTube/SysBot.Pokemon.YouTube.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
Expand All @@ -13,7 +13,7 @@
<PackageReference Include="Google.Apis.Core" Version="1.55.0" />
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.55.0.2449" />
<PackageReference Include="Google.Apis.YouTubePartner.v1" Version="1.35.1.1334" />
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions SysBot.Pokemon.Z3/SysBot.Pokemon.Z3.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<Platforms>x64;AnyCPU</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<ProjectReference Include="..\SysBot.Pokemon\SysBot.Pokemon.csproj" />
</ItemGroup>

Expand Down
22 changes: 11 additions & 11 deletions SysBot.Pokemon/SV/Vision/PokeDataOffsetsSV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ public static class PokeDataOffsetsSV
public const string ScarletID = "0100A3D008C5C000";
public const string VioletID = "01008F6008C5E000";

public static IReadOnlyList<long> BoxStartPokemonPointer { get; } = new long[] { 0x46456F8, 0x1A0, 0x30, 0x9D0, 0x00 };
public static IReadOnlyList<long> MyStatusPointer { get; } = new long[] { 0x4623A30, 0x198, 0x00, 0x40 };
public static IReadOnlyList<long> BoxStartPokemonPointer { get; } = new long[] { 0x4763BB8, 0x1A0, 0x30, 0x9D0, 0x00 };
public static IReadOnlyList<long> MyStatusPointer { get; } = new long[] { 0x4741FA0, 0x198, 0x00, 0x40 };

public static IReadOnlyList<long> LinkTradePartnerPokemonPointer { get; } = new long[] { 0x461BE58, 0x48, 0x58, 0x40, 0x148 };
public static IReadOnlyList<long> LinkTradePartnerNameSlot1Pointer { get; } = new long[] { 0x461BE58, 0x48, 0xB0, 0x00 };
public static IReadOnlyList<long> LinkTradePartnerNameSlot2Pointer { get; } = new long[] { 0x461BE58, 0x48, 0xE0, 0x00 };
public static IReadOnlyList<long> LinkTradePartnerNIDPointer { get; } = new long[] { 0x46404B8, 0xF8, 0x08 };
public static IReadOnlyList<long> LinkTradePartnerPokemonPointer { get; } = new long[] { 0x473A110, 0x48, 0x58, 0x40, 0x148 };
public static IReadOnlyList<long> LinkTradePartnerNameSlot1Pointer { get; } = new long[] { 0x473A110, 0x48, 0xB0, 0x00 };
public static IReadOnlyList<long> LinkTradePartnerNameSlot2Pointer { get; } = new long[] { 0x473A110, 0x48, 0xE0, 0x00 };
public static IReadOnlyList<long> LinkTradePartnerNIDPointer { get; } = new long[] { 0x475EA28, 0xF8, 0x08 };

public static IReadOnlyList<long> OverworldPointer { get; } = new long[] { 0x4691558, 0x00, 0x388, 0x3C0, 0x00, 0x71C };
public static IReadOnlyList<long> IsSearchingPointer { get; } = new long[] { 0x4645740, 0x58 }; // 0 no search, 1 search, 2 unknown (still searching)
public static IReadOnlyList<long> ConnectionPointer { get; } = new long[] { 0x4645948, 0x10 }; // 0 not connected, 1 connected, 2 adhoc
public static IReadOnlyList<long> OverworldPointer { get; } = new long[] { 0x47AFA18, 0x00, 0x388, 0x3C0, 0x00, 0x71C };
public static IReadOnlyList<long> IsSearchingPointer { get; } = new long[] { 0x4763C00, 0x58 }; // 0 no search, 1 search, 2 unknown (still searching)
public static IReadOnlyList<long> ConnectionPointer { get; } = new long[] { 0x4763E08, 0x10 }; // 0 not connected, 1 connected, 2 adhoc

public static IReadOnlyList<long> KeyboardBufferPointer { get; } = new long[] { 0x461D0A8, 0x30, 0x00 };
public static IReadOnlyList<long> KeyboardBufferPointer { get; } = new long[] { 0x473B3A8, 0x30, 0x00 };

public static IReadOnlyList<long> PokePortalPointer = new long[] { 0x4691558, 0x00, 0x3C0, 0x3C0, 0x598 };
public static IReadOnlyList<long> PokePortalPointer = new long[] { 0x47AFA18, 0x00, 0x3C0, 0x3C0, 0x598 };

public const int BoxFormatSlotSize = 0x158;
public const int TradeFormatSlotSize = 0x148;
Expand Down
12 changes: 4 additions & 8 deletions SysBot.Pokemon/SysBot.Pokemon.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PKHeX.Core" Version="23.9.25" />
<PackageReference Include="PKHeX.Core" Version="23.12.19" />
<ProjectReference Include="..\SysBot.Base\SysBot.Base.csproj" />
<PackageReference Include="System.Text.Json" Version="6.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<Folder Include="deps\" />
</ItemGroup>
Expand All @@ -21,5 +18,4 @@
<HintPath>deps\PKHeX.Core.AutoMod.dll</HintPath>
</Reference>
</ItemGroup>

</Project>
</Project>
Binary file modified SysBot.Pokemon/deps/PKHeX.Core.AutoMod.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion SysBot.Tests/SysBot.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ steps:
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: SysBot-x64'
inputs:
PathtoPublish: 'SysBot.Pokemon.WinForms\bin\x64\Release\net7.0-windows'
PathtoPublish: 'SysBot.Pokemon.WinForms\bin\x64\Release\net8.0-windows'
ArtifactName: SysBot-x64
condition: and(succeededOrFailed(), ne(variables['Build.Reason'], 'PullRequest'))

0 comments on commit 1a97372

Please sign in to comment.