forked from OpenWF/SpaceNinjaServer
FIX NEW VERSION
This commit is contained in:
parent
b0471fcc2d
commit
d4415f8edd
8
package-lock.json
generated
8
package-lock.json
generated
@ -23,7 +23,7 @@
|
|||||||
"ncp": "^2.0.0",
|
"ncp": "^2.0.0",
|
||||||
"typescript": "^5.5",
|
"typescript": "^5.5",
|
||||||
"undici": "^7.10.0",
|
"undici": "^7.10.0",
|
||||||
"warframe-public-export-plus": "^0.5.82",
|
"warframe-public-export-plus": "^0.5.83",
|
||||||
"warframe-riven-info": "^0.1.2",
|
"warframe-riven-info": "^0.1.2",
|
||||||
"winston": "^3.17.0",
|
"winston": "^3.17.0",
|
||||||
"winston-daily-rotate-file": "^5.0.0",
|
"winston-daily-rotate-file": "^5.0.0",
|
||||||
@ -5507,9 +5507,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/warframe-public-export-plus": {
|
"node_modules/warframe-public-export-plus": {
|
||||||
"version": "0.5.82",
|
"version": "0.5.83",
|
||||||
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.82.tgz",
|
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.83.tgz",
|
||||||
"integrity": "sha512-hZa9KpMDA2wy0Hn03y9Nfyzbjxer1I6Rvb52b363uzrqS0cvDO56rhiDo71JbraeV34qF6yo+Vca1zwFmw2srA=="
|
"integrity": "sha512-SJgw6NxQaiLgMfnKGML8mRY9lT3wJb3HEABSvuCd/XiKpUqPgqTCp7EwPhbG3D/FMtN+IZjBQgykLD5R7/MSRA=="
|
||||||
},
|
},
|
||||||
"node_modules/warframe-riven-info": {
|
"node_modules/warframe-riven-info": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
"ncp": "^2.0.0",
|
"ncp": "^2.0.0",
|
||||||
"typescript": "^5.5",
|
"typescript": "^5.5",
|
||||||
"undici": "^7.10.0",
|
"undici": "^7.10.0",
|
||||||
"warframe-public-export-plus": "^0.5.82",
|
"warframe-public-export-plus": "^0.5.83",
|
||||||
"warframe-riven-info": "^0.1.2",
|
"warframe-riven-info": "^0.1.2",
|
||||||
"winston": "^3.17.0",
|
"winston": "^3.17.0",
|
||||||
"winston-daily-rotate-file": "^5.0.0",
|
"winston-daily-rotate-file": "^5.0.0",
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { version_compare } from "@/src/helpers/inventoryHelpers";
|
|||||||
|
|
||||||
export const worldStateController: RequestHandler = async (req, res) => {
|
export const worldStateController: RequestHandler = async (req, res) => {
|
||||||
const buildLabel = req.query.buildLabel as string | undefined;
|
const buildLabel = req.query.buildLabel as string | undefined;
|
||||||
const worldState = getWorldState(buildLabel);
|
const worldState = getWorldState("2025.08.26.09.49/IjV4RCfdEm14t9Q6vK5FgA");
|
||||||
|
|
||||||
const populatePromises = [populateDailyDeal(worldState)];
|
const populatePromises = [populateDailyDeal(worldState)];
|
||||||
|
|
||||||
|
|||||||
@ -165,9 +165,7 @@ import { updateThemeController } from "@/src/controllers/api/updateThemeControll
|
|||||||
import { upgradesController } from "@/src/controllers/api/upgradesController";
|
import { upgradesController } from "@/src/controllers/api/upgradesController";
|
||||||
import { valenceSwapController } from "@/src/controllers/api/valenceSwapController";
|
import { valenceSwapController } from "@/src/controllers/api/valenceSwapController";
|
||||||
import { wishlistController } from "@/src/controllers/api/wishlistController";
|
import { wishlistController } from "@/src/controllers/api/wishlistController";
|
||||||
|
|
||||||
const apiRouter = express.Router();
|
const apiRouter = express.Router();
|
||||||
|
|
||||||
// get
|
// get
|
||||||
apiRouter.get("/abandonLibraryDailyTask.php", abandonLibraryDailyTaskController);
|
apiRouter.get("/abandonLibraryDailyTask.php", abandonLibraryDailyTaskController);
|
||||||
apiRouter.get("/abortDojoComponentDestruction.php", abortDojoComponentDestructionController);
|
apiRouter.get("/abortDojoComponentDestruction.php", abortDojoComponentDestructionController);
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import express from "express";
|
import express from "express";
|
||||||
import { buildConfig } from "@/src/services/buildConfigService";
|
import { buildConfig } from "@/src/services/buildConfigService";
|
||||||
import fs from "fs/promises";
|
import fs from "fs/promises";
|
||||||
|
import { worldStateController } from "@/src/controllers/dynamic/worldStateController";
|
||||||
|
|
||||||
const cacheRouter = express.Router();
|
const cacheRouter = express.Router();
|
||||||
|
|
||||||
@ -27,5 +28,6 @@ cacheRouter.get(/^\/0\/.+!.+$/, async (req, res) => {
|
|||||||
res.status(404).end();
|
res.status(404).end();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
cacheRouter.get("/worldState.php", worldStateController);
|
||||||
|
|
||||||
export { cacheRouter };
|
export { cacheRouter };
|
||||||
|
|||||||
@ -9,6 +9,6 @@ const dynamicController = express.Router();
|
|||||||
dynamicController.get("/aggregateSessions.php", aggregateSessionsController);
|
dynamicController.get("/aggregateSessions.php", aggregateSessionsController);
|
||||||
dynamicController.get("/getGuildAds.php", getGuildAdsController);
|
dynamicController.get("/getGuildAds.php", getGuildAdsController);
|
||||||
dynamicController.get("/getProfileViewingData.php", getProfileViewingDataGetController);
|
dynamicController.get("/getProfileViewingData.php", getProfileViewingDataGetController);
|
||||||
dynamicController.get("/worldState.php", worldStateController);
|
// dynamicController.get("/worldState.php", worldStateController);
|
||||||
|
|
||||||
export { dynamicController };
|
export { dynamicController };
|
||||||
|
|||||||
@ -1920,6 +1920,45 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
RegularOverride: 0,
|
RegularOverride: 0,
|
||||||
StartDate: { $date: { $numberLong: "1755517920000" } },
|
StartDate: { $date: { $numberLong: "1755517920000" } },
|
||||||
EndDate: { $date: { $numberLong: "1893498780000" } }
|
EndDate: { $date: { $numberLong: "1893498780000" } }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
TypeName: "/Lotus/Types/StoreItems/Packages/HeirloomPackC",
|
||||||
|
ShowInMarket: true,
|
||||||
|
HideFromMarket: true,
|
||||||
|
SupporterPack: false,
|
||||||
|
Discount: 0,
|
||||||
|
BogoBuy: 0,
|
||||||
|
BogoGet: 0,
|
||||||
|
PremiumOverride: 1,
|
||||||
|
RegularOverride: 0,
|
||||||
|
StartDate: { $date: { $numberLong: "1755517920000" } },
|
||||||
|
EndDate: { $date: { $numberLong: "1893498780000" } }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
TypeName: "/Lotus/Types/StoreItems/Packages/HeirloomPackB",
|
||||||
|
ShowInMarket: true,
|
||||||
|
HideFromMarket: true,
|
||||||
|
SupporterPack: false,
|
||||||
|
Discount: 0,
|
||||||
|
BogoBuy: 0,
|
||||||
|
BogoGet: 0,
|
||||||
|
PremiumOverride: 1,
|
||||||
|
RegularOverride: 0,
|
||||||
|
StartDate: { $date: { $numberLong: "1755517920000" } },
|
||||||
|
EndDate: { $date: { $numberLong: "1893498780000" } }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
TypeName: "/Lotus/Types/StoreItems/Packages/PrimeAccessory2StoreItem",
|
||||||
|
ShowInMarket: true,
|
||||||
|
HideFromMarket: false,
|
||||||
|
SupporterPack: false,
|
||||||
|
Discount: 0,
|
||||||
|
BogoBuy: 0,
|
||||||
|
BogoGet: 0,
|
||||||
|
PremiumOverride: 1,
|
||||||
|
RegularOverride: 0,
|
||||||
|
StartDate: { $date: { $numberLong: "1755517920000" } },
|
||||||
|
EndDate: { $date: { $numberLong: "1893498780000" } }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
GlobalUpgrades: [],
|
GlobalUpgrades: [],
|
||||||
@ -3003,7 +3042,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
Success: 0,
|
Success: 0,
|
||||||
Personal: true,
|
Personal: true,
|
||||||
Bounty: true,
|
Bounty: true,
|
||||||
Tag: config.unfaithfulBugFixes?.useAnniversaryTagForOldGoals ? tagsForOlderGoals[2] : "NightwatchTacAlert",
|
Tag: config.unfaithfulBugFixes?.useAnniversaryTagForOldGoals ? tagsForOlderGoals[2] : "GalleonRobbery",
|
||||||
Faction: "FC_GRINEER",
|
Faction: "FC_GRINEER",
|
||||||
Desc: "/Lotus/Language/G1Quests/ProjectNightwatchTacAlertTitle",
|
Desc: "/Lotus/Language/G1Quests/ProjectNightwatchTacAlertTitle",
|
||||||
Icon: "/Lotus/Materials/Emblems/BountyBadge_e.png",
|
Icon: "/Lotus/Materials/Emblems/BountyBadge_e.png",
|
||||||
|
|||||||
@ -7,7 +7,7 @@ export interface IWorldState {
|
|||||||
Time: number;
|
Time: number;
|
||||||
InGameMarket: IInGameMarket;
|
InGameMarket: IInGameMarket;
|
||||||
Goals: IGoal[];
|
Goals: IGoal[];
|
||||||
Alerts: [];
|
Alerts: IGoal[];
|
||||||
Sorties: ISortie[];
|
Sorties: ISortie[];
|
||||||
LiteSorties: ILiteSortie[];
|
LiteSorties: ILiteSortie[];
|
||||||
SyndicateMissions: ISyndicateMissionInfo[];
|
SyndicateMissions: ISyndicateMissionInfo[];
|
||||||
|
|||||||
@ -181,6 +181,9 @@
|
|||||||
"/Lotus/Types/StoreItems/Packages/PrimeAccess1AccessoryStoreItem",
|
"/Lotus/Types/StoreItems/Packages/PrimeAccess1AccessoryStoreItem",
|
||||||
"/Lotus/Types/StoreItems/Packages/PrimeAccessoryStoreItem",
|
"/Lotus/Types/StoreItems/Packages/PrimeAccessoryStoreItem",
|
||||||
"/Lotus/Types/StoreItems/Packages/PrimeAccessStoreItem",
|
"/Lotus/Types/StoreItems/Packages/PrimeAccessStoreItem",
|
||||||
|
"/Lotus/Types/StoreItems/Packages/HeirloomPackA",
|
||||||
|
"/Lotus/Types/StoreItems/Packages/HeirloomPackB",
|
||||||
|
"/Lotus/Types/StoreItems/Packages/HeirloomPackC",
|
||||||
"/Lotus/Types/StoreItems/Packages/2024Bundles/VoltNovaSumoDeluxePack",
|
"/Lotus/Types/StoreItems/Packages/2024Bundles/VoltNovaSumoDeluxePack",
|
||||||
"/Lotus/Types/StoreItems/Packages/2024Bundles/JadeShadowsSupporterPack",
|
"/Lotus/Types/StoreItems/Packages/2024Bundles/JadeShadowsSupporterPack",
|
||||||
"/Lotus/Types/StoreItems/Packages/2024Bundles/WeaponStarterPack"
|
"/Lotus/Types/StoreItems/Packages/2024Bundles/WeaponStarterPack"
|
||||||
@ -352,9 +355,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"NodeOverrides": [
|
"NodeOverrides": [
|
||||||
{ "_id": { "$oid": "549b18e9b029cef5991d6aec" }, "Node": "EuropaHUB", "Hide": true },
|
{ "_id": { "$oid": "549b18e9b029cef5991d6aec" }, "Node": "EuropaHUB", "Hide": false },
|
||||||
{ "_id": { "$oid": "54a1737aeb658f6cbccf70ff" }, "Node": "ErisHUB", "Hide": true },
|
{ "_id": { "$oid": "54a1737aeb658f6cbccf70ff" }, "Node": "ErisHUB", "Hide": false },
|
||||||
{ "_id": { "$oid": "54a736ddec12f80bd6e9e326" }, "Node": "VenusHUB", "Hide": true },
|
{ "_id": { "$oid": "54a736ddec12f80bd6e9e326" }, "Node": "VenusHUB", "Hide": false },
|
||||||
{ "_id": { "$oid": "5ad9f9bb6df82a56eabf3d44" }, "Node": "SolNode802", "Seed": 9969639 },
|
{ "_id": { "$oid": "5ad9f9bb6df82a56eabf3d44" }, "Node": "SolNode802", "Seed": 9969639 },
|
||||||
{
|
{
|
||||||
"_id": { "$oid": "5b8817c2bd4f253264d6aa91" },
|
"_id": { "$oid": "5b8817c2bd4f253264d6aa91" },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user