Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Error Help
dev13
post May 19 2012, 03:34 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 8
Type: None
RM Skill: Undisclosed




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
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
dev13
post May 20 2012, 03:42 AM
Post #2


Level 1
Group Icon

Group: Member
Posts: 8
Type: None
RM Skill: Undisclosed




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 post has been edited by dev13: May 20 2012, 06:10 AM
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 06:20 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker