feat(core): unlock map fog across all scenes, provide unlimited currency (999M), and document asset decryption architecture

This commit is contained in:
CAtlas0784 committed 2026-09-18 00:04:05 +07:00
1 parent a5f9a8058a
commit 3853760c34
5 files changed
+124 -7

No files matched your search

@@ -151,6 +151,22 @@ internal static class RuntimePayloadFactory
});
}
// Unlimited currency (Money, Gold, BindingGold, FreeGold)
root.InfoItem.Money = 999_999_999;
root.InfoItem.Gold = 999_999_999;
root.InfoItem.BindingGold = 999_999_999;
root.InfoItem.FreeGold = 999_999_999;
// Unlock all Map Fog of war across known scenes
root.InfoAchievement.SceneFogMaps = new Dictionary<uint, Auto.SceneFogMap>
{
[1] = new Auto.SceneFogMap { All = true },
[1001] = new Auto.SceneFogMap { All = true },
[10001] = new Auto.SceneFogMap { All = true }
};
// Unlock all Map POIs
root.InfoAchievement.SceneFogMapPoiIds = Enumerable.Range(1, 1000).Select(i => (uint)i).ToList();
return root;
}
@@ -367,12 +367,15 @@ internal sealed partial class GameRouter
};
await ctx.NotifyAsync(MethodId.SyncAllActivities, activitiesSync);
// Unlock all scene fog of war on the client
await ctx.NotifyAsync(MethodId.SyncSceneFogMapAllUnlock, new SceneMethods.SyncSceneFogMapAllUnlockInfo
// Unlock all scene fog of war on the client across all city/world scenes
foreach (var fogSceneId in new uint[] { 1, 1001, 10001, state.ActiveRaidId })
{
SceneId = state.ActiveRaidId,
Unlocked = true
});
await ctx.NotifyAsync(MethodId.SyncSceneFogMapAllUnlock, new SceneMethods.SyncSceneFogMapAllUnlockInfo
{
SceneId = fogSceneId,
Unlocked = true
});
}
// Initialize story task tracking
await ctx.NotifyAsync(MethodId.SyncCurrentTask, new SceneMethods.SyncCurrentTaskInfo