Coder Social home page Coder Social logo

bitburner-save-editor's Introduction

Butburner Save Editor

Usage

https://redmega.github.io/bitburner-save-editor/

Open the save editor and upload your exported Bitburner save file. When you're done editing, you can click the download icon in the header to get a new version of your save that you can import to the game.

TODO

  • Aliases
  • Global Aliases
  • Gangs
  • Servers
  • Companies
  • Factions
  • Player
    • Money
    • Exploits
      • Edit Save File
    • ...Everything Else
  • Settings
  • Staneks
  • Stock Market

Contributing

This project was bootstrapped with Create React App.

bitburner-save-editor's People

Contributors

dependabot[bot] avatar kennethwsmith avatar redmega avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bitburner-save-editor's Issues

the website cant read the json savefile??

whenever i try to upload the json savefile i exported from the game and extracted thru 7zip i get this error

"Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
VM141:1 Uncaught (in promise) SyntaxError: Unexpected token 'r', "r +�+[ ޭ&"... is not valid JSON
at JSON.parse ()
at file.store.ts:75:49
at c (runtime.js:63:40)
at Generator._invoke (runtime.js:294:22)
at Generator.next (runtime.js:119:21)
at br (asyncToGenerator.js:3:20)
at a (asyncToGenerator.js:25:9)
(anonymous) @ file.store.ts:75
c @ runtime.js:63
(anonymous) @ runtime.js:294
(anonymous) @ runtime.js:119
br @ asyncToGenerator.js:3
a @ asyncToGenerator.js:25
Promise.then (async)
br @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ file-loader.tsx:10
He @ react-dom.production.min.js:52
Qe @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
jr @ react-dom.production.min.js:100
Nr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Zt @ react-dom.production.min.js:75
Jt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
qo @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Yt @ react-dom.production.min.js:73
Show 24 more frames
Show less"

i dont know if its my browser or not but please help me!

Change Faction UI

Collapse each Faction's box and only open it if the Invited box is checked.

Add in Entropy

A new multiplier was added with 1.6.0 Grafting feature called Entropy. From the docs:

Be warned, some who have tested grafting have reported an unidentified malware. Dubbed “Entropy”, this virus seems
to grow in potency as more Augmentations are grafted, causing unpredictable affects to the victim.

It seems to degrade all other multipliers by 2% compounded.

I propose to add this to the PlayerSave tab.

Please add Karma

I only ever hack my save to get over the karma requirement. Would be splendid to be able to use this tool.

Thanks!

Issue downloading modified save

Hello hello, love what you're doing! I was just giving your fun little tool a spin but sadly without much success. Clicking the download button doesn't produce anything other than an error in the console.

file.store.ts:134 Uncaught TypeError: Cannot read properties of null (reading 'groups')
at downloadFile (file.store.ts:134:15)
at Be (action.ts:65:16)
at ObservableObject.key (action.ts:46:16)
at Object.He (react-dom.production.min.js:52:317)
at Qe (react-dom.production.min.js:52:471)
at react-dom.production.min.js:53:35
at jr (react-dom.production.min.js:100:68)
at Nr (react-dom.production.min.js:101:380)
at react-dom.production.min.js:113:65
at Ie (react-dom.production.min.js:292:189)

I might look into it myself later tonight but that's only if I manage to finish my work. Any ideas why I might be getting this issue?

Help with a couple of things

Hey Angel, I was hoping in your spare time you might be able to explain a few things. I am really new to react and was trying to add a few things in slowly to the tool. Also, if there is anything you think I implemented wrong please don't hesitate to reject my pull request, it wont hurt my feelings. :)

So i wanted to add Hacknet hash capacity and Hacknet hash count to the PlayerSave page. Here is my code to add it:

     <div className="flex flex-wrap gap-4">
        <EditableSection
          type="number"
          label="Hacknet Hash Capacity"
          property="hashManager.data.capacity"
          value={player.data.hashManager.data.capacity}
          onSubmit={onSubmit}
        />
      </div>
      <div className="flex flex-wrap gap-4">
        <EditableSection
          type="number"
          label="Hacknet Hashes"
          property="hashManager.data.hashes"
          value={player.data.hashManager.data.hashes}
          onSubmit={onSubmit}
        />
      </div>

I think everything except the property is right. My save file ends up with 2 new root entities: "hashManager.data.hashes" and "hashManager.data.capacity" instead of updating the hashManager object.

I tried playing with the "updatePlayer" method in file.store.ts but everything I did just blew it up.
Also, is there a document on the design pattern you used here, or is this "vanilla react" and I just need to read more.

Thanks for the help!
Ken

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.