Save Before Raid 1.1.0

Download any EFT version outside of its official way can get you banned.
If we find out that you downloaded EFT on a pirate website you'll be banned without further informations.

You need to own the game to play AKI.
Backup 0.12.10.2.12646

Backup profile before every raid.

This mod does exactly what its name stated.


Everytime you load into a raid(when "Get Ready" text displayed in center of screen), this mod will create a copy of your profile in /SaveBeforeRaid/backup/ with a name of current time and map name.


No more NULLNULLNULLNULLNULLNULLNULLNULL problem!

  • Any chance of updating this great mod? :thumbup: <3;):saint:

    • Modify constructor (edit the file src\SaveBeforeRaid.js in your mod folder) .


      Change this :


          constructor() {
              this.mod = "SaveBeforeRaid"
              common_f.logger.logInfo(`Loading: ${this.mod}`)
              core_f.packager.onLoad[this.mod] = this.main.bind(this)
              https_f.router.onStaticRoute["/raid/map/name"] = this.save_backup.bind(this)
      }


      for this :


          constructor() {
              this.mod = "SaveBeforeRaid"
              Logger.info(`Loading: ${this.mod}`)
              ModLoader.onLoad[this.mod] = this.main.bind(this)
              HttpRouter.onStaticRoute["/raid/map/name"] = this.save_backup.bind(this)
      }


      This should work (didn't test, I just replaced old functions with new ones). All I can say is that now it loads without any issue, I don't know if it works perfectly everytime but it should.

    • I have just tested the last version (1.1.0) on SPT-AKI 1.4.4 and it is working like a charm, man!


      To restore the profile just copy the .json file this mod saved on (SPT-AKI 1.4.4\user\mods\SaveBeforeRaid\Backup) to your profile folder (SPT-AKI 1.4.4\user\profiles). After that just edit the restored profile name deleting everything on the left of "@" (@ must be deleted too) to match your original profile name.

      Thanks @Ereshkigal!!!! :thumbup:

    • Doesn't seem to work for me :)

    • ^^ I don't know if you are joking. If not, just install the last version (1.1.0) of this mod on SPT-AKI 1.4.4 and it is going to work fine, man. You don't need to change anything on the mod, just install the last version. Hope it helps. :thumbup:

    • yep, new version made the same modifications but the static route changed, old one doesn't seem to work, new one is working fine.

      Like 1
  • Is this compatible with 1.0? :o

  • This is good to have in R7. I ended up adding a little code to place the backup into a folder with the same name as the profile. Helps to keep multiple profiles/backups more organized. I'm still trying to figure out how to remove old backups (say keeping 10 of the newest), but I'm a newbie at best.


    /Backup/Profile_ID/backupfile.json


    I don't know if you're going to keep supporting this mod (especially into R8), but it's a nice to have a backup feature.

  • Great mod!!!!

    It does exactly what it says: it saves your profile before each ride you go. :thumbup:<38)


    To restore the profile, just copy the .json file this mod saved on (SPT-AKI 1.4.4\user\mods\SaveBeforeRaid\Backup) to your profile folder (SPT-AKI 1.4.4\user\profiles). After that, just edit the restored profile name deleting everything on the left of "@" (@ must be deleted too) to match your original profile name.