diff --git a/src/controllers/dynamic/worldStateController.ts b/src/controllers/dynamic/worldStateController.ts index b2a4888d..d796a075 100644 --- a/src/controllers/dynamic/worldStateController.ts +++ b/src/controllers/dynamic/worldStateController.ts @@ -27,30 +27,30 @@ export const worldStateController: RequestHandler = (req, res) => { const bountyCycle = Math.trunc(new Date().getTime() / 9000000); const bountyCycleStart = bountyCycle * 9000000; const bountyCycleEnd = bountyCycleStart + 9000000; - worldState.SyndicateMissions.push({ + worldState.SyndicateMissions[worldState.SyndicateMissions.findIndex(x => x.Tag == "ZarimanSyndicate")] = { _id: { $oid: bountyCycleStart.toString(16) + "0000000000000029" }, Activation: { $date: { $numberLong: bountyCycleStart.toString() } }, Expiry: { $date: { $numberLong: bountyCycleEnd.toString() } }, Tag: "ZarimanSyndicate", Seed: bountyCycle, Nodes: [] - }); - worldState.SyndicateMissions.push({ + }; + worldState.SyndicateMissions[worldState.SyndicateMissions.findIndex(x => x.Tag == "EntratiLabSyndicate")] = { _id: { $oid: bountyCycleStart.toString(16) + "0000000000000004" }, Activation: { $date: { $numberLong: bountyCycleStart.toString() } }, Expiry: { $date: { $numberLong: bountyCycleEnd.toString() } }, Tag: "EntratiLabSyndicate", Seed: bountyCycle, Nodes: [] - }); - worldState.SyndicateMissions.push({ + }; + worldState.SyndicateMissions[worldState.SyndicateMissions.findIndex(x => x.Tag == "HexSyndicate")] = { _id: { $oid: bountyCycleStart.toString(16) + "0000000000000006" }, Activation: { $date: { $numberLong: bountyCycleStart.toString(10) } }, Expiry: { $date: { $numberLong: bountyCycleEnd.toString(10) } }, Tag: "HexSyndicate", Seed: bountyCycle, Nodes: [] - }); + }; // Circuit choices cycling every week worldState.EndlessXpChoices.push({ diff --git a/static/fixed_responses/worldState.json b/static/fixed_responses/worldState.json index 14e34008..a3768ffc 100644 --- a/static/fixed_responses/worldState.json +++ b/static/fixed_responses/worldState.json @@ -340,6 +340,14 @@ } ] }, + { + "_id": { "$oid": "663a71c80000000000000004" }, + "Activation": { "$date": { "$numberLong": "1715106248403" } }, + "Expiry": { "$date": { "$numberLong": "2000000000000" } }, + "Tag": "EntratiLabSyndicate", + "Seed": 99562, + "Nodes": [] + }, { "_id": { "$oid": "663a71c80000000000000008" }, "Activation": { "$date": { "$numberLong": "1715106248403" } }, @@ -471,6 +479,22 @@ "xpAmounts": [780, 780, 780, 780, 1540] } ] + }, + { + "_id": { "$oid": "663a71c80000000000000029" }, + "Activation": { "$date": { "$numberLong": "1715106248403" } }, + "Expiry": { "$date": { "$numberLong": "2000000000000" } }, + "Tag": "ZarimanSyndicate", + "Seed": 99562, + "Nodes": [] + }, + { + "_id": { "$oid": "676b8d340000000000000006" }, + "Activation": { "$date": { "$numberLong": "1735101748215" } }, + "Expiry": { "$date": { "$numberLong": "2000000000000" } }, + "Tag": "HexSyndicate", + "Seed": 33872, + "Nodes": [] } ], "ActiveMissions": [