Help - Search - Members - Calendar
Full Version: Error Help
RPG RPG Revolution Forums > Scripting > Script Development and Support
dev13
Please can anyone help me?

It says this when I try and save:

Script 'Scene_File' line219: TypeError occurred. no marshal_dump is defined for class Sprite_Character

I also get a: Script 'Scene_File' line 239: EoFError occurred. End of file reached.

So I've searched around and couldn't find any help that related to me...I am using Jets side-view battle system. This is also a script I have but I dont even think it works.

Spoiler Title
=begin

From an event, call

set_bfloor(filename,x,y,z,opacity)

to set the battlefloor. You can just call

set_bfloor

to restore defaults. You do not have to use all of the variables, but they must
be in order, eg:

set_bfloor(filename)
set_bfloor(filename,x,y)

=end

class Spriteset_Battle
def create_battlefloor
@battlefloor_sprite = Sprite.new(@viewport1)
@battlefloor_sprite.bitmap = Cache.system($game_system.battlefloor[0])
@battlefloor_sprite.x = $game_system.battlefloor[1]
@battlefloor_sprite.y = $game_system.battlefloor[2]
@battlefloor_sprite.z = $game_system.battlefloor[3]
@battlefloor_sprite.opacity = $game_system.battlefloor[4]
end
end

class Game_System
attr_accessor :battlefloor
alias initialize_bfloor initialize unless $@
def initialize
@battlefloor = ["BattleFloor",0,192,1,128]
initialize_bfloor
end
end

class Game_Interpreter
def set_bfloor(filename="BattleFloor",x=0,y=192,z=1,opac=128)
$game_system.battlefloor = [filename,x,y,z,opac]
end
end


The problem normally occur after I use my transform skill in battle for the first time, then try to save. I need to continue working on this but I cant save and load the game, so its hard for me to playtest to make sure everything works..Please help
X-M-O
Moving this to Script Development as it relates to scripts not Events.
Nub Cake
im not an expert when it comes to script, but did you copy the whole script or just parts?

if you copied parts, try to see if you can find the full script, if not, see if you can replace it with the normal Scene_File script. I'm not sure if you've tried or not, it's just a solution. Try testing with something similar, thats what i do often, not always for help, so then i look at the forum for that battle system. As an example for that, i use XAS, it got its own web page, really great for explanations and help smile.gif
dev13
Well I have jets full script...I am going to take out the battlebacks and start over in a diffrent project to see if it works

I did it in a diffrent project and it seemed to be the battlebacks script causing the problem I believe, I am still testing to make sure


I merged your posts together. Please don't double-post; use the edit button to update your post. Thanks. ~ X-M-O
dev13
nope it still doesnt work, I am going to take out jets script

EDIT: I guess the game just couldnt switch from one character to another, So I just went back to my first way of transforming using a button, and setting variables and switches...
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.