[VX ACE] script that locks player out of using a certain save slot? (SOLVED)

Hello Everyone
Im using Doctortodd's autosave script which always saves to slot 1
I was wondering if theres any script available that prevents the player from using a certain slot, since I wouldnt want them to accidentally save to the autosave slot and aciddentaly have their progress overwritten
Thank you for your time
I have a private script which does this. As far as I know there is no public script which does what you want.
I was using Yanfly's Save Engine and Todd's Autosave (all one script).
The fix you are looking for was given to me by @Zeriab and it would be his decision if it were to be made available to you.
What it does is if you try and save to the autosave slot it only gives you the option to load it.
I have a private script which does this. As far as I know there is no public script which does what you want.
I was using Yanfly's Save Engine and Todd's Autosave (all one script).
The fix you are looking for was given to me by @Zeriab and it would be his decision if it were to be made available to you.
What it does is if you try and save to the autosave slot it only gives you the option to load it.
thank you, I'll try to contact him
Is it this one?

Otherwise, @Kes please share the code you have.

License:
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from
the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would
be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not
be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
@Zeriab Yes, it is.
Is it this one?

Otherwise, @Kes please share the code you have.

License:

Thank you so much
I have already found a solution to my problem but thank you so much for responding anyways!
Would you mind sharing your solution? Maybe someone could use it in the future :LZSwink:
Would you mind sharing your solution? Maybe someone could use it in the future :LZSwink:
User Zetu wrote me an excellent autosave script


For anyone who is curious, this is the script I made to solve this.

Ruby:
module Zetu_Autosave
    # Save File Name
    AUTOSAVE_NAME = "Auto Save"

    # Save when Menu is Opened
    SAVE_MENU = true
   
    # Save when Map is Changed
    SAVE_TRANSFER = true

    ####
    # Autosave
    ####
    def self.save
      $game_temp.zetu_autosave_last_map_id = $game_map.map_id
      DataManager.save_game(0)
    end

end

class Game_Temp
  attr_accessor   :zetu_autosave_last_map_id
 
  alias :zetu_autosave_initialize :initialize
  def initialize
    zetu_autosave_initialize()
    @zetu_autosave_last_map_id = 0
  end

end

class Window_SaveFile < Window_Base

    def refresh
        contents.clear
        change_color(normal_color)
        name = savefile_name()
        draw_text(4, 0, 200, line_height, name)
        @name_width = text_size(name).width
        draw_party_characters(152, 58)
        draw_playtime(0, contents.height - line_height, contents.width - 4, 2)
    end

    def savefile_name
        if (@file_index > 0)
            return Vocab::File + " #{@file_index}"
        else
            return Zetu_Autosave::AUTOSAVE_NAME
        end
    end

end

class Scene_Save < Scene_File

    alias :zetu_autosave_on_savefile_ok on_savefile_ok
    def on_savefile_ok
        if (@index == 0)
            Sound.play_buzzer
        else
            zetu_autosave_on_savefile_ok()
        end
    end

    def first_savefile_index
        return 1
    end

end

class Scene_Map < Scene_Base
    #--------------------------------------------------------------------------
    # * Call Menu Screen
    #--------------------------------------------------------------------------
    alias :zetu_autosave_call_menu call_menu
    def call_menu
        zetu_autosave_call_menu()
        Zetu_Autosave.save if Zetu_Autosave::SAVE_MENU
    end

    alias :zetu_autosave_pre_transfer pre_transfer
    def pre_transfer
      $game_temp.zetu_autosave_last_map_id = $game_map.map_id
      zetu_autosave_pre_transfer()
    end

    alias :zetu_autosave_post_transfer post_transfer
    def post_transfer
      zetu_autosave_post_transfer()
      Zetu_Autosave.save if Zetu_Autosave::SAVE_TRANSFER && $game_temp.zetu_autosave_last_map_id != $game_map.map_id
    end

end

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-script-that-locks-player-out-of-using-a-certain-save-slot-solved.170610/