Fixed some bugs

This commit is contained in:
Burlone
2024-08-07 20:32:49 +02:00
parent e1f9df401f
commit 867268e2a2
4 changed files with 18 additions and 60 deletions
+2 -2
View File
@@ -18,8 +18,8 @@
"gameServerIP": "127.0.0.1:7777",
"//": "For 'BattlePassSeason' enter only the number of your season (from 2 to 10)",
"EnableBattlepass": false,
"BattlePassSeason": 2,
"bEnableBattlepass": false,
"bBattlePassSeason": 2,
"//": "If bCompletedSeasonalQuests is set to 'true' it will set all quests except daily quests as completed",
"bCompletedSeasonalQuests": false
+9 -50
View File
@@ -1,50 +1,9 @@
<div style="text-align: center; font-size: 40px;">
<span style="color: #FF00FF;">ZERO<span style="color: #ffffff;">SCP</span> <span style="color: #FFA500;">RP</span> <span style="color: #00FF00;">I</span><span style="color: #ffffff;">T</span><span style="color: #FF0000;">A</span>
</div>
---
<div style="display: flex; justify-content: space-between; font-size: 20px;">
<a href="https://discord.zeroscp.it" style="color: #00B7EB;">DISCORD</a>
<a href="https://docs.google.com/document/u/0/d/1HNv-2h18ZuE7TMU5k5dGG9OIgcF42mRT_XOlKlSAlPk/edit" style="color: #C50000;">REGOLAMENTO COMPLETO</a>
</div>
<div style="text-align: center; font-size: 30px; color: #32CD32;">
INFORMAZIONI GENERICHE
</div>
ZeroSCP è un server nato per gioco tra amici che punta a far divertire i loro giocatori in un contesto di Full RP sano. Ricordiamo di evitare qualsiasi mancanza di rispetto, in modo da garantire un ambiente sereno.
---
<div style="text-align: center; font-size: 30px; color: #C50000;">
REGOLAMENTO BREVE
</div>
1. Bisogna essere sempre in Full RP.
2. Vietato insultare i giocatori, il server e lo staff.
3. Vietato fare Metagame, Fail RP, NoFear, Powergame e Teamkill.
4. Vietato Camperare per più di 5 minuti in una stanza (2 minuti da SCP)
5. Vietato Trollare.
6. Vietato fare suoni fastidiosi nel microfono (urlare, soffiare, soundboard, canzoni, ecc…)
---
<div style="text-align: center; font-size: 20px; color: #960018;">
<div><b>Owner:</b></div>
<div>Raffymimi</div>
<div>! Burlone:tm:</div>
<div style="text-align: center; font-size: 20px; color: #C50000;">
<div><b>Manager:</b></div>
<div>Peppe</div>
<div style="text-align: center; font-size: 20px; color: #FF6448;">
<div><b>SrAdmin:</b></div>
<div>LolloDJ</div>
<div style="text-align: center; font-size: 20px; color: #FF9966;">
<div><b>Developer:</b></div>
<div>Raffymimi</div>
<div>! Burlone:tm:</div>
</div>
# Reload Backend
![Banner](https://imgur.com/a/mjh8D4B)
Reload Backend is a universal Fortnite private server backend written in JavaScript
Created by Burlone, This is a modded backend, all main backend credits to lawin
(Missions only work on s8, daily missions working on all versions)
+3 -4
View File
@@ -496,7 +496,6 @@ app.post("/fortnite/api/game/v2/profile/*/client/FortRerollDailyQuest", verifyTo
})
});
// NIGGER CODE
app.post("/fortnite/api/game/v2/profile/*/client/MarkNewQuestNotificationSent", verifyToken, async (req, res) => {
const profiles = await Profile.findOne({ accountId: req.user.accountId });
let profile = profiles.profiles[req.query.profileId];
@@ -1004,9 +1003,9 @@ app.post("/fortnite/api/game/v2/profile/*/client/PurchaseCatalogEntry", verifyTo
[req.body.offerId], 16027, undefined, 400, res
);
if (config.EnableBattlepass === true) {
if (memory.season == config.BattlePassSeason) {
var season = `Season${config.BattlePassSeason}`; // Don't change it if you don't know what it is
if (config.bEnableBattlepass === true) {
if (memory.season == config.bBattlePassSeason) {
var season = `Season${config.bBattlePassSeason}`; // Don't change it if you don't know what it is
var ItemExists = false;
let BattlePass = JSON.parse(fs.readFileSync(path.join(__dirname, "../responses/Athena/BattlePass/", `${season}.json`), "utf8"));
if (!BattlePass)
+4 -4
View File
@@ -5,7 +5,7 @@ function backend() {
msg += `${i == "0" ? "" : " "}${backend.arguments[i]}`;
}
console.log(`\x1b[32mBackend Log\x1b[0m: ${msg}`);
console.log(`\x1b[32mReload Backend Log\x1b[0m: ${msg}`);
}
function bot() {
@@ -15,7 +15,7 @@ function bot() {
msg += `${i == "0" ? "" : " "}${bot.arguments[i]}`;
}
console.log(`\x1b[33mBot Log\x1b[0m: ${msg}`);
console.log(`\x1b[33mReload Bot Log\x1b[0m: ${msg}`);
}
function xmpp() {
@@ -25,7 +25,7 @@ function xmpp() {
msg += `${i == "0" ? "" : " "}${xmpp.arguments[i]}`;
}
console.log(`\x1b[34mXmpp Log\x1b[0m: ${msg}`);
console.log(`\x1b[34mReload Xmpp Log\x1b[0m: ${msg}`);
}
function error() {
@@ -35,7 +35,7 @@ function error() {
msg += `${i == "0" ? "" : " "}${error.arguments[i]}`;
}
console.log(`\x1b[31mError\x1b[0m: ${msg}`);
console.log(`\x1b[31mReload Error Log\x1b[0m: ${msg}`);
}
module.exports = {