Updated comment styles
This commit is contained in:
+3
-3
@@ -85,9 +85,9 @@ public class ExternalInventoryMagGen(
|
||||
break;
|
||||
}
|
||||
|
||||
/* We were unable to fit at least the minimum amount of magazines,
|
||||
* so we fallback to default magazine and try again.
|
||||
* Temporary workaround to Killa spawning with no extra mags if he spawns with a drum mag */
|
||||
// We were unable to fit at least the minimum amount of magazines,
|
||||
// Fallback to default magazine and try again.
|
||||
// Temporary workaround to Killa spawning with no extra mags if he spawns with a drum mag
|
||||
|
||||
if (magazineTpl == defaultMagazineTpl)
|
||||
// We were already on default - stop here to prevent infinite loop
|
||||
|
||||
@@ -1023,10 +1023,9 @@ public class HideoutHelper(
|
||||
)
|
||||
{
|
||||
// 300 resources last 20 hrs, 300/20/60/60 = 0.00416
|
||||
/* 10-10-2021 from WIKI (https://escapefromtarkov.fandom.com/wiki/FP-100_filter_absorber)
|
||||
Lasts for 17 hours 38 minutes and 49 seconds (23 hours 31 minutes and 45 seconds with elite hideout management skill),
|
||||
300/17.64694/60/60 = 0.004722
|
||||
*/
|
||||
// 10-10-2021 from WIKI (https://escapefromtarkov.fandom.com/wiki/FP-100_filter_absorber)
|
||||
// Lasts for 17 hours 38 minutes and 49 seconds (23 hours 31 minutes and 45 seconds with elite hideout management skill),
|
||||
// 300/17.64694/60/60 = 0.004722
|
||||
var filterDrainRate =
|
||||
databaseService.GetHideout().Settings.AirFilterUnitFlowRate
|
||||
* GetTimeElapsedSinceLastServerTick(pmcData, isGeneratorOn);
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Collections.Frozen;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using SPTarkov.DI.Annotations;
|
||||
using SPTarkov.Server.Core.Models.Spt.Config;
|
||||
@@ -62,11 +60,10 @@ public class HttpServerHelper(ConfigServer configServer)
|
||||
{
|
||||
resp.Headers.Append("Content-Type", mime["json"]);
|
||||
resp.StatusCode = 200;
|
||||
/* TODO: figure this one out
|
||||
resp.writeHead(200, "OK", {
|
||||
"Content-Type": this.mime.json
|
||||
});
|
||||
resp.end(output);
|
||||
*/
|
||||
// TODO: figure this one out
|
||||
// resp.writeHead(200, "OK", {
|
||||
// "Content-Type": this.mime.json
|
||||
// });
|
||||
// resp.end(output);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,10 +150,9 @@ public class RepeatableQuestHelper(
|
||||
// TODO: Get rid of this new mongoid generation, needs handled in `Traders` but can't be done right now.
|
||||
var desiredTraderId = traderId == Traders.REF ? new MongoId(Traders.PRAPOR) : traderId;
|
||||
|
||||
/* in locale, these id correspond to the text of quests
|
||||
template ids -pmc : Elimination = 616052ea3054fc0e2c24ce6e / Completion = 61604635c725987e815b1a46 / Exploration = 616041eb031af660100c9967
|
||||
template ids -scav : Elimination = 62825ef60e88d037dc1eb428 / Completion = 628f588ebb558574b2260fe5 / Exploration = 62825ef60e88d037dc1eb42c
|
||||
*/
|
||||
// In locale, these id correspond to the text of quests
|
||||
// template ids -pmc : Elimination = 616052ea3054fc0e2c24ce6e / Completion = 61604635c725987e815b1a46 / Exploration = 616041eb031af660100c9967
|
||||
// template ids -scav : Elimination = 62825ef60e88d037dc1eb428 / Completion = 628f588ebb558574b2260fe5 / Exploration = 62825ef60e88d037dc1eb42c
|
||||
|
||||
questData.Name = questData
|
||||
.Name.Replace("{traderId}", traderId)
|
||||
|
||||
@@ -194,7 +194,7 @@ public class SptHttpListener(
|
||||
{
|
||||
var output = await _router.GetResponse(req, sessionId, body);
|
||||
|
||||
/* route doesn't exist or response is not properly set up */
|
||||
// Route doesn't exist or response is not properly set up
|
||||
if (string.IsNullOrEmpty(output))
|
||||
{
|
||||
_logger.Error(
|
||||
|
||||
Reference in New Issue
Block a user