From cb7bd6b8c22c22561d749a7a2d7fe8cd1b1bc395 Mon Sep 17 00:00:00 2001 From: Burlone <108557545+burlone0@users.noreply.github.com> Date: Tue, 5 Nov 2024 00:32:50 +0100 Subject: [PATCH] Added some api + changed discord invites --- CloudStorage/DefaultGame.ini | 20 +++--- README.md | 2 +- responses/Discovery/discovery_api_assets.json | 2 +- responses/Discovery/discovery_frontend.json | 2 +- responses/catalog.json | 28 ++++---- responses/contentpages.json | 12 ++-- responses/motdTarget.json | 67 ++++++++++++++++++ routes/contentpages.js | 13 ++++ routes/main.js | 70 +++++++++++++++++++ routes/reports.js | 1 - 10 files changed, 183 insertions(+), 34 deletions(-) create mode 100644 responses/motdTarget.json diff --git a/CloudStorage/DefaultGame.ini b/CloudStorage/DefaultGame.ini index e414601..8753ccd 100644 --- a/CloudStorage/DefaultGame.ini +++ b/CloudStorage/DefaultGame.ini @@ -60,16 +60,16 @@ bEnableCreativeMode=false ; Change "false" to "true" if u want Enable Creative s +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="FortLoginInteractions", Key="PinInfoGenerate", NativeString="Please visit status.epicgames.com", LocalizedStrings=(("ar", "Please visit status.epicgames.com"),("en", "Please visit status.epicgames.com"),("de", "Please visit status.epicgames.com"),("es", "Please visit status.epicgames.com"),("es-419", "Please visit status.epicgames.com"),("fr", "Please visit status.epicgames.com"),("it", "Please visit status.epicgames.com"),("ja", "Please visit status.epicgames.com"),("ko", "Please visit status.epicgames.com"),("pl", "Please visit status.epicgames.com"),("pt-BR", "Please visit status.epicgames.com"),("ru", "Please visit status.epicgames.com"),("tr", "Please visit status.epicgames.com"),("zh-CN", "Please visit status.epicgames.com"),("zh-Hant", "Please visit status.epicgames.com"))) +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="FortLoginInteractions", Key="PinCodeCnnError", NativeString="We're having a problem reaching Epic Games servers", LocalizedStrings=(("ar", "We're having a problem reaching Reload Backend."),("en", "We're having a problem reaching Reload Backend."),("de", "We're having a problem reaching Reload Backend."),("es", "We're having a problem reaching Reload Backend."),("es-419", "We're having a problem reaching Reload Backend."),("fr", "We're having a problem reaching Reload Backend."),("it", "We're having a problem reaching Reload Backend."),("ja", "We're having a problem reaching Reload Backend."),("ko", "We're having a problem reaching Reload Backend."),("pl", "We're having a problem reaching Reload Backend."),("pt-BR", "We're having a problem reaching Reload Backend."),("ru", "We're having a problem reaching Reload Backend."),("tr", "We're having a problem reaching Reload Backend."),("zh-CN", "We're having a problem reaching Reload Backend."),("zh-Hant", "We're having a problem reaching Reload Backend."))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="NetworkConnectionLost", NativeString="Network Connection Lost", LocalizedStrings=(("en","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="NetworkErrors", Key="ReturnToMainMenuTimeout", NativeString="Ack! We lost our connection to the match. Sorry about that. Make sure your internet connection is still good and try again. If it keeps up, visit {CheckStatusURL}.", LocalizedStrings=(("en","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="C87986DE4542C0450F7EA1AC940B8F0D", NativeString="DRAT! WE'RE SORRY", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="4A40FB5E4D1A000D740EB18B21C70CE9", NativeString="UH OH! SOMETHING GOOFED", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="1B9B2D834DA0883E9514348620A95123", NativeString="WHOOPS!", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="E1FD8EAB445872DB7AF2209988DA1C93", NativeString="THAT WASN'T SUPPOSED TO HAPPEN", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="E211A281448782354CD492AFB98CCE7B", NativeString="WE HIT A ROADBLOCK", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="96CCC52841C1364F2BB12184E3CB2396", NativeString="NOT THE LLAMA YOU'RE LOOKING FOR", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="47218EFD4023FB7C729C71A3A83FF01D", NativeString="THERE WAS A PROBLEM", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) -# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="10D2167A4B5AFCAB75963CBC54D06038", NativeString="THERE WAS AN ERROR", LocalizedStrings=(("ar","https://discord.gg/PmYMpY9thJ"),("en","https://discord.gg/PmYMpY9thJ"),("de","https://discord.gg/PmYMpY9thJ"),("es","https://discord.gg/PmYMpY9thJ"),("es-419","https://discord.gg/PmYMpY9thJ"),("fr","https://discord.gg/PmYMpY9thJ"),("it","https://discord.gg/PmYMpY9thJ"),("ja","https://discord.gg/PmYMpY9thJ"),("ko","https://discord.gg/PmYMpY9thJ"),("pl","https://discord.gg/PmYMpY9thJ"),("pt-BR","https://discord.gg/PmYMpY9thJ"),("ru","ОШИБКА"),("tr","https://discord.gg/PmYMpY9thJ"),("zh-CN","https://discord.gg/PmYMpY9thJ"),("zh-Hant","https://discord.gg/PmYMpY9thJ"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="NetworkConnectionLost", NativeString="Network Connection Lost", LocalizedStrings=(("en","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="NetworkErrors", Key="ReturnToMainMenuTimeout", NativeString="Ack! We lost our connection to the match. Sorry about that. Make sure your internet connection is still good and try again. If it keeps up, visit {CheckStatusURL}.", LocalizedStrings=(("en","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="C87986DE4542C0450F7EA1AC940B8F0D", NativeString="DRAT! WE'RE SORRY", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="4A40FB5E4D1A000D740EB18B21C70CE9", NativeString="UH OH! SOMETHING GOOFED", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="1B9B2D834DA0883E9514348620A95123", NativeString="WHOOPS!", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="E1FD8EAB445872DB7AF2209988DA1C93", NativeString="THAT WASN'T SUPPOSED TO HAPPEN", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="E211A281448782354CD492AFB98CCE7B", NativeString="WE HIT A ROADBLOCK", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="96CCC52841C1364F2BB12184E3CB2396", NativeString="NOT THE LLAMA YOU'RE LOOKING FOR", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="47218EFD4023FB7C729C71A3A83FF01D", NativeString="THERE WAS A PROBLEM", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) +# +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="10D2167A4B5AFCAB75963CBC54D06038", NativeString="THERE WAS AN ERROR", LocalizedStrings=(("ar","https://discord.gg/ogfncenter"),("en","https://discord.gg/ogfncenter"),("de","https://discord.gg/ogfncenter"),("es","https://discord.gg/ogfncenter"),("es-419","https://discord.gg/ogfncenter"),("fr","https://discord.gg/ogfncenter"),("it","https://discord.gg/ogfncenter"),("ja","https://discord.gg/ogfncenter"),("ko","https://discord.gg/ogfncenter"),("pl","https://discord.gg/ogfncenter"),("pt-BR","https://discord.gg/ogfncenter"),("ru","ОШИБКА"),("tr","https://discord.gg/ogfncenter"),("zh-CN","https://discord.gg/ogfncenter"),("zh-Hant","https://discord.gg/ogfncenter"))) # +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="930565094674D02FD5511282C666EB04", NativeString="SAVE THE WORLD", LocalizedStrings=(("ar", "UNAVAILABLE"),("en", "UNAVAILABLE"),("de", "UNAVAILABLE"),("es", "UNAVAILABLE"),("es-419", "UNAVAILABLE"),("fr", "UNAVAILABLE"),("it", "UNAVAILABLE"),("ja", "UNAVAILABLE"),("ko", "UNAVAILABLE"),("pl", "UNAVAILABLE"),("pt-BR", "UNAVAILABLE"),("ru", "UNAVAILABLE"),("tr", "UNAVAILABLE"),("zh-CN", "UNAVAILABLE"),("zh-Hant", "UNAVAILABLE"))) # +TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="226846CB47F043C86848BBBD8394B556", NativeString="SAVE THE WORLD", LocalizedStrings=(("ar", "UNAVAILABLE"),("en", "UNAVAILABLE"),("de", "UNAVAILABLE"),("es", "UNAVAILABLE"),("es-419", "UNAVAILABLE"),("fr", "UNAVAILABLE"),("it", "UNAVAILABLE"),("ja", "UNAVAILABLE"),("ko", "UNAVAILABLE"),("pl", "UNAVAILABLE"),("pt-BR", "UNAVAILABLE"),("ru", "UNAVAILABLE"),("tr", "UNAVAILABLE"),("zh-CN", "UNAVAILABLE"),("zh-Hant", "UNAVAILABLE"))) diff --git a/README.md b/README.md index 84d3c8d..dbaf3a7 100644 --- a/README.md +++ b/README.md @@ -131,4 +131,4 @@ This **project/backend** is licensed under the **BSD 3-Clause License.** --- -**Reload Backend** is under continuous development and there may be errors of any kind, if you want to give advice on what to add and how to improve the project or report any errors you can do so via our [Discord](https://discord.gg/PmYMpY9thJ) server \ No newline at end of file +**Reload Backend** is under continuous development and there may be errors of any kind, if you want to give advice on what to add and how to improve the project or report any errors you can do so via our [Discord](https://discord.gg/ogfncenter) server \ No newline at end of file diff --git a/responses/Discovery/discovery_api_assets.json b/responses/Discovery/discovery_api_assets.json index d3fc417..32f5868 100644 --- a/responses/Discovery/discovery_api_assets.json +++ b/responses/Discovery/discovery_api_assets.json @@ -108,7 +108,7 @@ ], "PlatformWhitelist": [], "SelectionChance": 0.1, - "TestName": "LawinServer" + "TestName": "Reload" } ], "GlobalLinkCodeBlacklist": [], diff --git a/responses/Discovery/discovery_frontend.json b/responses/Discovery/discovery_frontend.json index e068ed7..2c064d4 100644 --- a/responses/Discovery/discovery_frontend.json +++ b/responses/Discovery/discovery_frontend.json @@ -202,7 +202,7 @@ } ], "TestCohorts": [ - "LawinServer" + "Reload" ], "ModeSets": {} } \ No newline at end of file diff --git a/responses/catalog.json b/responses/catalog.json index 4cf0ed8..19c2e57 100644 --- a/responses/catalog.json +++ b/responses/catalog.json @@ -3441,7 +3441,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 1", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season11_BattlePass.DA_BR_Season11_Rare", "itemGrants": [] }, @@ -3527,7 +3527,7 @@ "sortPriority": 0, "title": "Battle Bundle", "shortDescription": "Battle Pass + 25 levels!", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season11_BattlePassWithLevels.DA_BR_Season11_BattlePassWithLevels", "itemGrants": [] @@ -3576,7 +3576,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 2", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season12_BattlePass.DA_BR_Season12_Rare", "itemGrants": [] }, @@ -3662,7 +3662,7 @@ "sortPriority": 0, "title": "Battle Bundle", "shortDescription": "Battle Pass + 25 levels!", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season12_BattlePassWithLevels.DA_BR_Season12_BattlePassWithLevels", "itemGrants": [] } @@ -3710,7 +3710,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 3", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season13_BattlePass.DA_BR_Season13_Rare", "itemGrants": [] }, @@ -3796,7 +3796,7 @@ "sortPriority": 0, "title": "Battle Bundle", "shortDescription": "Battle Pass + 25 levels!", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season13_BattlePassWithLevels.DA_BR_Season13_BattlePassWithLevels", "itemGrants": [] } @@ -3850,7 +3850,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 4", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season14_BattlePass.DA_BR_Season14_BattlePass", "itemGrants": [] }, @@ -3936,7 +3936,7 @@ "sortPriority": 0, "title": "Battle Bundle", "shortDescription": "Battle Pass + 25 levels!", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season14_BattlePassWithLevels.DA_BR_Season14_BattlePassWithLevels", "itemGrants": [] } @@ -3990,7 +3990,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 5", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season15_BattlePass.DA_BR_Season15_BattlePass", "itemGrants": [] }, @@ -4076,7 +4076,7 @@ "sortPriority": 0, "title": "Battle Bundle", "shortDescription": "Battle Pass + 25 levels!", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season15_BattlePassWithLevels.DA_BR_Season15_BattlePassWithLevels", "itemGrants": [] } @@ -4124,7 +4124,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 6", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season16_BattlePass.DA_BR_Season16_BattlePass", "itemGrants": [] }, @@ -4258,7 +4258,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 2 - Season 6", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season16_BattlePass.DA_BR_Season16_BattlePass", "itemGrants": [] }, @@ -4392,7 +4392,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 3 - Season 1", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season19_BattlePass.DA_BR_Season19_BattlePass", "itemGrants": [] }, @@ -4526,7 +4526,7 @@ "sortPriority": 1, "title": "Battle Pass", "shortDescription": "Chapter 3 - Season 2", - "description": "https://discord.gg/PmYMpY9thJ", + "description": "https://discord.gg/ogfncenter", "displayAssetPath": "/Game/Catalog/DisplayAssets/DA_BR_Season20_BattlePass.DA_BR_Season20_BattlePass", "itemGrants": [] }, diff --git a/responses/contentpages.json b/responses/contentpages.json index 43c483d..25043ad 100644 --- a/responses/contentpages.json +++ b/responses/contentpages.json @@ -209,12 +209,12 @@ "_type": "Battle Royale News", "messages": [ { - "image": "https://cdn.discordapp.com/attachments/927739901540188200/930882355818823720/1_of9OCSRWoAoS3_lNVKqM2g.png", + "image": "https://i.imgur.com/L06O0IJ.png", "hidden": false, "_type": "CommonUI Simple Message Base", "adspace": "DISCORD!", "title": "Reload Backend", - "body": "https://discord.gg/PmYMpY9thJ", + "body": "https://discord.gg/ogfncenter", "spotlight": false }, { @@ -6029,7 +6029,7 @@ "bHidden": false, "sectionId": "Featured", "bShowTimer": true, - "sectionDisplayName": "LawinServer Item Shop", + "sectionDisplayName": "Reload Item Shop", "bShowIneligibleOffers": true } ] @@ -6045,12 +6045,12 @@ "_type": "Battle Royale News", "messages": [ { - "image": "https://cdn.discordapp.com/attachments/927739901540188200/930882355818823720/1_of9OCSRWoAoS3_lNVKqM2g.png", + "image": "https://i.imgur.com/L06O0IJ.png", "hidden": false, "_type": "CommonUI Simple Message Base", "adspace": "DISCORD!", - "title": "Join my discord server!", - "body": "https://discord.gg/KJ8UaHZ", + "title": "Join OGFN Center Discord Server!", + "body": "https://discord.gg/ogfncenter", "spotlight": false }, { diff --git a/responses/motdTarget.json b/responses/motdTarget.json new file mode 100644 index 0000000..e28d60c --- /dev/null +++ b/responses/motdTarget.json @@ -0,0 +1,67 @@ +{ + "contentType": "collection", + "contentId": "motd-default-collection", + "tcId": "634e8e85-e2fc-4c68-bb10-93604cf6605f", + "contentItems": [ + { + "contentType": "content-item", + "contentId": "46874c56-0973-4cbe-ac98-b580c5b36df5", + "tcId": "61fb3dd8-f23d-45cc-9058-058ab223ba5c", + "contentFields": { + "body": { + "ar": "تم الإنشاء بواسطة بورلون، هذا هو خلفية معدلة، جميع حقوق الخلفية الأصلية تذهب إلى لاوين", + "en": "Created by Burlone, This is a modded backend, all main backend credits to lawin", + "de": "Erstellt von Burlone, dies ist ein modifiziertes Backend, alle Hauptcredits für das Backend gehen an Lawin", + "es": "Creado por Burlone, este es un backend modificado, todos los créditos del backend principal van para Lawin", + "es-419": "Creado por Burlone, este es un backend modificado, todos los créditos del backend principal van para Lawin", + "fr": "Créé par Burlone, il s'agit d'un backend modifié, tous les crédits du backend principal vont à Lawin", + "it": "Creato da Burlone, questo è un backend modificato, tutti i crediti del backend principale vanno a Lawin", + "ja": "Burloneによって作成されました。これは改造されたバックエンドです。すべてのメインバックエンドのクレジットはLawinに帰属します", + "ko": "Burlone이 만든 수정된 백엔드입니다. 모든 주요 백엔드 크레딧은 Lawin에게 있습니다", + "pl": "Stworzone przez Burlone, to jest zmodyfikowany backend, wszystkie główne zasługi należą do Lawina", + "pt-BR": "Criado por Burlone, este é um backend modificado, todos os créditos do backend principal vão para Lawin", + "ru": "Создано Burlone, это модифицированный бэкенд, все основные заслуги за бэкенд принадлежат Lawin", + "tr": "Burlone tarafından oluşturulmuştur, bu modifiye bir backend'dir, tüm ana backend kredileri Lawin'e aittir" + }, + "entryType": "Website", + "image": [ + { + "width": 1920, + "height": 1080, + "url": "https://i.imgur.com/L06O0IJ.png" + } + ], + "tabTitleOverride": "Reload Backend", + "tileImage": [ + { + "width": 1024, + "height": 512, + "url": "https://i.imgur.com/L06O0IJ.png" + } + ], + "title": { + "ar": "مرحبًا بك في Reload!", + "en": "Welcome to Reload!", + "de": "Willkommen bei Reload!", + "es": "¡Bienvenidos a Reload!", + "es-419": "¡Bienvenidos a Reload!", + "fr": "Bienvenue sur Reload !", + "it": "Benvenuto in Reload!", + "ja": "Reloadへようこそ!", + "ko": "Reload에 오신 것을 환영합니다!", + "pl": "Witaj w Reloadze!", + "pt-BR": "Bem-vindo ao Reload!", + "ru": "Добро пожаловать в Reload!", + "tr": "Reload'a Hoş Geldiniz!" + }, + "videoAutoplay": false, + "videoLoop": false, + "videoMute": false, + "videoStreamingEnabled": false, + "websiteButtonText": "OGFN Center Discord", + "websiteURL": "https://discord.gg/ogfncenter" + }, + "contentSchemaName": "MotdWebsiteNewsWithVideo" + } + ] +} \ No newline at end of file diff --git a/routes/contentpages.js b/routes/contentpages.js index 94a11e1..de3d170 100644 --- a/routes/contentpages.js +++ b/routes/contentpages.js @@ -8,4 +8,17 @@ app.get("/content/api/pages/*", async (req, res) => { res.json(contentpages); }); +app.post("/api/v1/fortnite-br/surfaces/motd/target", async (req, res) => { + const motdTarget = JSON.parse(JSON.stringify(require("./../responses/motdTarget.json"))); + + try { + motdTarget.contentItems.forEach(item => { + item.contentFields.title = item.contentFields.title[req.body.language]; + item.contentFields.body = item.contentFields.body[req.body.language]; + }) + } catch (err) {} + + res.json(motdTarget) +}) + module.exports = app; \ No newline at end of file diff --git a/routes/main.js b/routes/main.js index 096d39c..7c57f48 100644 --- a/routes/main.js +++ b/routes/main.js @@ -229,4 +229,74 @@ app.post("/api/v1/assets/Fortnite/*/*", async (req, res) => { } }) +app.get("/region", async (req, res) => { + log.debug("GET /region called"); + res.json({ + "continent": { + "code": "EU", + "geoname_id": 6255148, + "names": { + "de": "Europa", + "en": "Europe", + "es": "Europa", + "it": "Europa", + "fr": "Europe", + "ja": "ヨーロッパ", + "pt-BR": "Europa", + "ru": "Европа", + "zh-CN": "欧洲" + } + }, + "country": { + "geoname_id": 2635167, + "is_in_european_union": false, + "iso_code": "GB", + "names": { + "de": "UK", + "en": "United Kingdom", + "es": "RU", + "it": "Stati Uniti", + "fr": "Royaume Uni", + "ja": "英国", + "pt-BR": "Reino Unido", + "ru": "Британия", + "zh-CN": "英国" + } + }, + "subdivisions": [ + { + "geoname_id": 6269131, + "iso_code": "ENG", + "names": { + "de": "England", + "en": "England", + "es": "Inglaterra", + "it": "Inghilterra", + "fr": "Angleterre", + "ja": "イングランド", + "pt-BR": "Inglaterra", + "ru": "Англия", + "zh-CN": "英格兰" + } + }, + { + "geoname_id": 3333157, + "iso_code": "KEC", + "names": { + "en": "Royal Kensington and Chelsea" + } + } + ] + }) +}) + +app.get("/fortnite/api/game/v2/br-inventory/account/*", async (req, res) => { + log.debug(`GET /fortnite/api/game/v2/br-inventory/account/${req.params.accountId} called`); + res.json({ + "stash": { + "globalcash": 5000 + } + }) +}) + module.exports = app; \ No newline at end of file diff --git a/routes/reports.js b/routes/reports.js index b57c119..7324542 100644 --- a/routes/reports.js +++ b/routes/reports.js @@ -8,7 +8,6 @@ const config = require('../Config/config.json'); const log = require("../structs/log.js"); app.post("/fortnite/api/game/v2/toxicity/account/:unsafeReporter/report/:reportedPlayer", verifyToken, async (req, res) => { - if (config.bEnableReports === true) { try { log.debug(`POST /fortnite/api/game/v2/toxicity/account/${req.params.unsafeReporter}/report/${req.params.reportedPlayer} called`);