fix(activity): revert to synthetic schedule - real ids black-screen the events page
The events page NREs when the schedule references real activities: the client renders their panels and requests per-activity data (GetActivityHotData/GetActiveActivityData/...) that this PS cannot fill yet, Sync(nil) -> black screen. The synthetic list resolves to nothing and keeps the page open (empty but usable). realActivitySchedule stays in handlers_activity_data.go for the future round where per-activity data handlers exist.
This commit is contained in:
1 parent
768baeb62a
commit
e9ae89f0d7
2 files changed
+18
-17
No files matched your search
@@ -293,12 +293,13 @@ func init() {
|
|||||||
EndTime: 1924992000,
|
EndTime: 1924992000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// real activity ids from the 4.6.51 client (March7th ActivityConfig
|
// NOTE: the real 4.6.51 activity schedule (realActivitySchedule, from
|
||||||
// dump) - synthetic ids the client doesn't know just fill the Travel
|
// the March7th dump) BLACK-SCREENS the events page: the client renders
|
||||||
// Log with blank entries
|
// real event panels, then requests each activity's data (GetActivity-
|
||||||
for _, e := range realActivitySchedule {
|
// HotData/GetActiveActivityData/...) which we cannot fill yet - NRE.
|
||||||
add(e.activityID, e.panelID)
|
// The synthetic list below resolves to nothing and keeps the page open
|
||||||
}
|
// (empty but usable). Re-enable the real list only after implementing
|
||||||
|
// per-activity data handlers.
|
||||||
|
|
||||||
// Apocalyptic Shadow tab requires an active schedule with panel 21001
|
// Apocalyptic Shadow tab requires an active schedule with panel 21001
|
||||||
for actID := uint32(21001); actID <= 21030; actID++ {
|
for actID := uint32(21001); actID <= 21030; actID++ {
|
||||||
|
|||||||
+11
-11
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"lineups": {
|
"lineups": {
|
||||||
"0": 1001,
|
"0": 1506,
|
||||||
"1": 1002,
|
"1": 1501,
|
||||||
"2": 1003,
|
"2": 1502,
|
||||||
"3": 1004
|
"3": 1503
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"x": -92,
|
"x": -13238,
|
||||||
"y": 4278,
|
"y": 592,
|
||||||
"z": 68083,
|
"z": 86502,
|
||||||
"rot_y": 155566
|
"rot_y": 290000
|
||||||
},
|
},
|
||||||
"scene": {
|
"scene": {
|
||||||
"plane_id": 10202,
|
"plane_id": 20331,
|
||||||
"floor_id": 10202001,
|
"floor_id": 20331001,
|
||||||
"entry_id": 102020107
|
"entry_id": 2033101
|
||||||
},
|
},
|
||||||
"main_character": "FemaleHarmony",
|
"main_character": "FemaleHarmony",
|
||||||
"march_type": "MarchHunt",
|
"march_type": "MarchHunt",
|
||||||
|
|||||||
Reference in new issue
Block a user