vocab

somthing happen i hit play this happens
Screenshot (36).png
'Scripts' is where people who have written completed scripts they want to share with others can post them.
Moved to: RGSSx Script Support
Your custom script messed your game. Please recheck.
paste this
Spoiler
Code:
def report_exception(error)
  scripts_name = load_data('Data/Scripts.rvdata2')
  scripts_name.collect! {|script|  script[1]  }
  backtrace = []
  error.backtrace.each_with_index {|line,i|
    if line =~ /{(.*)}(.*)/
      backtrace << (scripts_name[$1.to_i] + $2)
    elsif line.start_with?(':1:')
      break
    else
      backtrace << line
    end
  }
  error_line = backtrace.first
  backtrace[0] = ''
  err_class = " (#{error.class})"
  back_trace_txt = backtrace.join("\n\tfrom ")
  error_txt = sprintf("%s %s %s %s %s %s",error_line, ": ", error.message, err_class, back_trace_txt, "\n" )
  print error_txt
  return error_txt
end
begin
  rgss_main do
    begin
      SceneManager.run
    end
  end
rescue SystemExit
  exit
rescue Exception => error
  error_txt = report_exception(error)
  print "Submit the file \"ErrorLog.txt\" in your project folder to the upper most script creators noted in the message.\n"
  filename = "ErrorLog.txt"
  File.open(filename, 'w+') {|f| f.write(error_txt + "\n") }
  raise  error.class, error.message, [error.backtrace.first]
end

in place of the Main section.
run the game and let it crash.
you should find a file called "ErrorLog.txt" in the game's folder... that should detail the error.
post it here for review
(*NOT* my script, I found it somewhere, and I've been using it for debugging for a while now.... should work in 99% percent of the cases tho)

Original thread: https://forums.rpgmakerweb.com/threads/vocab.98629/