mikeabo123
Member
Whenever I try to access my credits, I suddenly get this error...
http://img19.imageshack.us/img19/3504/testev6.png[/IMG]
I am using the legal version of RMXP, and I am using the following script:
Uh, I dont get this..I made a new project, added the script, and it works fine. So, I thought it may be conflicting with another script. I removed every script, one by one, and it still does not work. Someone, please help me.
http://img19.imageshack.us/img19/3504/testev6.png[/IMG]
I am using the legal version of RMXP, and I am using the following script:
Code:
CREDITS_FONT = "Times New Roman"
CREDITS_SIZE = 24
CREDITS_OUTLINE = Color.new(0,0,127, 255)
CREDITS_SHADOW = Color.new(0,0,0, 100)
CREDITS_FILL = Color.new(255,255,255, 255)
#==============================================================================
# ? Scene_Credits
#------------------------------------------------------------------------------
# Scrolls the credits you make below. Original Author unknown. Edited by
# MiDas Mike so it doesn't play over the Title, but runs by calling the following:
# $scene = Scene_Credits.new
#==============================================================================
class Scene_Credits
# This next piece of code is the credits.
CREDIT=<<_END_
Avina Online
SCRIPT'S
---------------
MiDas Mike for this credits script.
Near Fantastica and SilentDragon, for their Day/Night script.
XRXS, Dubealex, and Hypershadow180 for their Ring Menu script.
Fukuyama (SP?) for his/her awesome caterpillar script.
Chaosg1 for his/her Bestiary script.
All of the KGC, for their Bank script.
BudsieBuds for his awesome cheats input script.
Cybersam for his Keyboard Input script.
BlueScope for his Name Input script.
Raziel for his HUD script.
??? for their Herbalism skill. (If you are the author, contact me)
??? for their side-view battle system (If you are the author, contact me)
f0tz!baerchen for his Anti-Lag script.
SephirothSpawn for his Respawn script, and Sirsk8aton for giving me the script!
GRAPHICS
---------------
RMXP.org for their various resources.
Enterbrain for their various resources (RTP).
CreationAslyum.net for their various resources.
Blackwater-productions.net for their various resources.
LegACy for his icons.
MUSIC + SOUND
---------------
Enterbrain
MAPPING
---------------
Mike A (Mikeabo123)
STORYLINE DEVELOPEMENT
---------------
Mike A (Mikeabo123)
BETA TESTERS
---------------
Daniel C
Eric A
Cole N
SPECIAL THANKS
---------------
RMXP.org - A truely fantastic site, filled with the most kind members
you could ever ask for.
Creationaslyum.net - A great site dedicated to Rpg Maker. All of their members are
cool, so go check this place out.
My girlfriend Francesca, for putting up with me while I worked on my game.
Love you! :)
The soldiers in Irag, who are giving up their lives so that we can live freely
and happily. God bless you all, and thank you all so much.
Sirsk8aton for introducing me to the Rmxp Online world. Thanks man :)
The families of those lost in the Virginia Tech incident. I am truely sorry about
the event that occured, and my thoughts are always with all of you.
_END_
def main
#-------------------------------
# Animated Background Setup
#-------------------------------
@sprite = Sprite.new
#@sprite.bitmap = RPG::Cache.title($data_system.title_name)
@backgroundList = [""] #Edit this to the title screen(s) you wish to show in the background. They do repeat.
@backgroundGameFrameCount = 0
# Number of game frames per background frame.
@backgroundG_BFrameCount = 3.4
@sprite.bitmap = RPG::Cache.title(@backgroundList[0])
#------------------
# Credits Setup
#------------------
credit_lines = CREDIT.split(/\n/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_lines.each_index do |i|
line = credit_lines[i]
credit_bitmap.font.name = CREDITS_FONT
credit_bitmap.font.size = CREDITS_SIZE
x = 0
credit_bitmap.font.color = CREDITS_OUTLINE
credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line,1)
credit_bitmap.font.color = CREDITS_SHADOW
credit_bitmap.draw_text(0,i * 32 + 8,640,32,line,1)
credit_bitmap.font.color = CREDITS_FILL
credit_bitmap.draw_text(0,i * 32,640,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.z = 9998
@credit_sprite.oy = -430
@frame_index = 0
@last_flag = false
#--------
# Setup
#--------
# ME?BGS ??????
Audio.me_stop
Audio.bgs_stop
Audio.se_stop
# ?????????
Graphics.transition
# ??????
loop do
# ????????
Graphics.update
# ???????
Input.update
# ??????
update
# ????????????????
if $scene != self
break
end
end
# ?????????
Graphics.freeze
@sprite.dispose
@credit_sprite.dispose
end
#Checks if credits bitmap has reached it's ending point
def last?
return (@frame_index >= @credit_sprite.bitmap.height + 480)
end
def last
if not @last_flag
@last_flag = true
@last_count = 0
else
@last_count += 1
end
if @last_count >= 300
$scene = Scene_Map.new
end
end
#Check if the credits should be cancelled
def cancel?
if Input.trigger?(Input::C)
$scene = Scene_Map.new
return true
end
return false
end
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def update
@backgroundGameFrameCount = @backgroundGameFrameCount + 1
if @backgroundGameFrameCount >= @backgroundG_BFrameCount
@backgroundGameFrameCount = 0
# Add current background frame to the end
@backgroundList = @backgroundList << @backgroundList[0]
# and drop it from the first position
@backgroundList.delete_at(0)
@sprite.bitmap = RPG::Cache.title(@backgroundList[0])
end
return if cancel?
last if last?
@credit_sprite.oy += 1
end
end
Uh, I dont get this..I made a new project, added the script, and it works fine. So, I thought it may be conflicting with another script. I removed every script, one by one, and it still does not work. Someone, please help me.