Skip to content

Conversation

@hjpalpha
Copy link
Collaborator

@hjpalpha hjpalpha commented Dec 21, 2025

Summary

add option to set/store apiId to alow to match in-game IDs from match API to page and display names of players, see also #6843

orig report for the support to be missing via discord:
https://discord.com/channels/93055209017729024/268719633366777856/1451808363749965949

doing this in commons instead of in a dota custom because:

  • the var setting in TeamParticipant would need to be done in commons anyways or we would have needed to introduce customs for TeamParticipants too...
  • could in the future potentially be introduced in further wikis that have such api usgae

How did you test this change?

dev

Copy link
Collaborator

@ElectricalBoy ElectricalBoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm for now


a better long-term solution would be adding apiId to lpdb player mapping of some sort as dota2 db moves to Crossroads, which, btw, LoLDB (mapping only) and VALDB (XRoads + mapping) already have
but that's obviously oos of Lua-Modules repo :/

@Eetwalt
Copy link
Collaborator

Eetwalt commented Jan 28, 2026

If you can resolve the conflicts I'll merge this one @hjpalpha

@hjpalpha hjpalpha requested a review from Eetwalt January 28, 2026 12:56
@Eetwalt Eetwalt merged commit 44b8c16 into main Jan 28, 2026
6 checks passed
@Eetwalt Eetwalt deleted the api-id-in-opponnets branch January 28, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants