bitburner吧 关注:157贴子:510
  • 8回复贴,共1

死灵书中的黑魔法 ~ 之 ~ vim resources/app/main.bundle.js

只看楼主收藏回复

这是一个……非常神奇的教程
首先你需要一个神奇的程序,比如vim
理论上你可以用游戏里的vim在游戏里打开游戏源代码main.bundle.js文件并进行修改(!)
(第一步最好存成txt,如果存成js,会触发各种计算,比如那个脚本占用1.18TB内存什么的……)
wget main.bundle.js resources/app/main.bundle.txt
vim resources/app/main.bundle.txt
:s/this.intelligence_exp\+=e/this.intelligence_exp=1e300/g
:s/StockMarketCommission:1e5/StockMarketCommission:-1e9/g
:wq!
download resources/app/main.bundle.txt
(选择Bitburner/resources/app/main.bundle.js)
输入时候,记得切英文输入法,第一个英文冒号必须输入,剩下的可以复制粘贴
一切做完就可以重启游戏了。
重启游戏之后,虽然我不确定你究竟能走到哪一步,但至少你可以在华尔街呼风唤雨


IP属地:安徽1楼2022-01-05 23:47回复
    请问一下楼主
    我下载了这个问题main.bundle.txt 打开一堆代码 需要在最后加入你写的代码吗?


    IP属地:江苏2楼2022-01-06 11:03
    收起回复
      或许需要贴一下游戏关于黑魔法的原文:
      https://github.com/danielyxie/bitburner/blob/dev/src/Exploits/Exploit.ts
      The game cannot block every possible exploits. Specially since one of them is
      that you can just edit your save file and that's impragmatic to prevent.
      So instead we have source file minus 1. It is not obtained by destroying a
      BitNode but instead it is awarded when the player finds innovative ways to break
      the game, this serves 2 purpose, [one] the developpers don't have to spend time
      trying to implement anti-cheat measures and [two] finding ways to break a
      hacking game is very much in the spirit of the game.
      Source-File minus 1 is extremely weak because it can be fully level up quickly.


      IP属地:安徽3楼2022-01-06 13:23
      收起回复