Skip to content

Centralize masterfile#318

Open
Mygod wants to merge 1 commit intoUnownHash:mainfrom
Mygod:masterfile-update
Open

Centralize masterfile#318
Mygod wants to merge 1 commit intoUnownHash:mainfrom
Mygod:masterfile-update

Conversation

@Mygod
Copy link
Contributor

@Mygod Mygod commented Nov 20, 2025

Fixes #316. Needs testing.

@roundaboutluke
Copy link

Been running this locally merged with Malte’s API changes no issues observed with masterfile or Ohbem.

PVP and weather-boosted Pokémon webhooks are going out as expected, and Ditto disguise updates are still working (which is a good sign the weather path is unaffected).

Logs are quiet, which is expected and no errors etc.

I’ll leave it running and report if anything crops up, let me know if there’s anything specific you’d like me to keep an eye on. 🙂

@roundaboutluke
Copy link

Spoke to soon on this one I think!

I observed repeated Poracle notifications last night for the same mon over and over again. Appears to be related to ProactiveIVSwitch so relating to #295 but not entirely sure how it's interacting to cause this.

Unfortunately I couldn't (and still can't line anything up with related start times/end times) pinpoint that encounter ID as I was alerted with just enough time to grab some screenshots before it disappeared a minute later 😕

However encounter ID 5221447679401263104 around a similar time has 950 of these entries from 22:15:26 til 22:31:05. This is not a weather change time so I'm really not sure what happened to cause this.

Should be noted though, this entire area is mostly within one Weather Cell and particularly for the Spheal above it cannot be an A/B spawn in that regard due to its location within the cell

There are also no logs to suggest a changed pokemon as we've previously during certain events.

Large section of ProactiveIVSwitch's in log for 5221447679401263104 (click to expand)```INFO 2025-12-18 22:15:26 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.338505ms (locked time 110ns), 10928/223/183/3 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:34 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.814765ms (locked time 160ns), 10929/217/183/7 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:41 ProactiveIVSwitch - 5221447679401263104->3, scan time 5.564512ms (locked time 120ns), 10932/173/139/3 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:45 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.825183ms (locked time 60ns), 10914/108/83/3 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:53 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.896525ms (locked time 100ns), 10921/185/166/4 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:54 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.393944ms (locked time 70ns), 10919/45/26/6 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:55 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.172509ms (locked time 90ns), 10928/37/23/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:15:58 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.230472ms (locked time 70ns), 10940/103/89/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:03 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.479808ms (locked time 70ns), 10944/126/117/14 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:14 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.016028ms (locked time 70ns), 10929/207/201/7 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:20 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.5378ms (locked time 120ns), 10926/151/144/10 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:21 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.776443ms (locked time 90ns), 10926/32/7/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:24 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.024838ms (locked time 70ns), 10925/114/107/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:27 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.974397ms (locked time 70ns), 10922/103/88/6 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:33 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.224942ms (locked time 60ns), 10920/121/111/4 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:36 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.855844ms (locked time 130ns), 10916/68/56/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:40 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.888195ms (locked time 80ns), 10911/50/40/5 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:48 ProactiveIVSwitch - 5221447679401263104->3, scan time 5.138293ms (locked time 70ns), 10910/133/122/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:48 ProactiveIVSwitch - 5221447679401263104->2, scan time 2.796971ms (locked time 70ns), 10909/19/14/8 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:48 ProactiveIVSwitch - 5221447679401263104->2, scan time 2.74702ms (locked time 60ns), 10909/11/1/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:53 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.328084ms (locked time 70ns), 10912/110/105/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:54 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.946106ms (locked time 70ns), 10912/52/46/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:55 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.983938ms (locked time 80ns), 10913/27/22/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:57 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.873784ms (locked time 60ns), 10917/70/45/7 scanned/locked/updated/cp updated INFO 2025-12-18 22:16:58 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.514927ms (locked time 60ns), 10922/33/28/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:01 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.199222ms (locked time 80ns), 10932/51/38/4 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:03 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.339343ms (locked time 60ns), 10929/39/33/5 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:09 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.13808ms (locked time 70ns), 10931/73/64/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:14 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.295074ms (locked time 70ns), 10921/137/131/14 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:16 ProactiveIVSwitch - 5221447679401263104->3, scan time 2.247769ms (locked time 70ns), 10921/12/8/4 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:17 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.002276ms (locked time 70ns), 10922/14/4/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:17 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.388134ms (locked time 60ns), 10919/47/15/11 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:18 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.379774ms (locked time 70ns), 10922/66/60/1 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:20 ProactiveIVSwitch - 5221447679401263104->3, scan time 4.08287ms (locked time 80ns), 10923/54/48/2 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:21 ProactiveIVSwitch - 5221447679401263104->3, scan time 3.22237ms (locked time 140ns), 10923/37/33/3 scanned/locked/updated/cp updated INFO 2025-12-18 22:17:22 ProactiveIVSwitch - 5221447679401263104->2, scan time 3.594778ms (locked time 70ns), 10920/23/12/6 scanned/locked/updated/cp updated```

There are several weird entries that spam like this in the time I was running, though the majority are one off at the expected times eg just after the hour on a weather change - so its edge case rather than all the time.

Also note that I have not observed this behaviour at all in around 18 hours since switching off this branch. (not a single entry for ProactiveIVSwitch in fact)

Please let me know if I can provide any more information to assist 🙂

@jfberry
Copy link
Collaborator

jfberry commented Dec 19, 2025

Looks like this was the issue I was concerned about (A/B weather)

@Mygod
Copy link
Contributor Author

Mygod commented Dec 20, 2025

I guess that confirms proactive weather switch is working. :)

@Fabio1988
Copy link
Collaborator

Fabio1988 commented Dec 20, 2025

I guess that confirms proactive weather switch is working. :)

How? The identical spheal was sent as webhook to poracle?! :) describe more pls :)

@Mygod
Copy link
Contributor Author

Mygod commented Dec 20, 2025

I said "I guess". :(

@jfberry
Copy link
Collaborator

jfberry commented Jan 2, 2026

Have opened #325 to record the weather issue - with respect to the masterfile optimisation is this working as expected?

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.

Merge two masterfiles used for gohbem and proactive iv switch

4 participants