Repository navigation
Fix 22 PoE 1 tables the game client reads differently - #253
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 22 PoE 1 tables where the game client's loader reads the columns differently from the schema. Checked against PoE 1 3.29.3.6. This is the PoE 1 follow-up to #251.
Commits
Checks
linton the built schema: PoE 1 findings go from 41 to 28, and the tables the client reads differently go from 22 to 0. None new.PreloadFromStatsgets a PoE 2 definition of its own, because the PoE 2 client still readsGroundEffectsthere.Evidence per table
1. Checked against the bytes
MinimapIcon: MinimapIconsbecomesNPCSitting: NPCs. Ngamahu readsKaomSitting, TasalioRakiataSitting; asMinimapIcons, Ngamahu readsAncestralChieftainKiloava.i32at byte 240 becomeMapNodeHeader: MapNodeHeader. Most maps readDefault,MapWorldsVaalTemplereadsAtziri,LegionDomainreadsDomainoftTimelessConflict.[_]at byte 12 becomes twoi32andDescription: stringat byte 20 ("Claim a Fishing Rod."). This also clears the three order findings on the table.rowandRewardRoomName: stringat byte 24 become one empty list. Its offsets rise with the write position, and the old string read the next row'sId.ManaVisualat byte 48 becomesDivinationVisual: DivinationWindowVisuals. Its one value sits onmtx_card_oracle_armour_alternate_divination_ui_visualsand readsMTXCardOracle.ManaFlaskVisualbecomesManaVisual: its one value sits onmtx_ghost_veil_armour_alternate_mana_ui_visuals.i32at byte 60 becomeQuestFlag: QuestFlags(NormalLabyrinthCompletedPrison,…Sins,…Crypt)._: [i32]becomesAnimations: [Animation], 16-byte keys (Melee). This clears the nine order findings on the table.IdleSkilland_: stringat byte 155 become twoi32and an empty list at byte 163. The old string read a tab character on every row.Id: NecropolisPacksbecomesWorldArea: WorldAreas(1_1_2a,1_1_3,1_1_6, rising and unique), and_: [rid]becomesPacks: [NecropolisPacks](chaos-skeletons4).GroundEffect: [GroundEffects]becomesGroundEffectTypes: [GroundEffectTypes].create_profane_ground_instead_of_consecrated_groundreadsProfane; asGroundEffectsit readsfadeout.Job: VillageJobsbecomesJobType: VillageJobTypes. The six rows read Farming, Mining, Smelting, Mapping, Shipping and Disenchanting.ResourcebecomesExports: [VillageExports].Lose100%ArcaneDustreadsMagicDust; asVillageResourcesit readsRefinedIron.ResourcebecomesExport: VillageExports.Mining0readsIronOreandSmelting0readsRefinedIron; asVillageResourcesthey readPendingIronOreandIronOre.i32at byte 32 becomeQuestFlag: QuestFlags(the three bandit votes reada2q1-,a2q2-anda2q3-QuestRewardTaken).2. Client only
[i32]becomes[rid], CraftingBenchOptions[i32]becomes[ItemClasses], KeywordPopupItemReferenceRaritybecomesFrameType: ItemFrameType, and NPCDialogueStylesrowplusstringbecome one list.MtxTypesbecomesMtxTypeGameSpecific, ExpeditionCurrencyNPCbecomesFaction: ExpeditionFactions, MicrotransactionOnKillConditions[MicrotransactionRarityDisplay]becomes[Rarity], and NPCTalkMusic1/Music2becomeWorldArea1/WorldArea2, as in PoE 2.The new column names are my reading of the values. I am happy to change any of them.