mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
DNET: Player feedback (#2545)
This commit is contained in:
committed by
GitHub
parent
73b7921ef0
commit
1b6b07faae
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -178,6 +178,8 @@ interface Multipliers {
|
||||
crime_money: number;
|
||||
/** Multiplier to crime success rate */
|
||||
crime_success: number;
|
||||
/** Multiplier to amount of money gained from phishing and caches on darknet servers */
|
||||
dnet_money: number;
|
||||
/** Multiplier to amount of money gained from working */
|
||||
work_money: number;
|
||||
/** Multiplier to amount of money produced by Hacknet Nodes */
|
||||
@@ -4497,13 +4499,16 @@ export interface Darknet {
|
||||
* Sends a network request to try to authenticate on a darkweb server. The target server must be directly connected
|
||||
* to the server that the script is running on. The speed of authentication scales with the number of threads used.
|
||||
*
|
||||
* If successful, grants the script a session, allowing it to exec() scripts on that server, or scp() files to it. (scp() *from* the server is always allowed.)
|
||||
* If successful, grants the current script a session, allowing it to exec() scripts on that server, or scp() files to it. (scp() *from* the server is always allowed.)
|
||||
*
|
||||
* Note that the charisma level on a server is not a requirement for authentication, but authentication takes longer
|
||||
* if the player's charisma is below the server's charisma level.
|
||||
*
|
||||
* Note that the session granted is only for the current script instance (by PID) - other running scripts will need to
|
||||
* use connectToSession with the correct password to also get a session with the target server.
|
||||
*
|
||||
* @remarks
|
||||
* RAM cost: 0.6 GB
|
||||
* RAM cost: 0.4 GB
|
||||
*
|
||||
* @param host - Hostname/IP of the target server (connected to the current server) to try a password.
|
||||
* @param password - Password to attempt to authenticate with.
|
||||
@@ -4518,12 +4523,15 @@ export interface Darknet {
|
||||
* Attempts to connect to a target darkweb server that you have previously authenticated on. Unlike `authenticate`,
|
||||
* connectToSession can be used to get a session on servers at any distance.
|
||||
*
|
||||
* If successful, grants the script a session, allowing it to scp() files from that target. It also allows starting scripts
|
||||
* If successful, grants the script a session, allowing it to scp() files to that target. It also allows starting scripts
|
||||
* with exec() on that target, if the target is directly connected to the server that the script is running on,
|
||||
* or has a backdoor or stasis link.
|
||||
*
|
||||
* If unsuccessful, more detail may be able to be gathered by using heartbleed() to look at the resulting logs on the server.
|
||||
*
|
||||
* Note that the session granted is only for the current script instance (by PID) - other running scripts will need to
|
||||
* use connectToSession with the correct password to also get a session with the target server.
|
||||
*
|
||||
* @remarks
|
||||
* RAM cost: 0.05 GB
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user