***************Short Script Thread******************
I actually got bored, and came up with a simple DEBUGGING script to let all the insecure people know they are in the right mode.
Not much to comment on, other then if it works or not.
Or you can use this.
Edit: Dec 23, 2007 at 8:20 PM EST
Just put command_shutoff anywhere in a automatic script, and the game shuts down ^_^ tested.
next script: need ideas =.=
edit: heres another way to null your game, and it is a bitch to find.
I actually got bored, and came up with a simple DEBUGGING script to let all the insecure people know they are in the right mode.
Code:
print "You are in debug\n" if $DEBUG
Not much to comment on, other then if it works or not.
Or you can use this.
Code:
if $DEBUG = true
then print "debug\n"
else
end
Edit: Dec 23, 2007 at 8:20 PM EST
Code:
def command_shutoff
$scene = nil
end
next script: need ideas =.=
edit: heres another way to null your game, and it is a bitch to find.
Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
# After defining each class, actual processing begins here.
#==============================================================================
begin
# Prepare for transition
Graphics.freeze
# Make scene object (title screen)
$scene = Scene_Title.new
# Call main method as long as $scene is effective
while $scene != nil
# $scene.main
end
# Fade out
Graphics.transition(20)
rescue Errno::ENOENT
# Supplement Errno::ENOENT exception
# If unable to open file, display message and end
filename = $!.message.sub("No such file or directory - ", "")
print("Unable to find file #{filename}.")
end