Skip to content

Commit 76142b4

Browse files
author
LocalIdentity
committed
Merge branch 'dev'
2 parents 3403bac + a1c5516 commit 76142b4

File tree

13 files changed

+187
-154
lines changed

13 files changed

+187
-154
lines changed

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
${{ env.CONFIG_URL }}/contribs-dict.txt
3434
3535
- name: Run cspell
36-
uses: streetsidesoftware/cspell-action@v5
36+
uses: streetsidesoftware/cspell-action@v6.9.0
3737
with:
3838
files: '**' # needed as workaround for non-incremental runs (overrides in config still work ok)
3939
config: "cspell.json"

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [v2.49.3](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v2.49.3) (2024/11/24)
4+
5+
[Full Changelog](https://github.com/PathOfBuildingCommunity/PathOfBuilding/compare/v2.49.2...v2.49.3)
6+
7+
<!-- Release notes generated using configuration in .github/release.yml at dev -->
8+
9+
## What's Changed
10+
### Fixed Bugs
11+
- Fix character import from accounts with a hyphen in them [\#8370](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/8370) ([tarekis](https://github.com/tarekis))
12+
- Fix trade realms not sorting correctly [\#8367](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/8367) ([Regisle](https://github.com/Regisle))
13+
314
## [v2.49.2](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v2.49.2) (2024/11/19)
415

516
[Full Changelog](https://github.com/PathOfBuildingCommunity/PathOfBuilding/compare/v2.49.1...v2.49.2)

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
VERSION[2.49.3][2024/11/24]
2+
3+
--- Fixed Bugs ---
4+
* Fix character import from accounts with a hyphen in them (tarekis)
5+
* Fix trade realms not sorting correctly (Regisle)
6+
17
VERSION[2.49.2][2024/11/19]
28

39
--- User Interface ---

manifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<PoBVersion>
3-
<Version number="2.49.2" />
3+
<Version number="2.49.3" />
44
<Source part="default" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/" />
55
<Source part="runtime" platform="win32" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/runtime/" />
66
<Source part="program" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/src/" />

src/Classes/ImportTab.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ local ImportTabClass = newClass("ImportTab", "ControlHost", "Control", function(
6363
self:DownloadCharacterList()
6464
end)
6565
self.controls.accountNameGo.enabled = function()
66-
return self.controls.accountName.buf:match("%S[#%-(%%23)]%d%d%d%d$")
66+
return self.controls.accountName.buf:match("%S[#%-]%d%d%d%d$")
6767
end
6868
self.controls.accountNameGo.tooltipFunc = function(tooltip)
6969
tooltip:Clear()
70-
if not self.controls.accountName.buf:match("[#%-(%%23)]%d%d%d%d$") then
70+
if not self.controls.accountName.buf:match("[#%-]%d%d%d%d$") then
7171
tooltip:AddLine(16, "^7Missing discriminator e.g. " .. self.controls.accountName.buf .. "#1234")
7272
end
7373
end
@@ -99,7 +99,7 @@ local ImportTabClass = newClass("ImportTab", "ControlHost", "Control", function(
9999

100100
self.controls.accountNameMissingDiscriminator = new("LabelControl", {"BOTTOMLEFT",self.controls.accountNameUnicode,"TOPLEFT"}, {0, -4, 0, 18}, "^1Missing discriminator e.g. #1234")
101101
self.controls.accountNameMissingDiscriminator.shown = function()
102-
return not self.controls.accountName.buf:match("[#%-(%%23)]%d%d%d%d$")
102+
return not self.controls.accountName.buf:match("[#%-]%d%d%d%d$")
103103
end
104104

105105

@@ -423,8 +423,9 @@ function ImportTabClass:DownloadCharacterList()
423423
else
424424
accountName = self.controls.accountName.buf:gsub("^[%s?]+", ""):gsub("[%s?]+$", ""):gsub("%s", "+")
425425
end
426+
accountName = accountName:gsub("(.*)[#%-]", "%1#")
426427
local sessionID = #self.controls.sessionInput.buf == 32 and self.controls.sessionInput.buf or (main.gameAccounts[accountName] and main.gameAccounts[accountName].sessionID)
427-
launch:DownloadPage(realm.hostName.."character-window/get-characters?accountName="..accountName:gsub("-", "%%23"):gsub("#", "%%23").."&realm="..realm.realmCode, function(response, errMsg)
428+
launch:DownloadPage(realm.hostName.."character-window/get-characters?accountName="..accountName:gsub("#", "%%23").."&realm="..realm.realmCode, function(response, errMsg)
428429
if errMsg == "Response code: 401" then
429430
self.charImportStatus = colorCodes.NEGATIVE.."Sign-in is required."
430431
self.charImportMode = "GETSESSIONID"
@@ -468,9 +469,9 @@ function ImportTabClass:DownloadCharacterList()
468469
self.charImportMode = "GETSESSIONID"
469470
return
470471
end
471-
realAccountName = realAccountName:gsub("-", "#")
472-
self.controls.accountName:SetText(realAccountName)
472+
realAccountName = realAccountName:gsub("(.*)[#%-]", "%1#")
473473
accountName = realAccountName
474+
self.controls.accountName:SetText(realAccountName)
474475
self.charImportStatus = "Character list successfully retrieved."
475476
self.charImportMode = "SELECTCHAR"
476477
self.lastRealm = realm.id

src/Classes/TradeQuery.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,10 @@ function TradeQueryClass:UpdateRealms()
11181118
end
11191119
self.realmIds = {}
11201120
for _, value in pairs(data.realms) do
1121-
self.realmIds[value.text] = value.id
1121+
-- filter out only Path of Exile one realms, as poe2 is not supported yet
1122+
if value.text:match("PoE 1 ") then
1123+
self.realmIds[value.text:gsub("PoE 1 ", "")] = value.id
1124+
end
11221125
end
11231126
setRealmDropList()
11241127

src/Data/ModItem.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ return {
663663
["LocalBaseEnergyShieldAndMana4"] = { type = "Prefix", affix = "Bishop's", "+(26-30) to maximum Energy Shield", "+(23-25) to maximum Mana", statOrderKey = "1419,1439", statOrder = { 1419, 1439 }, level = 78, group = "LocalBaseEnergyShieldAndMana", weightKey = { "shield", "boots", "gloves", "helmet", "int_armour", "str_int_armour", "dex_int_armour", "str_dex_int_armour", "default", }, weightVal = { 0, 0, 0, 0, 500, 250, 250, 166, 0 }, modTags = { "resource", "mana", "defences", "energy_shield" }, },
664664
["MovementVelocity1"] = { type = "Prefix", affix = "Runner's", "10% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 1, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
665665
["MovementVelocity2"] = { type = "Prefix", affix = "Sprinter's", "15% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 15, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
666+
["MovementVelocity2Royale"] = { type = "Prefix", affix = "Sprinter's", "(15-25)% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 5, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
666667
["MovementVelocity3"] = { type = "Prefix", affix = "Stallion's", "20% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 30, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
667668
["MovementVelocity4"] = { type = "Prefix", affix = "Gazelle's", "25% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 40, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
668669
["MovementVelocity5"] = { type = "Prefix", affix = "Cheetah's", "30% increased Movement Speed", statOrderKey = "1657", statOrder = { 1657 }, level = 55, group = "MovementVelocity", weightKey = { "boots", "default", }, weightVal = { 1000, 0 }, modTags = { "speed" }, },
@@ -826,6 +827,7 @@ return {
826827
["ItemFoundRarityIncreasePrefix4_"] = { type = "Prefix", affix = "Perandus'", "(25-28)% increased Rarity of Items found", statOrderKey = "1456", statOrder = { 1456 }, level = 84, group = "ItemFoundRarityIncreasePrefix", weightKey = { "ring", "amulet", "default", }, weightVal = { 1000, 1000, 0 }, modTags = { "drop" }, },
827828
["IncreasedCastSpeed1"] = { type = "Suffix", affix = "of Talent", "(5-8)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 2, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "attack_dagger", "dagger", "sceptre", "ring", "amulet", "default", }, weightVal = { 1000, 0, 0, 1000, 1000, 800, 800, 0 }, modTags = { "caster", "speed" }, },
828829
["IncreasedCastSpeed2"] = { type = "Suffix", affix = "of Nimbleness", "(9-12)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 15, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "attack_dagger", "dagger", "sceptre", "ring", "amulet", "default", }, weightVal = { 1000, 0, 0, 1000, 1000, 800, 800, 0 }, modTags = { "caster", "speed" }, },
830+
["IncreasedCastSpeed2Royale"] = { type = "Suffix", affix = "of Nimbleness", "(8-15)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 4, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "sceptre", "amulet", "focus", "str_int_shield", "dex_int_shield", "gloves", "default", }, weightVal = { 1000, 0, 1000, 800, 1000, 1000, 1000, 500, 0 }, modTags = { "caster", "speed" }, },
829831
["IncreasedCastSpeed3"] = { type = "Suffix", affix = "of Expertise", "(13-16)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 30, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "attack_dagger", "dagger", "sceptre", "ring", "amulet", "default", }, weightVal = { 1000, 0, 0, 1000, 1000, 800, 800, 0 }, modTags = { "caster", "speed" }, },
830832
["IncreasedCastSpeed4"] = { type = "Suffix", affix = "of Legerdemain", "(17-20)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 40, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "attack_dagger", "dagger", "sceptre", "amulet", "default", }, weightVal = { 1000, 0, 0, 1000, 1000, 800, 0 }, modTags = { "caster", "speed" }, },
831833
["IncreasedCastSpeed5"] = { type = "Suffix", affix = "of Prestidigitation", "(21-24)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 55, group = "IncreasedCastSpeed", weightKey = { "wand", "staff", "attack_dagger", "dagger", "sceptre", "default", }, weightVal = { 1000, 0, 0, 1000, 1000, 0 }, modTags = { "caster", "speed" }, },
@@ -847,6 +849,7 @@ return {
847849
["IncreasedCastSpeedFishing"] = { type = "Suffix", affix = "of Casting", "(24-28)% increased Cast Speed", statOrderKey = "1308", statOrder = { 1308 }, level = 10, group = "IncreasedCastSpeedFishing", weightKey = { "fishing_rod", "default", }, weightVal = { 1000, 0 }, modTags = { "red_herring", "caster", "speed" }, },
848850
["LocalIncreasedAttackSpeed1"] = { type = "Suffix", affix = "of Skill", "(5-7)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 1, group = "LocalIncreasedAttackSpeed", weightKey = { "weapon", "default", }, weightVal = { 1000, 0 }, modTags = { "attack", "speed" }, },
849851
["LocalIncreasedAttackSpeed2"] = { type = "Suffix", affix = "of Ease", "(8-10)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 11, group = "LocalIncreasedAttackSpeed", weightKey = { "weapon", "default", }, weightVal = { 1000, 0 }, modTags = { "attack", "speed" }, },
852+
["LocalIncreasedAttackSpeed2Royale____"] = { type = "Suffix", affix = "of Ease", "(15-25)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 4, group = "LocalIncreasedAttackSpeed", weightKey = { "weapon", "default", }, weightVal = { 1000, 0 }, modTags = { "attack", "speed" }, },
850853
["LocalIncreasedAttackSpeed3"] = { type = "Suffix", affix = "of Mastery", "(11-13)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 22, group = "LocalIncreasedAttackSpeed", weightKey = { "weapon", "default", }, weightVal = { 1000, 0 }, modTags = { "attack", "speed" }, },
851854
["LocalIncreasedAttackSpeed4"] = { type = "Suffix", affix = "of Renown", "(14-16)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 30, group = "LocalIncreasedAttackSpeed", weightKey = { "ranged", "weapon", "default", }, weightVal = { 500, 1000, 0 }, modTags = { "attack", "speed" }, },
852855
["LocalIncreasedAttackSpeed5"] = { type = "Suffix", affix = "of Acclaim", "(17-19)% increased Attack Speed", statOrderKey = "1276", statOrder = { 1276 }, level = 37, group = "LocalIncreasedAttackSpeed", weightKey = { "ranged", "weapon", "default", }, weightVal = { 500, 1000, 0 }, modTags = { "attack", "speed" }, },
@@ -862,6 +865,7 @@ return {
862865
["LocalIncreasedAttackSpeedRangedEnhancedMod_"] = { type = "Suffix", affix = "of Tacati", "Adds (23-36) to (49-61) Chaos Damage", "(14-16)% increased Attack Speed", statOrderKey = "1253,1276", statOrder = { 1253, 1276 }, level = 1, group = "LocalIncreasedAttackSpeedAddedChaos", weightKey = { "default", }, weightVal = { 0 }, modTags = { "chaos_damage", "damage", "chaos", "attack", "speed" }, },
863866
["IncreasedAttackSpeed1"] = { type = "Suffix", affix = "of Skill", "(5-7)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 1, group = "IncreasedAttackSpeed", weightKey = { "ring", "gloves", "quiver", "dex_shield", "str_dex_shield", "dex_int_shield", "default", }, weightVal = { 500, 500, 500, 500, 500, 500, 0 }, modTags = { "attack", "speed" }, },
864867
["IncreasedAttackSpeed2"] = { type = "Suffix", affix = "of Ease", "(8-10)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 11, group = "IncreasedAttackSpeed", weightKey = { "gloves", "quiver", "dex_shield", "str_dex_shield", "dex_int_shield", "default", }, weightVal = { 500, 500, 500, 500, 500, 0 }, modTags = { "attack", "speed" }, },
868+
["IncreasedAttackSpeed2Royale"] = { type = "Suffix", affix = "of Ease", "(8-15)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 4, group = "IncreasedAttackSpeed", weightKey = { "gloves", "quiver", "dex_shield", "str_dex_shield", "dex_int_shield", "default", }, weightVal = { 500, 500, 500, 500, 500, 0 }, modTags = { "attack", "speed" }, },
865869
["IncreasedAttackSpeed3"] = { type = "Suffix", affix = "of Mastery", "(11-13)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 22, group = "IncreasedAttackSpeed", weightKey = { "gloves", "quiver", "dex_shield", "str_dex_shield", "dex_int_shield", "default", }, weightVal = { 500, 500, 500, 500, 500, 0 }, modTags = { "attack", "speed" }, },
866870
["IncreasedAttackSpeed4"] = { type = "Suffix", affix = "of Grandmastery", "(14-16)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 76, group = "IncreasedAttackSpeed", weightKey = { "gloves", "quiver", "dex_shield", "str_dex_shield", "dex_int_shield", "default", }, weightVal = { 500, 500, 500, 500, 500, 0 }, modTags = { "attack", "speed" }, },
867871
["IncreasedAttackSpeedEssenceGloves7"] = { type = "Suffix", affix = "of the Essence", "(17-18)% increased Attack Speed", statOrderKey = "1273", statOrder = { 1273 }, level = 82, group = "IncreasedAttackSpeed", weightKey = { "default", }, weightVal = { 0 }, modTags = { "attack", "speed" }, },

src/Data/QueryMods.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23506,12 +23506,16 @@ return {
2350623506
["max"] = 32,
2350723507
["min"] = 5,
2350823508
},
23509+
["Gloves"] = {
23510+
["max"] = 15,
23511+
["min"] = 8,
23512+
},
2350923513
["Ring"] = {
2351023514
["max"] = 16,
2351123515
["min"] = 5,
2351223516
},
2351323517
["Shield"] = {
23514-
["max"] = 9,
23518+
["max"] = 15,
2351523519
["min"] = 6,
2351623520
},
2351723521
["Staff"] = {
@@ -50013,7 +50017,7 @@ return {
5001350017
},
5001450018
["Gloves"] = {
5001550019
["max"] = 10,
50016-
["min"] = 7,
50020+
["min"] = 4,
5001750021
},
5001850022
["Staff"] = {
5001950023
["max"] = 15,

0 commit comments

Comments
 (0)