Looking for scripts

Hi, it's been a week since I'm looking for the script perfect pixel collision and quasi movement.

But all link are dead, anyone have those scripts ?

Thanks

quasi movement : https://www.rpgmakercentral.com/topic/27200-quasi-movement/

perfect pixel collsion : https://www.rpgmakercentral.com/topic/2802-perfect-pixel-collision-updated/
You are looking for the script requests forum. You should also provide a link to the page that introduced the scripts.
Edited
'Scripts' is where people who have written a script they want to share with others can post them.
Moved to: RGSS3 Script Requests
I happened to save quasi movement script when someone gave me the script for reference. Although, I'm not sure if author allow repost, so I set the expiration to one week. Here

It appears to need the basic module. Let me know if you need that one too
That is newer than the one I found.
https://github.com/moshverhavikk/RGSS3
Oh so they change the github name huh, no wonder the link doesn't work. Good to know at least
i have the module

Code:
#==============================================================================
# ** Quasi v0.4.5
#==============================================================================
#  Adds new methods to VXA's default classes and modules which is found to
# be useful.
#
# These methods will be used in other scripts create by Quasi, so instead of
# making them over and over, they will be placed here.
#==============================================================================
# How to install:
#  - Place this above Main but below Materials.
#  - All my other scripts should go below this unless stated otherwise.
#==============================================================================
module Quasi
  #--------------------------------------------------------------------------
  # * Master volume control.  VXA default sounds are too loud on my pc
  #   so I have it set at -70 when testing scripts.
  #--------------------------------------------------------------------------
  VOLUME = -50
  #--------------------------------------------------------------------------
  # * Allows for a quick test by skipping the title screen starting a
  # new game.  Only works when play testing.
  #--------------------------------------------------------------------------
  QUICKTEST = false
  #--------------------------------------------------------------------------
  # * Set to true to use quasis follower mod, or false to ignore quasis
  # follower mod.  With quasis mod, followers are only created when they
  # are present.  By default followers are created even when there's 1 character.
  # *NOTE* Might be buggy, but its nice for games that do not use followers
  #--------------------------------------------------------------------------
  FOLLOWERS = false
