Skip to content

feat: invasion_lineup_stats#311

Open
Mygod wants to merge 1 commit intoUnownHash:mainfrom
Mygod:lineupstats
Open

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

Conversation

@Mygod
Copy link
Contributor

@Mygod Mygod commented Oct 11, 2025

Bring back malte.im to your ReactMap?

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

@jfberry
Copy link
Collaborator

jfberry commented Oct 13, 2025

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
Copy link
Contributor Author

Mygod commented Oct 13, 2025

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
Copy link
Collaborator

jfberry commented Oct 13, 2025

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
Copy link
Contributor Author

Mygod commented Oct 18, 2025

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
Copy link
Collaborator

jfberry commented Oct 18, 2025

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
Copy link
Contributor Author

Mygod commented Oct 18, 2025

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

@jfberry
Copy link
Collaborator

jfberry commented Oct 18, 2025

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
Copy link
Contributor Author

Mygod commented Oct 18, 2025

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