PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

"Export support" behaves incorrect after changing items

Open
#6,217 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Lua
Stars
5.4k
Forks
2.4k
Avg merge
1d 12h
Merged PRs (30d)
26

Description

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
How is Path of Building expected to behave?

Exporting a build always generates the correct exported build, no matter which changes were made before exporting

How does Path of Building behave?

Switching items by replacing them makes the export ignore their effects as if the item wasn't equipped at all. This behavior is somewhat random (?) and can be fixed by making arbitrary other changes, like allocating irrelevant passive tree points.

How to reproduce the issue
  1. Import the provided example build.
  2. Export as support code. The exported values should be correct, for example Grace should give +2700 evasion and 30% more evasion.
  3. Swap the amulet to the other Ashes of the Stars in the build.
  4. Export again. This time, the exported values are not correct; it's as if no Ashes of the Stars was equipped at all, e.g. Grace is listed as giving +2575 evasion and 29% more evasion.
Character build code
eNrtXG1z4jgS_jz8ChVVd3VbkwC2MS-5ZLcIea1NJiwkM7ufpoQtwBNhMbZMwm7tf7-WZINhsLGxv1zdZapmjNX9qLvV3VK3yJz_8j6naEk832HuRVWrNaqIuBazHXd6UX15vjntVH_5uXI-wHz2NLkMHCpGfq58OJfPiJIloRdVo4o49qaEf46QjK-AtMAunxHmPuJvzLtl9kX1E3NJFY2xazs8-mRR7Puf8JxcVEcWMFcR9i3i2v3N-558AWhAPcMetjjxHsTUvYCzR2YDCfcCwJpjxx0x65XwW48FC9CoipYOeVM094-Dp-FzTC7HjcsFan04H1C8It6IY458-AvmBuvgKblzYPIlpgHgNKr1VNrLwPP5FZ7D42Ge0YIQ-zDZwCPXkwmxuLMkfc_h_Rl2rQzweWkfA8qdBXWIt6bXamYSx90P4FojEf6ZcUyvBqPDgihKlsHiXxw-u6RgwUy4gvp-6jqcZCYfMMdnbi6pMxH3A0ohlDLRDolPvCXmTkZB-mw-dtyMNukzRm325sa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Jo-_3REomHkhe-wJtlZhCfTcCIWnNMqyv1mCM2glhIdWghzNnJ5QVorRi0ZkswQD5t8zSkuxRlH99YIhnE8Ae4VU37yID6qzRRGE_YFtFkZolbWsWlk5Jr9rFrdjs_BamuU4VR7lVUWzYTCOzYRGCQnFKBiUzYL8Wjn2P3qnzO20zdwcx5yiClrVLJqrS1qWZlnJpbRz9dElVA6-oeNOcy3h_tSkl7MGpe0UZRR8zeN02nBpmYxffI8v6bBhFhak-BbXypsMiiaPHydUPZ_oq3XyJkp-s465E2cafanbIjNGbeKF0MQl81X46_DRd-Xa8d8-20cvvqEVfb0tYjIO8EQuFtHr-uE5ot_XiHjMdJbwl1wYpbI1FlconXH9zY6IodVOZ9j-tZrYRNEdZGjy8_ruf-LwH6fs8XY=
Screenshots

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by importing the provided character build, exporting it as support code, swapping the amulet to the other Ashes of the Stars, and exporting again. Trace the export path and the item-change handling while comparing the Grace values before and after the swap. Done means support exports retain the equipped item's effects after item replacement and match the expected values.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.