mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Added BR Season 36 & Season 37 Quests
This commit is contained in:
@@ -11,6 +11,7 @@ bIsAthenaGlobalChatEnabled=true # Battle royale global chat.
|
|||||||
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="D5ECE3CD484655CBAE1DB6922C1D87C7", NativeString="Getting Started", LocalizedStrings=(("ar","مرحبًا بك في LawinServer!"),("en","Welcome to LawinServer!"),("de","Willkommen bei LawinServer!"),("es","¡Bienvenidos a LawinServer!"),("es-419","¡Bienvenidos a LawinServer!"),("fr","Bienvenue sur LawinServer !"),("it","Benvenuto in LawinServer!"),("ja","LawinServerへようこそ!"),("ko","LawinServer에 오신 것을 환영합니다!"),("pl","Witaj w LawinServerze!"),("pt-BR","Bem-vindo ao LawinServer!"),("ru","Добро пожаловать в LawinServer!"),("tr","LavinServer'a Hoş Geldiniz!")))
|
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="D5ECE3CD484655CBAE1DB6922C1D87C7", NativeString="Getting Started", LocalizedStrings=(("ar","مرحبًا بك في LawinServer!"),("en","Welcome to LawinServer!"),("de","Willkommen bei LawinServer!"),("es","¡Bienvenidos a LawinServer!"),("es-419","¡Bienvenidos a LawinServer!"),("fr","Bienvenue sur LawinServer !"),("it","Benvenuto in LawinServer!"),("ja","LawinServerへようこそ!"),("ko","LawinServer에 오신 것을 환영합니다!"),("pl","Witaj w LawinServerze!"),("pt-BR","Bem-vindo ao LawinServer!"),("ru","Добро пожаловать в LawinServer!"),("tr","LavinServer'a Hoş Geldiniz!")))
|
||||||
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="CD9D4C7A4486689DB9D16B8A7E290B08", NativeString="Not bad! So, what you'd call this place?", LocalizedStrings=(("ar","استمتع بتجربة لعب رائعة!"),("en","Have a phenomenal gaming experience!"),("de","Genießt ein phänomenales Spielerlebnis!"),("es","¡Disfruta de una experiencia de juego fenomenal!"),("es-419","¡Ten una experiencia de juego espectacular!"),("fr","Profitez d'une expérience de jeu incroyable !"),("it","Goditi un'esperienza di gioco fenomenale!"),("ja","驚きの体験をしよう!"),("ko","환상적인 게임 경험을 즐기세요!"),("pl","Życzymy fenomenalnych wrażeń z gry!"),("pt-BR","Tenha uma experiência de jogo fenomenal!"),("ru","Наслаждайтесь невероятными игровыми впечатлениями!"),("tr","Muhteşem bir oyun deneyimi yaşamanı dileriz!")))
|
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="CD9D4C7A4486689DB9D16B8A7E290B08", NativeString="Not bad! So, what you'd call this place?", LocalizedStrings=(("ar","استمتع بتجربة لعب رائعة!"),("en","Have a phenomenal gaming experience!"),("de","Genießt ein phänomenales Spielerlebnis!"),("es","¡Disfruta de una experiencia de juego fenomenal!"),("es-419","¡Ten una experiencia de juego espectacular!"),("fr","Profitez d'une expérience de jeu incroyable !"),("it","Goditi un'esperienza di gioco fenomenale!"),("ja","驚きの体験をしよう!"),("ko","환상적인 게임 경험을 즐기세요!"),("pl","Życzymy fenomenalnych wrażeń z gry!"),("pt-BR","Tenha uma experiência de jogo fenomenal!"),("ru","Наслаждайтесь невероятными игровыми впечатлениями!"),("tr","Muhteşem bir oyun deneyimi yaşamanı dileriz!")))
|
||||||
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="8E762BB6481EE8FE630559BE5A982622", NativeString="Enter your Homebase name.", LocalizedStrings=(("ar","LawinServer"),("en","LawinServer"),("de","LawinServer"),("es","LawinServer"),("es-419","LawinServer"),("fr","LawinServer"),("it","LawinServer"),("ja","LawinServer"),("ko","LawinServer"),("pl","LawinServer"),("pt-BR","LawinServer"),("ru","LawinServer"),("tr","LawinServer")))
|
+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="8E762BB6481EE8FE630559BE5A982622", NativeString="Enter your Homebase name.", LocalizedStrings=(("ar","LawinServer"),("en","LawinServer"),("de","LawinServer"),("es","LawinServer"),("es-419","LawinServer"),("fr","LawinServer"),("it","LawinServer"),("ja","LawinServer"),("ko","LawinServer"),("pl","LawinServer"),("pt-BR","LawinServer"),("ru","LawinServer"),("tr","LawinServer")))
|
||||||
|
+TextReplacements=(Category=Game, Namespace="FortQuestMapViewer", bIsMinimalPatch=True, Key="PageNumberCount", NativeString="QUEST PAGE {PageIndex}/{PageCount}", LocalizedStrings=(("ar","LAWINSERVER | صفحة المهمة {PageIndex}/{PageCount}"),("de","LAWINSERVER | AUFTRAGSSEITE {PageIndex}/{PageCount}"),("en","LAWINSERVER | QUEST PAGE {PageIndex}/{PageCount}"),("es","LAWINSERVER | PÁGINA DE MISIÓN {PageIndex}/{PageCount}"),("es-419","LAWINSERVER | PÁGINA DE MISIÓN {PageIndex}/{PageCount}"),("fr","LAWINSERVER | PAGE {PageIndex} SUR {PageCount} DES QUÊTES"),("id","LAWINSERVER | HALAMAN QUEST {PageIndex}/{PageCount}"),("it","LAWINSERVER | PAGINA INCARICHI {PageIndex}/{PageCount}"),("ja","LAWINSERVER | クエストページ{PageIndex}/{PageCount}"),("ko","LAWINSERVER | 퀘스트 페이지 {PageIndex}/{PageCount}"),("pl","LAWINSERVER | ZADANIA – STRONA {PageIndex}/{PageCount}"),("pt-BR","LAWINSERVER | PÁGINA DE TAREFAS {PageIndex}/{PageCount}"),("ru","LAWINSERVER | СТРАНИЦА ЗАДАНИЯ {PageIndex}/{PageCount}"),("th","LAWINSERVER | เควสต์หน้า {PageIndex}/{PageCount}"),("tr","LAWINSERVER | GÖREV SAYFASI {PageIndex}/{PageCount}"),("vi","LAWINSERVER | TRANG NHIỆM VỤ {PageIndex}/{PageCount}"),("zh-Hans","LAWINSERVER | 任务页{PageIndex}/{PageCount}"),("zh-Hant","LAWINSERVER | 任務頁面 {PageIndex}/{PageCount}")))
|
||||||
|
|
||||||
[/Script/FortniteGame.FortGameInstance]
|
[/Script/FortniteGame.FortGameInstance]
|
||||||
!FrontEndPlaylistData=ClearArray
|
!FrontEndPlaylistData=ClearArray
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8616,6 +8616,100 @@ express.patch("/api/locker/v4/:deploymentId/account/:accountId/companion-name",
|
|||||||
res.end();
|
res.end();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Get BR quest progress on S36+
|
||||||
|
express.get("/api/quest/v3/:deploymentId/progress/account/:accountId", async (req, res) => {
|
||||||
|
const profile = require("./../profiles/athena.json");
|
||||||
|
const memory = functions.GetVersionInfo(req);
|
||||||
|
|
||||||
|
const SeasonPrefix = memory.season < 10 ? `0${memory.season}` : memory.season;
|
||||||
|
var QuestProgress = {
|
||||||
|
"challengeBundleSchedules": [],
|
||||||
|
"challengeBundles": [],
|
||||||
|
"quests": []
|
||||||
|
};
|
||||||
|
|
||||||
|
for (var key in profile.items) {
|
||||||
|
if (!key.startsWith(`QS${SeasonPrefix}-`)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
var templateId = profile.items[key].templateId;
|
||||||
|
var attributes = profile.items[key].attributes;
|
||||||
|
|
||||||
|
if (templateId.toLowerCase().startsWith("challengebundleschedule:")) {
|
||||||
|
QuestProgress.challengeBundleSchedules.push({
|
||||||
|
"itemId": key,
|
||||||
|
"templateId": templateId,
|
||||||
|
"attributes": {
|
||||||
|
"unlock_epoch": attributes.unlock_epoch,
|
||||||
|
"granted_bundles": attributes.granted_bundles
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (templateId.toLowerCase().startsWith("challengebundle:")) {
|
||||||
|
QuestProgress.challengeBundles.push({
|
||||||
|
"itemId": key,
|
||||||
|
"templateId": templateId,
|
||||||
|
"challengeScheduleId": attributes.challenge_bundle_schedule_id,
|
||||||
|
"attributes": {
|
||||||
|
"num_granted_bundle_quests": attributes.num_granted_bundle_quests,
|
||||||
|
"grantedquestinstanceids": attributes.grantedquestinstanceids
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (templateId.toLowerCase().startsWith("quest:")) {
|
||||||
|
var objectives = [];
|
||||||
|
for (var key2 in attributes) {
|
||||||
|
if (!key2.startsWith("completion_")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
objectives.push({
|
||||||
|
"statName": key2.substring("completion_".length),
|
||||||
|
"quantity": attributes[key2],
|
||||||
|
"stage": -1
|
||||||
|
})
|
||||||
|
}
|
||||||
|
QuestProgress.quests.push({
|
||||||
|
"templateId": templateId,
|
||||||
|
"productTags": [],
|
||||||
|
"state": attributes.quest_state,
|
||||||
|
"objectives": objectives,
|
||||||
|
"challengeBundleId": attributes.challenge_bundle_id,
|
||||||
|
"itemId": key
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var response = {
|
||||||
|
"questProgress": QuestProgress,
|
||||||
|
"tokens": [],
|
||||||
|
"accountXp": {
|
||||||
|
"dynamicXp": {
|
||||||
|
"timespan": -1.0,
|
||||||
|
"bucketXp": 0,
|
||||||
|
"bankXp": 0,
|
||||||
|
"bankXpMult": 1.0,
|
||||||
|
"boosterBucketXp": 0,
|
||||||
|
"boosterXpMult": 1.0,
|
||||||
|
"weeklyExcessXpMult": 1.0,
|
||||||
|
"currentWeekXp": 0,
|
||||||
|
"currentWeek": 12
|
||||||
|
},
|
||||||
|
"playtimeXp": {
|
||||||
|
"currentWeek": 12,
|
||||||
|
"currentWeekXp": 0
|
||||||
|
},
|
||||||
|
"restedXp": 0,
|
||||||
|
"seasonXp": 100000,
|
||||||
|
"seasonLevel": 100,
|
||||||
|
"seasonNumber": memory.season,
|
||||||
|
"seasonBegin": "2020-01-01T00:00:00Z",
|
||||||
|
"timeDilation": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
res.json(response)
|
||||||
|
res.end();
|
||||||
|
});
|
||||||
|
|
||||||
// Set Active Archetype (e.g. main vehicle in v30.00+)
|
// Set Active Archetype (e.g. main vehicle in v30.00+)
|
||||||
express.post("/fortnite/api/game/v2/profile/*/client/SetActiveArchetype", async (req, res) => {
|
express.post("/fortnite/api/game/v2/profile/*/client/SetActiveArchetype", async (req, res) => {
|
||||||
const profile = require(`./../profiles/${req.query.profileId || "athena"}.json`);
|
const profile = require(`./../profiles/${req.query.profileId || "athena"}.json`);
|
||||||
|
|||||||
@@ -1759,6 +1759,87 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
|
|||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
})
|
})
|
||||||
|
break;
|
||||||
|
case 36:
|
||||||
|
activeEvents.push(
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S36_IslandStories",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S36_MidSeasonCharacter_Quests",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S36_SummerRoadtrip_Quests",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_PistolCanary_Quests",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_PistolCanary_Quests_After",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_PistolCanary_Quests_After_2",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S36_14Days",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S36_WeaponExpertise",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
})
|
||||||
|
break;
|
||||||
|
case 37:
|
||||||
|
activeEvents.push(
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_ArrowTube",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_CommunityQuests",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_Delulu",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_PulseLancer",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_WeaponExpertise",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_Mash",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"eventType": "EventFlag.Event_S37_Birthday",
|
||||||
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (24.3 <= memory.build && memory.build <= 25) {
|
if (24.3 <= memory.build && memory.build <= 25) {
|
||||||
|
|||||||
Reference in New Issue
Block a user