#==============================================================================
# ** New Features / Addons
#==============================================================================
#------------------------------------------------------------------------------
# * State add fixed Parameter value
#------------------------------------------------------------------------------
#  States can now add fixed values to parameters, instead of by a percent
# from the features list!
#  To use:
#   Inside the state database you create a note tag
#     <param change>
#     param => value
#     </param change>
#   Where param can be: MHP, MMP, ATK, DEF, MAT, MDF, AGI, LUK, HRT, MRT, TRT
#
#   HRT, MRT, TRT are new params that work like HRG, MRG, TGR but instead of
#   increasing/decreasing by a percentage, it ticks a fixed value.
#
#   Value can be a formula that accepts a and v[id], similiar to skill formulas
#   But does not take b!
#
#  Example:
#     <param change>
#     MHP => 100
#     ATK => 20
#     </param change>
#   Would result in that state adding 100 to max hp and 20 to attack.
#
#     <param change>
#     MHP => -100
#     MRT => 5 + v[1]
#     </param change>
#   Would result in that state removes 100 hp but you will have an mp regen of
#   5 + value of variable 1
#  * value can be negative
#  * param is not case sensative
#
#------------------------------------------------------------------------------
# * Animation zoom range
#------------------------------------------------------------------------------
#  Allows for animations to display at different sizes each time they are played.
#   To use:
#    In animation's name include a range inside <>'s
#  
#    Example:
#      02:Hit Fire <-50..50>
#    Animation will play at a random size between -50% to 50%
#
#==============================================================================
# Change Log
#------------------------------------------------------------------------------
# v0.4.5 - 12/23/14
#        - Added Hex color code compatibility
# v0.4.4 - 12/19/14
#        - Fixed String.int? to accept negative values
# --
# v0.4.3 - 12/14/14
#        - Changed regenerate_hp/mp/tp to overwrites to work with
#          Yanfly popup damage.
# --
# v0.4.2 - 12/9/14
#        - Fixed issue with Quick Test and Battle Testing
# --
# v0.4.1 - 12/6/14
#        - Added 3 new params, hrt, mrt, trt (similar to hgr, mgr, tgr)
#          - These new params allow for a fixed increase of regen instead of a %
#        - Added eval to <param change>, which allows for formulas inside it
# --
# v0.4 - Fixed an issue with event comments only grabbing first line
#      - Modified Quasi::Regex method
#      - Added few extra methods to string
# --
# v0.3 - Added a couple of new methods, and removed some from game_party
# --
# v0.2 - Changed followers to be made when there are party members instead of
#        already being made.
#      - Fix to angle, had a typo.
# --
# v0.1 - Pre-Released for movement script
#==============================================================================#
# By Quasi (http://quasixi.com/) || (https://github.com/quasixi/RGSS3)
#  - 11/11/14
#==============================================================================#
#   ** Stop! Do not edit anything below, unless you know what you      **
#   ** are doing!                                                      **
#==============================================================================#
  #--------------------------------------------------------------------------
  # * Simple regex grabber
  #  Used for my notetags
  #--------------------------------------------------------------------------
  def self.regex(string, regex, returnvalue=:na, default=false)
    if string =~ regex
      if $1
        case returnvalue
        when :string
          result = $1.to_s
        when :int
          result = $1.to_i
        when :array
          result = $1.to_ary
        when :intarray
          result = regex(string, regex, :array, default)
        when :linearray
          result = []
          for line in $1.split("\r\n")
            result << line if line != ""
          end
        when :linehash
          result = {}
          for line in $1.split("\r\n")
            next if line == ""
            hash = line.split("=>")
            key = hash[0] ? hash[0].strip : nil
            value = hash[1] ? hash[1].strip : nil
            key = key.int? ? key.to_i : (key.sym? ? key.delete(":").to_sym : key) if key
            if value
              if value.int?
                value = value.to_i
              elsif value.sym?
                value = value.delete(":").to_sym
              elsif value.ary?
                value = value.gsub(/[\[\]]/,"").to_ary
              end
            end
            result[key] = value
          end
        else
          result = $1
        end
      else
        result = true
      end
    else
      result = default
    end
    return result
  end
  #--------------------------------------------------------------------------
  # * Converts hex color to rgb
  #--------------------------------------------------------------------------
  def self.color(hex, alpha=255)
    r = hex[0, 2].to_i(16)
    b = hex[2, 2].to_i(16)
    g = hex[4, 2].to_i(16)
    return Color.new(r, g, b, alpha)
  end
end

$imported = {} if $imported.nil?
$imported["Quasi"] = 0.45

#==============================================================================
# ** SceneManager
#------------------------------------------------------------------------------
#  This module manages scene transitions. For example, it can handle
# hierarchical structures such as calling the item screen from the main menu
# or returning from the item screen to the main menu.
#==============================================================================

module SceneManager
  #--------------------------------------------------------------------------
  # * Alias self.run
  #--------------------------------------------------------------------------
  class << self
    alias qsm_run run
  end
  #--------------------------------------------------------------------------
  # * Execute
  #--------------------------------------------------------------------------
  def self.run
    if Quasi::QUICKTEST && $TEST && !$BTEST
      DataManager.init
      Audio.setup_midi if use_midi?
      DataManager.setup_new_game
      $game_map.autoplay
      @scene = Scene_Map.new
      @scene.main while @scene
    else
      qsm_run
    end
  end
end

#==============================================================================
# ** Game_BattlerBase
#------------------------------------------------------------------------------
#  This base class handles battlers. It mainly contains methods for calculating
# parameters. It is used as a super class of the Game_Battler class.
#==============================================================================

