DNET: Tweaks from player feedback (#2593)

This commit is contained in:
Michael Ficocelli
2026-03-26 18:38:45 -07:00
committed by GitHub
parent 38d5f3b364
commit fdd6d65c25
10 changed files with 96 additions and 54 deletions
+2 -1
View File
@@ -21,6 +21,7 @@ import { getPasswordType } from "../DarkNet/controllers/ServerGenerator";
import { checkPassword, getAuthResult, isAuthenticated } from "../DarkNet/effects/authentication";
import {
getLabMaze,
getPositionInLab,
getLabyrinthDetails,
getLabyrinthLocationReport,
getSurroundingsVisualized,
@@ -695,7 +696,7 @@ export function NetscriptDarknet(): InternalAPI<DarknetAPI> {
const authenticationTime = calculateAuthenticationTime(lab, Player, ctx.workerScript.scriptRef.threads);
await helpers.netscriptDelay(ctx, authenticationTime);
const [x, y] = DarknetState.labLocations[pid] ?? [1, 1];
const [x, y] = getPositionInLab(pid);
return {
success: true,
message: getSurroundingsVisualized(getLabMaze(), x, y, 3, true, true),