콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

비트버너 – 비트노드 8: 월스트리트의 유령 스크립트

에 게시됨 05/25/2022 에 의해 LorDamned 코멘트 없음 ~에 비트버너 – 비트노드 8: 월스트리트의 유령 스크립트
  • 제목: 비트버너
  • 출시일:
  • 개발자:
  • 발행자:
Bitburner에 대한 정보는 아직 불완전합니다.. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

Basic Script for BN8.1 Advanced Script for BN8.2-3 & BN8+ Achievement in Bitburner.

BN8.1

function round(값) {
let signs = ["", "k", "중", "비", "티"]
let which = 0
~하는 동안 (값 > 999 || 값 < -999) {
value = Math.round(값 / 10) / 100
++어느
}
return value + 손짓[어느]
}
/** @param {NS} ns */
비동기 함수 메인 내보내기(ns) {
ns.disableLog("모두")
let index = ns.args[0] // should be FSIG or FLCM
let history = []
let max_shares = ns.stock.getMaxShares(index)
let max_history = 40
let fee = 100000
~하는 동안 (진실) {
let money = (ns.getServerMoneyAvailable("집") - 요금) * 0.9
let price = ns.stock.getPrice(index)
let my_shares = ns.stock.getPosition(index)[0]
ns.clearLog()
만약에 (history.length > (max_history - 1)) {
만약에 (price > Math.max(...history)) {
let buy = Math.floor((돈 / price))
만약에 ((구입하다 + my_shares) > max_shares) {
buy = max_shares - my_shares
}
만약에 (구입하다 > 0 && (price * 구입하다) > 10000000) {
ns.print("구입하다(긴): " + ns.stock.buy(index, 구입하다))
}
} else if (price < Math.min(...history)) {
만약에 (my_shares > 0) {
ns.print("팔다(긴): " + ns.stock.sell(index, my_shares))
}
}
}
history.splice(0, 0, price)
만약에 (history.length > max_history) {
history.pop()
}
let profit = ns.stock.getSaleGain(index, my_shares, "긴")
ns.print("Index: " + index)
ns.print("Max Shares: " + 둥근(max_shares))
ns.print("My Long Shares: " + 둥근(ns.stock.getPosition(index)[0]))
ns.print("가격: $" + 둥근(price))
ns.print("History saved: " + history.length)
ns.print("Highest Price: $" + 둥근(Math.max(...history)))
ns.print("Lowest Price: $" + 둥근(Math.min(...history)))
ns.print("-------------------------")
ns.print("이익: $" + 둥근(이익))
ns.print("-------------------------")
~하는 동안 (price == ns.stock.getPrice(index)) {
ns.sleep을 기다리세요(100)
}
}
}

BN8.2-3 & BN8 + 성취

function round(값) {
let signs = ["", "k", "중", "비", "티", "큐"]
let which = 0
~하는 동안 (값 > 999 || 값 < -999) {
value = Math.round(값 / 10) / 100
++어느
}
return value + 손짓[어느]
}
/** @param {NS} ns */
비동기 함수 메인 내보내기(ns) {
ns.disableLog("모두")
let index = ns.args[0] // should be FSIG or FLCM
let history = []
let max_shares = ns.stock.getMaxShares(index)
let max_history = 40
let fee = 100000
~하는 동안 (진실) {
let money = (ns.getServerMoneyAvailable("집") - 요금) * 0.9
let price = ns.stock.getPrice(index)
let my_shares = ns.stock.getPosition(index)[0]
let my_shorts = ns.stock.getPosition(index)[2]
ns.clearLog()
만약에 (history.length > (max_history - 1)) {
만약에 (price > Math.max(...history)) {
만약에 (my_shorts > 0) {
ns.print("팔다(짧은): " + ns.stock.sellShort(index, my_shorts))
}
let buy = Math.floor((돈 / price))
만약에 ((구입하다 + my_shares) > max_shares) {
buy = max_shares - my_shares
}
만약에 (구입하다 > 0 && (price * 구입하다) > 10000000) {
ns.print("구입하다(긴): " + ns.stock.buy(index, 구입하다))
}
} else if (price < Math.min(...history)) {
만약에 (my_shares > 0) {
ns.print("팔다(긴): " + ns.stock.sell(index, my_shares))
}
만약에 (my_shorts == 0) {
let buy = Math.floor(((ns.getServerMoneyAvailable("집") - 요금) / price))
만약에 (구입하다 > max_shares) {
buy = max_shares
}
ns.print("구입하다(짧은): " + ns.stock.short(index, 구입하다))
}
}
}
history.splice(0, 0, price)
만약에 (history.length > max_history) {
history.pop()
}
let profit
if (my_shares > my_shorts) {
profit = ns.stock.getSaleGain(index, my_shares, "긴")
} 또 다른 {
profit = ns.stock.getSaleGain(index, my_shorts, "짧은")
}
ns.print("Index: " + index)
ns.print("Max Shares: " + 둥근(max_shares))
ns.print("My Long Shares: " + 둥근(ns.stock.getPosition(index)[0]))
ns.print("My Short Shares: " + 둥근(ns.stock.getPosition(index)[2]))
ns.print("가격: $" + 둥근(price))
ns.print("History saved: " + history.length)
ns.print("Highest Price: $" + 둥근(Math.max(...history)))
ns.print("Lowest Price: $" + 둥근(Math.min(...history)))
ns.print("-------------------------")
ns.print("이익: $" + 둥근(이익))
ns.print("-------------------------")
~하는 동안 (price == ns.stock.getPrice(index)) {
ns.sleep을 기다리세요(100)
}
}
}

이것이 오늘 우리가 공유하는 모든 것입니다. 비트버너 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. LorDamned. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:비트버너

탐색 후

이전 게시물: Wobbly Life – Simple Tips and Tricks
다음 게시물: King Kaiju 100% 업적 가이드

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: 비트버너
  • 출시일:
  • 개발자:
  • 발행자:
Bitburner에 대한 정보는 아직 불완전합니다.. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마