Skip to content

Commit

Permalink
Updated nwmarketprices.com API calls.
Browse files Browse the repository at this point in the history
Updated game data.
Fixed default config for 1920x1080.
Fixed item icon detection for Brimstone Sands changes.
Fixed price tooltip size.
  • Loading branch information
josdemmers committed Oct 23, 2022
1 parent dbd9f11 commit 8f1890c
Show file tree
Hide file tree
Showing 12 changed files with 5,397 additions and 40 deletions.
2 changes: 1 addition & 1 deletion NewWorldCompanion.Constants/EmguConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class EmguConstants
{
// Shape detection
public const int Default19201080AreaLower = 6000;
public const int Default19201080AreaUpper = 7000;
public const int Default19201080AreaUpper = 8000;
public const int Default25601440AreaLower = 10000;
public const int Default25601440AreaUpper = 15000;
public const int Default38402160AreaLower = 22600;
Expand Down
2 changes: 1 addition & 1 deletion NewWorldCompanion.Entities/NwmarketpriceJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public string RecentLowestPriceAvg
get
{
string price = string.Empty;
NumberStyles style = NumberStyles.AllowDecimalPoint;
//NumberStyles style = NumberStyles.AllowDecimalPoint;

try
{
Expand Down
2 changes: 1 addition & 1 deletion NewWorldCompanion.Services/CraftingRecipeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void LoadRecipes()
_craftingRecipes.Sort((x, y) =>
{
int result = string.Compare(x.Tradeskill, y.Tradeskill, StringComparison.Ordinal);
return result != 0 ? result : string.Compare(x.Localisation, y.Localisation, StringComparison.Ordinal);
return result != 0 ? result : string.Compare(x.LocalisationUserFriendly, y.LocalisationUserFriendly, StringComparison.Ordinal);
});

// Save recipe progress
Expand Down
Loading

0 comments on commit 8f1890c

Please sign in to comment.