Help - Search - Members - Calendar
Full Version: Super Debug Mode
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS2-Submissions
snstar2006
Super Debug Mode
Version: 1
Author: snstar2006
Release Date: 2009/2/22
Exclusive Script at RPG RPG Revolution and 66RPG


Introduction
Make your F9 debug mode to be more than just changing variables and switches.


Features
The script enable you to:
* change the number of gold, item , weapon, and armor
* transferring around all maps
* viewing info about the map in game
* changing actor status
* changing options like disable dash, save, menu, etc.

Script
Click to view attachment

Customization
CODE

class Scene_Debug_Base < Scene_Base
# Switch for wheter you want to use the name of the Map as mapname
# if true then the name setting in Map setting will be used, so
# there wil be no need to fill in anything in the following mapname setting
# false means to use the following mapname setting
MAP_NAME_AS_PLACE_NAME = true

PLACES = {
#"mapname" => [map ID, x, y, facing]
# left "facing" as blank will be assumed as 2, i.e. down
# facing will be automatically corrected to 2 if it is any number other than 2, 4, 6, 8
"Origin" => [1, 9, 10],
}
end


Screenshot
[Show/Hide] screenshots


Installation
Copy & paste in a new script page below material section.
Remember to include the "Customize" part, too.
Locate this line in Scene_Debug:
CODE
$scene = Scene_Map.new

with this:
CODE
$scene = Scene_Debug_Base.new

Press F9 to call the new debug scene as usual

Credits
snstar2006, Snowy Star, or in Chinese 雪流星
snstar2006
I just find out that I have post this in the wrong place ohmy.gif , could any moderator transfer the script to RGSS2 section for me, thx sweat.gif
Night5h4d3
Nice script, but i thought RPG Advocate had made this for RMXP.
Moving to RMVX Scripts
~ enix2


Nice script, but i thought RPG Advocate had made this for RMXP.
Moving to RMVX Scripts
~ enix2
AnimeSnave
Veeeryy nice! Definitely going to be useful! Often have I found myself trapped on a map because I had forgotten to put in an event! This will be extremely useful for me so thanks a bunch!
SuperMega
Woah, this is sweet! Thanks for the awesome script. This will make it much more interesting to play test my games, when I want to rewatch cutscenes from my game, or take pictures and record videos of it.
SojaBird
Nice, and also looks good wink.gif

Great job!


Greatzz,
SojaBird.
guzzleboy478
I keep getting this error from this script. I'm not sure if I'm installing it right. But the error I get is:

Script 'Super Debug' line 851: NameError occurred.
uninitialized constant Scene_Debug_Base::PLACES
Any help is appreciated/ biggrin.gif
snstar2006
QUOTE (guzzleboy478 @ Feb 23 2009, 08:24 PM) *
I keep getting this error from this script. I'm not sure if I'm installing it right. But the error I get is:

Script 'Super Debug' line 851: NameError occurred.
uninitialized constant Scene_Debug_Base::PLACES
Any help is appreciated/ biggrin.gif

you did not include the "Customize" part
Genshyu
This is an awesome script, but it's in the RMXP session O.o.

OOPS. My bad ohmy.gif.... Coulda sworn I clicked on rmxp O.o
snstar2006
QUOTE (Genshyu @ Feb 23 2009, 10:23 PM) *
This is an awesome script, but it's in the RMXP session O.o.

OOPS. My bad ohmy.gif.... Coulda sworn I clicked on rmxp O.o


There is a redirected link left in the RMXP session biggrin.gif
Stef-san
rly nice script smile.gif its rly useful for ppl you wants to teleport everyelse or something to do cause they forgot an event to activate xD
guzzleboy478
So where exactly do I put the customization part? In the same place as your debug script, snstar?
miget man12
@quizzleboy: put it either above it in the same tab, or in another tab right above it. Hope that helps!
guzzleboy478
Nope. The customization script didn't help either. I get the same error. I know I added it above the super debug script, and I changed the line in Scene_Debug. Wonder what else could be wrong? Maybe my MapInfos file?
miget man12
it should be something like this:
EDIT: See the bottom post, there's a demo
toboisgreat
I get the same error, even after i put the customize in and change the scene debug =(
guzzleboy478
@miget man 12: I replaced both my script wiht you ones you posted, but I'm still getting the same error. I think this script just hates me... sad.gif
miget man12
okay, so I made a demo, just go to
http://www.mediafire.com/?ithonjjmotj
hope this helps... if not... well then it's something to do with your computer... I think!
guzzleboy478
Still no good. I'm gonna mess around wiht my scripts because something may be conflicting. I'll let ya know if I fix it.
snstar2006
Try the script with a new project
see if the same problem still occur
guzzleboy478
It wasn't any of my scripts. It WAS my MapInfos file. I guess from copying and pasting my maps too much, it got messed up, but it's working now. Thanks for the help everybody. wink.gif
titan_strife
I have encountered a new problem with this script. Here is a reference pic of the error.

[Show/Hide] Reference Pic


This happens anytime I press F9 to open the Debug menu.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.