Skip to content

Commit 2242b07

Browse files
4.0.2
1 parent 8a3e0f7 commit 2242b07

22 files changed

Lines changed: 474 additions & 666 deletions

AllaganMarket/AllaganMarket.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<PackageReference Include="AllaganLib.Interface" Version="2.2.0" />
1111
<PackageReference Include="AllaganLib.Shared" Version="2.2.0" />
1212
<PackageReference Include="AllaganLib.Universalis" Version="2.2.0" />
13-
<PackageReference Include="DalaMock.Host" Version="6.0.0" />
14-
<PackageReference Include="DalaMock.Shared" Version="6.0.0" />
15-
<PackageReference Include="Humanizer" Version="3.0.1" />
13+
<PackageReference Include="DalaMock.Host" Version="6.1.6" />
14+
<PackageReference Include="DalaMock.Shared" Version="6.1.2" />
15+
<PackageReference Include="Humanizer" Version="3.0.10" />
1616
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="System.Reactive" Version="6.1.0" />
20+
<PackageReference Include="System.Reactive" Version="7.0.0" />
2121
</ItemGroup>
2222
<ItemGroup>
2323
<ContentWithTargetPath Include="Images\logo.png">

AllaganMarket/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
All notable changes to this project will be documented in this file.
44

55
The log versioning the plugin versioning will not match as 0.0.0 technically does not match semantic versioning but the headache of trying to change this would be too much.
6-
Instead the changelog reader and automation surrounding plugin PRs will add the back in
6+
Instead the changelog reader and automation surrounding plugin PRs will add the back in
77

88
The format is based on [Keep a Changelog](https://keepachangelog.com/en/0/),
99
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.html).
1010

11+
## [4.0.2] - 2026-08-08
12+
13+
### Changed
14+
- Update sig for 7.55
15+
1116
## [4.0.1] - 2026-05-06
1217

1318
### Changed

AllaganMarket/Services/InventoryService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class InventoryService(
2323
IRetainerService retainerService) : IInventoryService, IDisposable
2424
{
2525
[Signature(
26-
"48 89 74 24 ?? 57 48 81 EC ?? ?? ?? ?? 44 0F B7 42 ??",
26+
"E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 48 8B D7 41 8B CE E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 48 8B D7 41 8B CE E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 48 8B D7 41 8B CE E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 48 8D 57 10",
2727
DetourName = nameof(ContainerInfoDetour),
2828
UseFlags = SignatureUseFlags.Hook)]
2929
private readonly Hook<ContainerInfoNetworkData>? containerInfoNetworkHook = null;

AllaganMarket/Windows/RetainerListOverlayWindow.cs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,19 @@ public override void Draw()
201201
ImGui.Text("Stale Pricing?");
202202
foreach (var retainer in retainers)
203203
{
204-
var isUnderCut = this.saleTrackerService.SaleItems[retainer.CharacterId]
205-
.Any(c => this.undercutService.IsItemUndercut(c) ?? false);
206-
var needsUpdate = this.saleTrackerService.SaleItems[retainer.CharacterId]
207-
.Any(c => !c.IsEmpty() && this.undercutService.NeedsUpdate(c, interval));
208-
var nextUpdate = this.saleTrackerService.SaleItems[retainer.CharacterId]
209-
.Where(c => !c.IsEmpty()).DefaultIfEmpty()
204+
var isUnderCut = false;
205+
var needsUpdate = false;
206+
DateTime? nextUpdate = null;
207+
var sellingCount = 0;
208+
if (this.saleTrackerService.SaleItems.TryGetValue(retainer.CharacterId, out var value))
209+
{
210+
isUnderCut = value.Any(c => this.undercutService.IsItemUndercut(c) ?? false);
211+
needsUpdate = value.Any(c => !c.IsEmpty() && this.undercutService.NeedsUpdate(c, interval));
212+
nextUpdate = value.Where(c => !c.IsEmpty()).DefaultIfEmpty()
210213
.Min(c => c == null ? null : (DateTime?)this.undercutService.NextUpdateDate(c, interval));
211-
var sellingCount = this.saleTrackerService.SaleItems[retainer.CharacterId].Count(c => !c.IsEmpty());
214+
sellingCount = value.Count(c => !c.IsEmpty());
215+
}
216+
212217
if (!isUnderCut && !needsUpdate && !this.showAllRetainers)
213218
{
214219
continue;

0 commit comments

Comments
 (0)