class Game_BattlerBase
  def hrt;  qparam(0);  end               # HRT  Hp ReGeneration tick
  def mrt;  qparam(1);  end               # MRT  Mp ReGeneration tick
  def trt;  qparam(2);  end               # TRT  Tp ReGeneration tick
  
  alias qgbb_param param
  #--------------------------------------------------------------------------
  # * Get Parameter
  #--------------------------------------------------------------------------
  def param(param_id)
    value = qgbb_param(param_id)
    value += state_param_plus(param_id)
    [[value, param_max(param_id)].min, param_min(param_id)].max.to_i
  end
 
  def state_param_plus(param_id)
    value = 0
    states.each do |state|
      next unless state.param_change
      a = self
      v = $game_variables
      param_change = eval(state.param_change[param_id].to_s) rescue 0
      value += param_change if param_change
    end
    return value
  end
 
  def qparam(qparam_id)
    return state_param_plus(qparam_id + 8)
  end
end

#==============================================================================
# ** Game_Battler
#------------------------------------------------------------------------------
#  A battler class with methods for sprites and actions added. This class
# is used as a super class of the Game_Actor class and Game_Enemy class.
#==============================================================================

class Game_Battler < Game_BattlerBase
  #--------------------------------------------------------------------------
  # * Regenerate HP
  #--------------------------------------------------------------------------
  def regenerate_hp
    damage = -(mhp * hrg).to_i - hrt
    perform_map_damage_effect if $game_party.in_battle && damage > 0
    @result.hp_damage = [damage, max_slip_damage].min
    self.hp -= @result.hp_damage
  end
  #--------------------------------------------------------------------------
  # * Regenerate MP
  #--------------------------------------------------------------------------
  def regenerate_mp
    @result.mp_damage = -(mmp * mrg).to_i - mrt
    self.mp -= @result.mp_damage
  end
  #--------------------------------------------------------------------------
  # * Regenerate TP
  #--------------------------------------------------------------------------
  def regenerate_tp
    self.tp += 100 * trg + trt
  end
end

#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
#  This class handles parties. Information such as gold and items is included.
# Instances of this class are referenced by $game_party.
#==============================================================================

class Game_Party < Game_Unit
if Quasi::FOLLOWERS
  #--------------------------------------------------------------------------
  # * Add an Actor
  #--------------------------------------------------------------------------
  def add_actor(actor_id)
    if [email protected]?(actor_id)
      @actors.push(actor_id)
      $game_player.followers.recreate
      SceneManager.scene.spriteset_refresh if SceneManager.scene_is?(Scene_Map)
    end
    $game_player.refresh
    $game_map.need_refresh = true
  end
  #--------------------------------------------------------------------------
  # * Remove Actor
  #--------------------------------------------------------------------------
  def remove_actor(actor_id)
    @actors.delete(actor_id)
    $game_player.followers.recreate
    SceneManager.scene.spriteset_refresh if SceneManager.scene_is?(Scene_Map)
    $game_player.refresh
    $game_map.need_refresh = true
  end
end
  #--------------------------------------------------------------------------
  # * Get Average Level of Party Members
  #--------------------------------------------------------------------------
  def avg_level
    avg = 0
    members.each {|actor| avg += actor.level}
    avg /= members.size
    return avg
  end
  #--------------------------------------------------------------------------
  # * Get Average Value of param of Party Members
  #--------------------------------------------------------------------------
  def avg_param(param_id)
    avg = 0
    members.each {|actor| avg += actor.param(param_id)}
    avg /= members.size
    return avg
  end
end

#==============================================================================
# ** Game_Map
#------------------------------------------------------------------------------
#  This class handles maps. It includes scrolling and passage determination
# functions. The instance of this class is referenced by $game_map.
#==============================================================================

class Game_Map
  #--------------------------------------------------------------------------
  # * Clone event from any map to x,y pos
  #--------------------------------------------------------------------------
  def clone_event(x,y,mapid,eventid)
    cmap = load_data(sprintf("Data/Map%03d.rvdata2", mapid))
    return if cmap.events[eventid].nil?
    cmap.events[eventid].x = x
    cmap.events[eventid].y = y
    @events[@events.length+1] = Game_Event.new(mapid, cmap.events[eventid])
    SceneManager.scene.spriteset_refresh
    refresh
  end
end

#==============================================================================
# ** Game_Follower
#------------------------------------------------------------------------------
#  This class handles followers. A follower is an allied character, other than
# the front character, displayed in the party. It is referenced within the
# Game_Followers class.
#==============================================================================

class Game_Follower < Game_Character
if Quasi::FOLLOWERS
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(member_index, preceding_character)
    super()
    @member_index = member_index
    @preceding_character = !preceding_character ? $game_player : preceding_character
    @transparent = $data_system.opt_transparent
    @through = true
  end
end
end

#==============================================================================
# ** Game_Followers
#------------------------------------------------------------------------------
#  This is a wrapper for a follower array. This class is used internally for
# the Game_Player class.
#==============================================================================

class Game_Followers
if Quasi::FOLLOWERS
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     leader:  Lead character
  #--------------------------------------------------------------------------
  def initialize(leader)
    @visible = $data_system.opt_followers
    @gathering = false                    # Gathering processing underway flag
    @data = []
    $data_system.party_members.each_index do |index|
      next if index == 0
      prec = index == 1 ? leader : @data[-1]
      @data.push(Game_Follower.new(index, prec))
    end
  end
  #--------------------------------------------------------------------------
  # * Recreate
  #--------------------------------------------------------------------------
  def recreate
    @data = []
    $game_party.battle_members.each_index do |index|
      next if index == 0
      prec = index == 1 ? $game_player : @data[-1]
      @data.push(Game_Follower.new(index, prec))
    end
    synchronize($game_player.x, $game_player.y, $game_player.direction)
  end
end
end

#==============================================================================
# ** Game_Event
#------------------------------------------------------------------------------
#  This class handles events. Functions include event page switching via
# condition determinants and running parallel process events. Used within the
# Game_Map class.
#==============================================================================

class Game_Event < Game_Character
  #--------------------------------------------------------------------------
  # * Grabs comment from event
  #--------------------------------------------------------------------------
  def grab_comment(regex,default=nil)
    return unless @list
    reg = []
    @list.each do |cmd|
      next if cmd.code != 108 && cmd.code != 408
      comment = cmd.parameters[0]
      next unless comment =~ regex
      if !default.nil?
        reg << $1
      else
        reg = [true]
      end
    end
    return default if reg.empty?
    return reg if reg.length > 1
    return reg[0]
  end
  #--------------------------------------------------------------------------
  # * Grabs all comments from event page
  #--------------------------------------------------------------------------
  def comments
    return unless @list
    comments = ""
    @list.each do |cmd|
      next if cmd.code != 108 && cmd.code != 408
      comments += cmd.parameters[0] + "\r\n"
    end
    return comments
  end
end

#==============================================================================
# ** Game_Interpreter
#------------------------------------------------------------------------------
#  An interpreter for executing event commands. This class is used within the
# Game_Map, Game_Troop, and Game_Event classes.
#==============================================================================

class Game_Interpreter
  #--------------------------------------------------------------------------
  # * Checks if any switch is equal to the value
  #--------------------------------------------------------------------------
  def any_switch?(switches, value=true)
    return switches.any?{|i| $game_switches[i] == value}
  end
  #--------------------------------------------------------------------------
  # * Checks if all switches are equal to the value
  #--------------------------------------------------------------------------
  def all_switch?(switches, value=true)
    return switches.all?{|i| game_switches[i] == value}
  end
end

#==============================================================================
# ** Sprite_Base
#------------------------------------------------------------------------------
#  A sprite class with animation display processing added.
#==============================================================================

class Sprite_Base < Sprite
  #--------------------------------------------------------------------------
  # * Start Animation
  #--------------------------------------------------------------------------
  alias :quasi_start_animation  :start_animation
  def start_animation(animation, mirror = false)
    quasi_start_animation(animation, mirror)
    if @animation
      @rand = qrand(@animation.zoom_range)
    end
  end
  #--------------------------------------------------------------------------
  # * Set Animation Sprite
  #     frame : Frame data (RPG::Animation::Frame)
  #--------------------------------------------------------------------------
  alias :quasi_animation_set  :animation_set_sprites
  def animation_set_sprites(frame)
    quasi_animation_set(frame)
    return if @rand == 0
    cell_data = frame.cell_data
    @ani_sprites.each_with_index do |sprite, i|
      next unless sprite
      pattern = cell_data[i, 0]
      next if !pattern || pattern < 0
      sprite.zoom_x += @rand/100.0
      sprite.zoom_y += @rand/100.0
    end
  end
end

#==============================================================================
# ** Scene_Base
#------------------------------------------------------------------------------
#  This is a super class of all scenes within the game.
#==============================================================================

class Scene_Base
  #--------------------------------------------------------------------------
  # * Wait
  #--------------------------------------------------------------------------
  def wait(duration)
    duration.times { update_basic }
  end
end

#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
#  This class performs the map screen processing.
#==============================================================================

class Scene_Map < Scene_Base
  #--------------------------------------------------------------------------
  # * Refresh spriteset
  #--------------------------------------------------------------------------
  def spriteset_refresh
    @spriteset.refresh_characters
  end
end

#==============================================================================
# ** Kernel
#==============================================================================

module Kernel
  #--------------------------------------------------------------------------
  # * New random method that recordes the previous 3 randoms
  # if current random is equal to any of the previous 3, it runs again
  #--------------------------------------------------------------------------
  def qrand(max)
    max = 1 if max == 0
    @prevRand = [] if @prevRand.nil?
    value = Random.new.rand(max)
    value = Random.new.rand(max) if @prevRand.include?(value)
    @prevRand << value
    @prevRand.shift if @prevRand.length > 3
    return value
  end
end

#==============================================================================
# ** Math
#==============================================================================

module Math
  #--------------------------------------------------------------------------
  # * Calculate angle between 2 points
  #--------------------------------------------------------------------------
  def self.angle(point1, point2, quad4 = false)
    x = point2[0] - point1[0]
    y = point2[1] - point1[1]
    y *= -1 if quad4
    radian = atan2(y, x)
    angle = (radian * 180 / PI)
    angle = 360 + angle if angle < 0
    return angle
  end
  #--------------------------------------------------------------------------
  # * Calculate pos on a circle
  #--------------------------------------------------------------------------
  def self.circle(cx, cy, radius, angle)
    x = cx + Math.sin(angle)*radius
    y = cy + Math.cos(angle)*radius
    return [x, y]
  end
end

#==============================================================================
# ** String
#==============================================================================

class String
  #--------------------------------------------------------------------------
  # * Converts the string to a range
  #--------------------------------------------------------------------------
  def to_range
    return unless self.include? ".."
    literal = (self.include?"...") ? literal = "..." : literal = ".."
    range = self.split(literal).map {|x| x.to_i}
    return range[0]..range[1] if literal == ".."
    return range[0]...range[1]
  end
  #--------------------------------------------------------------------------
  # * Converts the string to an array
  #--------------------------------------------------------------------------
  def to_ary
    ary = self.split(",")
    ary.map!{|s| s.int? ? s.to_i : s}
    return ary
  end
  #--------------------------------------------------------------------------
  # * Checks if string only contains letters
  #--------------------------------------------------------------------------
  def abc?
    return self !~ /\d/
  end
  #--------------------------------------------------------------------------
  # * Checks if string only contains numbers
  #--------------------------------------------------------------------------
  def int?
    self.to_i.to_s == self
  end
  #--------------------------------------------------------------------------
  # * Checks if string is in Symbol format
  #--------------------------------------------------------------------------
  def sym?
    return self[0] == ":"
  end
  #--------------------------------------------------------------------------
  # * Checks if string is in Symbol format
  #--------------------------------------------------------------------------
  def ary?
    return self[0] == "[" && self[self.size-1] == "]"
  end
end

#==============================================================================
# ** Array
#==============================================================================

class Array
  def to_h
    return Hash[self]
  end
end

#==============================================================================
# ** Array
#==============================================================================

class Color
  def to_hex
    r = red.to_i.to_s(16).rjust(2,"0")
    g = green.to_i.to_s(16).rjust(2,"0")
    b = blue.to_i.to_s(16).rjust(2,"0")
    return r + g + b
  end
end

#==============================================================================
# ** RPG::State
#==============================================================================
class RPG::State
  def param_change
    if !@param_change
      regex = /<(?:param_change|param change)>(.*)<\/(?:param_change|param change)>/im
      temp = Quasi::regex(@note, regex, :linehash, false)
      id = {"mhp" => 0, "mmp" => 1, "atk" => 2, "def" => 3, "mat" => 4,
            "mdf" => 5, "agi" => 6, "luk" => 7,
            "hrt" => 8, "mrt" => 9, "trt" => 10}
      if temp
        @param_change = temp.map {|key, v| [id[key.downcase] || key, v]}.to_h
      else
        @param_change = false
      end
    end
    return @param_change
  end
end

#==============================================================================
# ** RPG::Animation
#==============================================================================

class RPG::Animation
  #--------------------------------------------------------------------------
  # * Zoom Range name tag
  #--------------------------------------------------------------------------
  def zoom_range
    if !@zoom_range
      @zoom_range = @name =~ /<(.*)>/i ? $1.to_range : 0
    end
    return @zoom_range
  end
end

#==============================================================================
# ** RPG::SE | RPG::BGM | RPG::ME | RPG::BGS
#==============================================================================

class RPG::SE < RPG::AudioFile
  def play
    unless @name.empty?
      volume = @volume + Quasi::VOLUME
      volume = 0 if volume < 0
      Audio.se_play('Audio/SE/' + @name, volume, @pitch)
    end
  end
end
class RPG::BGM < RPG::AudioFile
  def play(pos = 0)
    if @name.empty?
      Audio.bgm_stop
      @@last = RPG::BGM.new
    else
      volume = @volume + Quasi::VOLUME
      volume = 0 if volume < 0
      Audio.bgm_play('Audio/BGM/' + @name, volume, @pitch, pos)
      @@last = self.clone
    end
  end
end
class RPG::ME < RPG::AudioFile
  def play
    if @name.empty?
      Audio.me_stop
    else
      volume = @volume + Quasi::VOLUME
      volume = 0 if volume < 0
      Audio.me_play('Audio/ME/' + @name, volume, @pitch)
    end
  end
end
class RPG::BGS < RPG::AudioFile
  def play(pos = 0)
    if @name.empty?
      Audio.bgs_stop
      @@last = RPG::BGS.new
    else
      volume = @volume + Quasi::VOLUME
      volume = 0 if volume < 0
      Audio.bgs_play('Audio/BGS/' + @name, volume, @pitch, pos)
      @@last = self.clone
    end
  end
end

But i have a error to a line 1361

bb = bb.to_ary

EDIT : i see this script is uncompatible with you're insane anti lag théo
The module you have might be the outdated version, looking at the version number. Try this
what is the error?
EDIT : i see this script is uncompatible with you're insane anti lag théo
I did state in my script that it might have a huge compatibility issues with some scripts. Especially the one that modifying how map works like Quasi movement since we both overwriting how map handling works. Mine just optimizing how the default one works to be more 'efficient'

I'm afraid I can't do something about it
i apologize, just my load order, i put the anti lag below the quasi and its works.

Now i find the quasi collsion map but he doesnt work :

Code:
#==============================================================================
# ** Quasi Collision Map v1
#  Requires Quasi Movement [version 1.2.1 +]
#    http://code.quasixi.com/page/post/movement/
#  Requires Quasi Module [version 0.4.5]
#    http://code.quasixi.com/page/post/quasi+module/
#  If links are down, try my github
#    https://github.com/quasixi/RGSS3
#==============================================================================
#  Allows the use of an image with collisions.  Using this you can setup
# a pseudo perfect pixel collision.
#  To have a map use a collision map, use the following in the maps notetag
#    <cm=NAME>
#  Map note tags are found in the map properties
#  Set Name to the name of the collision map you want to use, this image
#  should be inside the parallax folder!
#==============================================================================
# How to install:
#  - Place this below Quasi Movement(link is above)
#  - Place this above Quasi Optimize(optional script)
#  - Make sure the version of Quasi Movement is the required version.
#  - Follow instructions below
#==============================================================================
module Quasi
  module CollisionMap
#------------------------------------------------------------------------------
# Setup:
#  COLLISION is the color that will be not be passable, use
#    Quasi.color("hex color code")
#  Hex color is usually easy to find in most image editors, just don't
#  forget to leave out the # infront of the code!
#------------------------------------------------------------------------------
    COLLISION = Quasi.color("ffffff")
#------------------------------------------------------------------------------
#  REGIONS allow you to mark a new region type (pixel regions) based off
#  of a color.  To find out the pixel region someone is on use:
#    $game_map.pixel_region_id(px, py)
#  *NOTE* Make sure you use pixel values, so not their x/y values!!
#  This is setup inside a hash in the following format:
#    "hex color code" => id,
#  *NOTE* This doesn't relate with current regions, so pixel region 1
#  is not map region 1!!
#  **Completely optional, and does not need to be used**
#------------------------------------------------------------------------------
    REGIONS   = {
      "00ff00" => 1,  # Green is pixel region 1
      "0000ff" => 2   # Blue is pixel region 2
    }
#------------------------------------------------------------------------------
#  OPT is set to an integer which can help optimize the collision detection
#  What this does, it scans every X pixel, so if OPT was set to 5, it will scan
#  every 5th pixel when needed.  Depending on how detailed your collision maps
#  are you should use 1 or 2.
#------------------------------------------------------------------------------
    OPT = 1
#------------------------------------------------------------------------------
#  For testing purposes, set the bottom value to true to see the collision map.
#  Only shows during play testing.
#------------------------------------------------------------------------------
    SHOWMAP    = true
    MAPBLEND   = 0
    MAPOPACITY = 255
  end
end
#==============================================================================
# Change Log
#------------------------------------------------------------------------------
# v1 - Released
#==============================================================================#
# By Quasi (http://quasixi.com/) || (https://github.com/quasixi/RGSS3)
#  - 12/23/14
#==============================================================================#
#   ** Stop! Do not edit anything below, unless you know what you      **
#   ** are doing!                                                      **
#==============================================================================#
$imported = {} if $imported.nil?
$imported["Quasi"] = 0 if $imported["Quasi"].nil?
$imported["Quasi_Movement"] = 0 if $imported["Quasi_Movement"].nil?
$imported["Quasi_CollisionMap"] = 1

if $imported["Quasi_Movement"] >= 1.23 && $imported["Quasi"] >= 0.45

#==============================================================================
# ** Game_Map
#------------------------------------------------------------------------------
#  This class handles maps. It includes scrolling and passage determination
# functions. The instance of this class is referenced by $game_map.
#==============================================================================

class Game_Map
  attr_reader     :collisionmap
  #--------------------------------------------------------------------------
  # * Setup
  #--------------------------------------------------------------------------
  alias :qmcm_gm_setup    :setup
  def setup(map_id)
    qmcm_gm_setup(map_id)
    setup_collisionmap
  end
  #--------------------------------------------------------------------------
  # * Grab collisions from Image
  #--------------------------------------------------------------------------
  def setup_collisionmap
    @collisionmap = Cache.parallax(@map.collisionmap) rescue nil
  end
  #--------------------------------------------------------------------------
  # * Checks for collision
  #--------------------------------------------------------------------------
  def collisionmap_passable?(px, py)
    return true unless @collisionmap
    return @collisionmap.get_pixel(px, py) != Quasi::CollisionMap::COLLISION
  end
  #--------------------------------------------------------------------------
  # * Get Pixel Region ID
  #--------------------------------------------------------------------------
  def pixel_region_id(px, py)
    return 0 unless @collisionmap
    region = @collisionmap.get_pixel(px, py)
    id = Quasi::CollisionMap::REGIONS[region.to_hex]
    return id ? id : 0
  end
end

#==============================================================================
# ** Game_CharacterBase
#------------------------------------------------------------------------------
#  This base class handles characters. It retains basic information, such as
# coordinates and graphics, shared by all characters.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Determine if Tile is Passable
  #--------------------------------------------------------------------------
  alias :qmcm_gc_tilebox?    :tilebox_passable?
  def tilebox_passable?(x, y, d)
    collisionmap_passable?(x, y, d) && qmcm_gc_tilebox?(x, y, d)
  end
  #--------------------------------------------------------------------------
  # * Check if collided with collision map
  #--------------------------------------------------------------------------
  def collisionmap_passable?(x, y, d)
    pass = []
    checks = 0
    edge = edge(x, y, d)
    x1 = edge[0][0].truncate
    x2 = edge[1][0].truncate
    y1 = edge[0][1].truncate
    y2 = edge[1][1].truncate
    for x in x1..x2
      for y in y1..y2
        axis = direction == 2 || direction == 8 ? y : x
        axis1 = axis == x ? x1 : y1
        axis2 = axis == x ? x2 : y2
        firstfinal = axis == axis1 || axis == axis2
        next unless axis % Quasi::CollisionMap::OPT == 0 || firstfinal
        pass << $game_map.collisionmap_passable?(x, y)
      end
    end
    return pass.all?{|pos| pos == true}
  end
end

#==============================================================================
# ** RPG::Map
#==============================================================================

class RPG::Map
  #--------------------------------------------------------------------------
  # * Collision Map notetag
  #--------------------------------------------------------------------------
  def collisionmap
    if @collisionmap.nil?
      @collisionmap = Quasi::regex(@note, /<cm=(.*)>/i, :string)
    end
    return @collisionmap
  end
end

#==============================================================================
# ** Spriteset_Map
#------------------------------------------------------------------------------
#  This class brings together map screen sprites, tilemaps, etc. It's used
# within the Scene_Map class.
#==============================================================================

class Spriteset_Map
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  alias :qmcm_sm_init    :initialize
  def initialize
    qmcm_sm_init
    create_cmap
  end
  #--------------------------------------------------------------------------
  # * Start Collision Map Display
  #--------------------------------------------------------------------------
  def create_cmap
    return unless $game_map
    return unless $game_map.collisionmap
    return unless Quasi::CollisionMap::SHOWMAP && $TEST
    @cmap = Sprite.new
    @cmap.bitmap     = $game_map.collisionmap
    @cmap.blend_type = Quasi::CollisionMap::MAPBLEND
    @cmap.opacity    = Quasi::CollisionMap::MAPOPACITY
  end
  #--------------------------------------------------------------------------
  # * Free Collision Map
  #--------------------------------------------------------------------------
  def dispose_cmap
    return unless @cmap
    @cmap.bitmap.dispose if @cmap.bitmap
    @cmap.dispose
  end
  #--------------------------------------------------------------------------
  # * Refresh Characters
  #--------------------------------------------------------------------------
  alias :qmcm_sm_refresh    :refresh_characters
  def refresh_characters
    qmcm_sm_refresh
    dispose_cmap
    create_cmap
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  alias :cmap_sm_update   :update
  def update
    cmap_sm_update
    update_cmap
  end
  #--------------------------------------------------------------------------
  # * Update Collision Map
  #--------------------------------------------------------------------------
  def update_cmap
    return unless @cmap
    @cmap.ox = $game_map.display_x * 32
    @cmap.oy = $game_map.display_y * 32
  end
end
else
  msgbox(sprintf("[Quasi Collison Map] Requires Quasi movement."))
end

the error is :

line 1409 : argumentError occured.
wrong number of argument (3 of 2)

and line 1874 :
Can't clone NilClass

EDIT : now the save doesnt work xD

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-scripts.89916/