Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> 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
   
X-M-O
post May 19 2012, 03:48 PM
Post #2


Level 82
Group Icon

Group: Director
Posts: 6,347
Type: None
RM Skill: Undisclosed




Moving this to Script Development as it relates to scripts not Events.


__________________________
Go to the top of the page
 
+Quote Post
   
Nub Cake
post May 19 2012, 04:07 PM
Post #3


Level 7
Group Icon

Group: Revolutionary
Posts: 102
Type: Event Designer
RM Skill: Skilled




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


__________________________


[Show/Hide] To make my signature smaller

[Show/Hide] Koroshite Gakuen - Paused - lack of inspiration


Koroshite Gakuen means Killing in the School, and my current project is finally gonna be the first game i complete.

As for plans, i have though of the chat options, full screen, menu and might a diary, and a phone system.

The game is based on a girl, still unnamed, and it's a day at the high school where they play mafia.

Mafia is a game where a few is selected to be mafia, and a a couple selected for detectives. The rest is innocent, and the mafias touch them and tells them their dead, and they eventually lie down, sit down or go to a certain room. Now, the detective can then go to them, and the dead guy will tell them one thing that can describe the murders appearance, but no names, and no one else knows what that guy told the detective. Either the mafia kills all, or the detective catches the mafias, and the game ends.

Now, the plan is that there happens an actual murder at the school, there isn't cops in the town, and there isn't enough resources to send more than one police officer, which can't figure out much. So as the police officer doesn't do too much, you decide to take it up yourself, track down the murder.

I don't feel like telling more as it kind of spoils it, but i can say that I'm still at the mapping, and i try my best to make them look as good as possible, as I'm a horrible mapper.

Decent art artist?

I could really use some help for some of the graphics for character faces, and eventually a few character pictures c:



I love to write stories, if you're stuck on your games story, i might be able to help :)
Go to the top of the page
 
+Quote Post
   
dev13
post May 19 2012, 07:07 PM
Post #4


Level 1
Group Icon

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




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


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
   

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: 22nd May 2013 - 07:08 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker