Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified FullRareSetManager.dll
Binary file not shown.
Binary file modified FullRareSetManager.pdb
Binary file not shown.
394 changes: 235 additions & 159 deletions src/FullRareSetManager/Core.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/FullRareSetManager/DropAllToInventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public bool SwitchToTab(int tabIndex, FullRareSetManagerSettings Settings)
Thread.Sleep(latency + Settings.ExtraDelay);
var brCounter = 0;

while (!dropDownTabElements.IsVisible)
while (1 == 2 && !dropDownTabElements.IsVisible)
{
Thread.Sleep(WHILE_DELAY);

Expand Down
12 changes: 6 additions & 6 deletions src/FullRareSetManager/FullRareSetManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Gma.System.MouseKeyHook, Version=5.6.130.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MouseKeyHook.5.6.0\lib\net40\Gma.System.MouseKeyHook.dll</HintPath>
<HintPath>..\..\..\PoEHUD\Release\Gma.System.MouseKeyHook.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\ll\Release\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\..\PoEHUD\Release\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PoeHUD">
<HintPath>..\..\..\ll\Release\PoeHUD.exe</HintPath>
<HintPath>..\..\..\PoEHUD\Release\PoeHUD.exe</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SharpDX">
<HintPath>..\..\..\ll\Release\SharpDX.dll</HintPath>
<HintPath>..\..\..\PoEHUD\Release\SharpDX.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SharpDX.Direct3D9">
<HintPath>..\..\..\ll\Release\SharpDX.Direct3D9.dll</HintPath>
<HintPath>..\..\..\PoEHUD\Release\SharpDX.Direct3D9.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SharpDX.Mathematics">
<HintPath>..\..\..\ll\Release\SharpDX.Mathematics.dll</HintPath>
<HintPath>..\..\..\PoEHUD\Release\SharpDX.Mathematics.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
4 changes: 2 additions & 2 deletions src/FullRareSetManager/SetParts/RingItemsSetPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public RingItemsSetPart(string partName) : base(partName)

public override void AddItem(StashItem item)
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
LowLvlItems.Add(item);
}
Expand Down Expand Up @@ -311,7 +311,7 @@ public override void RemovePreparedItems()

private void RemoveItem(StashItem item)
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
LowLvlItems.Remove(item);
}
Expand Down
4 changes: 2 additions & 2 deletions src/FullRareSetManager/SetParts/SingleItemSetPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public SingleItemSetPart(string partName) : base(partName)

public override void AddItem(StashItem item)
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
LowLvlItems.Add(item);
}
Expand Down Expand Up @@ -149,7 +149,7 @@ public override StashItem[] GetPreparedItems()

public override void RemovePreparedItems()
{
if (_currentSetItem.LowLvl)
if (_currentSetItem.itemlvl < 75)
{
LowLvlItems.Remove(_currentSetItem);
}
Expand Down
6 changes: 3 additions & 3 deletions src/FullRareSetManager/SetParts/WeaponItemsSetPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void AddItem(StashItem item)
{
if (item.ItemType == StashItemType.TwoHanded)
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
TwoHandedLowLvlItems.Add(item);
}
Expand All @@ -31,7 +31,7 @@ public override void AddItem(StashItem item)
}
else
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
OneHandedLowLvlItems.Add(item);
}
Expand Down Expand Up @@ -415,7 +415,7 @@ public override void RemovePreparedItems()

private void RemoveItem(StashItem item)
{
if (item.LowLvl)
if (item.itemlvl < 75)
{
TwoHandedLowLvlItems.Remove(item);
OneHandedLowLvlItems.Remove(item);
Expand Down
5 changes: 4 additions & 1 deletion src/FullRareSetManager/StashData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using PoeHUD.Poe.Elements;
using PoeHUD.Poe.RemoteMemoryObjects;

namespace FullRareSetManager
{
Expand Down Expand Up @@ -57,6 +59,7 @@ public static void Save(Core plugin, StashData data)
public class StashTabData
{
public int ItemsCount;
//public InventoryTypeE Stashtype;
public List<StashItem> StashTabItems = new List<StashItem>();
}

Expand All @@ -66,7 +69,7 @@ public class StashItem
public StashItemType ItemType;
public string ItemClass;
public string ItemName;
public bool LowLvl;
public int itemlvl;
public bool BIdentified;
public int InventPosX;
public int InventPosY;
Expand Down