Skip to content

feat: invasion_lineup_stats#311

Open
Mygod wants to merge 1 commit into
UnownHash:mainfrom
Mygod:lineupstats
Open

feat: invasion_lineup_stats#311
Mygod wants to merge 1 commit into
UnownHash:mainfrom
Mygod:lineupstats

Conversation

@Mygod

@Mygod Mygod commented Oct 11, 2025

Copy link
Copy Markdown
Contributor

Bring back malte.im to your ReactMap?

(I couldn't test this because I don't have lineup scanning data sent to me.)

@jfberry

jfberry commented Oct 13, 2025

Copy link
Copy Markdown
Collaborator

I have a feeling that this should be slot1,slot2,slot3,reward in the stats table
if you just do it by slot id/position no, the combinations are not obvious

@Mygod

Mygod commented Oct 13, 2025

Copy link
Copy Markdown
Contributor Author

I suppose but it would be slightly more storage. Do we know if each slot in the lineup is independently drawn? Maybe malte has the data from when he used to run the site.

@jfberry

jfberry commented Oct 13, 2025

Copy link
Copy Markdown
Collaborator

I suppose but it would be slightly more storage. Do we know if each slot in the lineup is independently drawn? Maybe malte has the data from when he used to run the site.

On malte.im there were certainly different combinations with the same starter and we know you get a %age split of rewards even with the same lineup.

I'm not sure how you could recreate the malte data (which lineups with which rewards are available, and what percentages) with the proposed data structure

@Mygod

Mygod commented Oct 18, 2025

Copy link
Copy Markdown
Contributor Author

There were? I couldn't see this information on his website but I suppose a more comprehensive data structure couldn't hurt given the limited variety.

@jfberry

jfberry commented Oct 18, 2025

Copy link
Copy Markdown
Collaborator

There were? I couldn't see this information on his website but I suppose a more comprehensive data structure couldn't hurt given the limited variety.

Turns out reward is unique per user and I have misremembered but certainly lineup1,2,3 need to be stored together I think?
But invasion scanning has now been broken by niantic moving server side so I suggest you put this on hold until we work out if we can even get this data any more

@Mygod

Mygod commented Oct 18, 2025

Copy link
Copy Markdown
Contributor Author

It's reverted (for the second time) for now. :)

@jfberry

jfberry commented Oct 18, 2025

Copy link
Copy Markdown
Collaborator

It's reverted (for the second time) for now. :)

Appols - the three lineups together in one row I think is the right structure. It was the addition of reward that I was incorrect about - as I’ve had this confirmed that it’s not constant.
however my point about whether we can still get this data easily going forward stands — the battle has moved server side and requires web socket comms. It’s certainly not from the current Protoss (assuming niantic do not roll back!)

@Mygod

Mygod commented Oct 18, 2025

Copy link
Copy Markdown
Contributor Author

This PR does not contain reward pokemon. It appears to me that Golbat does not currently even process the battle protos beyond the first step, and I still don't have data so I can't tell. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants