Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[RMXP] Save File Problem
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RMXP] Save File Problem

Started by chuckman22, September 23, 2007, 09:41:47 AM

0 Members and 1 Guest are viewing this topic.

chuckman22

Well then I have read the Stickys and understand I need to give all my information which includes my problem, my non-default scripts, etc.

First my problem, during the play test everything goes smoothly. But if I save the game, it will save and make a save file, then after I shut it down and try to load the play test again It gives me an error when loading:

Script 'Party Switcher' Line 1795: EOFError Occurred

End of file reached


So I deleted the save file and poof when I loaded the play test everything worked again. So I just can't save.

Second Well I have so many different scripts it would just be easier for me, you and everyone else to post a demo. I have no problems giving a link to it since its not even close to done. I don't even really plan on distributing it online. So Here it is Fixed Version:http://www.megaupload.com/?d=G4QI7QQC 73.1MB

You will now be able to witness absolutely everything even the storyline which at this point is well for the lulz since it is totally lame without knowing the complex rest of my story. Anyhow just delete the saved game and it will work again. I am not proficient with scripts so hopefully one of you will have an idea what I'm doing wrong. Oh and thanks ahead of time


I used to be bored...until I got RPG Maker!

djkdjl

I suggest that first step is to figure out the problem.

Copy your entire project to a new folder.  Delete all the custom scripts in that new game folder.  And then start copying/pasting custom scripts one by one and testing the game.
"If u'r about to die,,then think of how good ur life has treated u up to this point.  On the
other hand,,if life hasn't treated u good up to this point,,then take joy in the fact that
it's not going to bother u for much longer."

Falcon


WcW

Problem with Marshal. Its currently impossible to fix, unfortunately.
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.

Falcon

No it's not, but the topic is not a good RGSS Error topic, check the stickies and improve it.

chuckman22

#5
Sorry but I have no idea what a sticky is I never participate in forums but with RMXP I need forums because people are smart and know what they are doing.

I am a bit confused to be honest. I have no idea what the Marshal is but Falcon said thats not the case of why I am having this problem. So yes I will move my post and from there I will ask more questions.


So once you tell this newb what a sticky is please delete this post thanks to all!
I used to be bored...until I got RPG Maker!

:)

no need to delete this post.

Simply a sticky is a post that is pinned to the top of a board. Mainly topics that go over Rules or are found helpful.
Watch out for: HaloOfTheSun

chuckman22

oh okay I understand what a sticky is now thanks Nouman and you to Falcon. So....how can I solve this problem.

Quote from: djkdjl on September 23, 2007, 02:40:00 PM
I suggest that first step is to figure out the problem.


Copy your entire project to a new folder.  Delete all the custom scripts in that new game folder.  And then start copying/pasting custom scripts one by one and testing the game.

Thanks djkdjl that was a good idea but I am going to do that as a last resort I have many many different scripts. A good amount are from sephs test bed.

Quote from: WcW on September 23, 2007, 09:12:27 PM
Problem with Marshal. Its currently impossible to fix, unfortunately.

So yes I am clueless on what you meant but it is okay.

I think its funny that when I delete the saved game all the scripts work again. So as long as I don't save everything works like a charm. If someone knows anything please let me know, and please take your time no rush, I have been working on the project non-stop so a little break is in order! Thanks again!  ;D
I used to be bored...until I got RPG Maker!

Falcon

You solve the problem by READING THE STICKIES IN THIS FORUM, LIKE I TOLD YOU.

For any script that modifies a save or load method, it will make all old save files incompatible, so if you delete all your old saves, then it should be fine.

Now, read the script help sticky, and read all stickies, so you never have to get in trouble with me :)

WcW

Yes it is, Falcon. EOFerror is a Marshal error. It happens most commonly in RMXP when something goes wrong with people using Marshal the wrong way and save files won't work anymore. I've accidentally done this to some of my own projects before when messing around with Marshal. You know, Falcon, you really don't make a very good mod in my opinion because you are quite a bit too thickheaded, but that's just my opinion. If you want to go ahead and ban me for this, go ahead, but I'm just speaking my mind.

But anyway, whaat scripts were you using before this error started happening, and what did you do right before it happened?
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.

chuckman22

#10
If you download the demo I put you will see! Maybe I put too many scripts lol.
I used to be bored...until I got RPG Maker!

modern algebra

Your project is over 70 MB. That makes it kind of difficult for us, even if it was simpler for you.

"Its currently impossible to fix, unfortunately."

That's probably untrue. It could be improper use of Marshal, or, since I would suspect nobody would intentionally release a script that screws up on so fundamental a level (though it is possible they never tested), it might also be a problem with old savefiles (I.e. it didn't save the data you are trying to access and thus cannot load), or it could be incompatibility: the scripts may have overwritten Scene_Save or Scene_Load. Until you take a look at the scripts, it is unwise to say it is impossible to fix, in my opinion.

Also @chuckman, try making a new game and saving that, and then see if it loads.

Shinami

#12
One simple question. Did you remove a script from the demo any time recently after making the original save file that gave you the EOFError?

EDIT:Holy shit. That's a lot of scripts.

Shinami

Okies. There are missing files in the project you uploaded. Get them put in and I'll look at your error.

On another note, I already have a damn good idea on what's going on. I just need to know if that save file was that save file made BEFORE you put in the party switcher script?

chuckman22

#14
Actually I did, deleted well over a dozen scripts that seemed useless. But only the ones that came with the sephs test bed (latest version). Why do you ask?
Quote from: Shinami on September 24, 2007, 07:24:55 AM
Okies. There are missing files in the project you uploaded. Get them put in and I'll look at your error.

On another note, I already have a damn good idea on what's going on. I just need to know if that save file was that save file made BEFORE you put in the party switcher script?

Whats funny is if I delete that party switcher script a new script will actually become the problem script, I think its the battle commands that become suspect once you delete the party switcher script. Same error and all. Oh yeah and I made the save file just before I uploaded it today. I made the save after all scripts were in place.
I used to be bored...until I got RPG Maker!

Shinami

The save file in the demo you posted apparently doesn't have ANY saved data in it for your party switcher script to load. Scripts can't load data if the file doesn't have it. Fix the missing files in your project, make another save file, and restart the test player. If you still get an error, I'll look into it.

chuckman22

#16
okay thanks a lot I did all that you said and of course I still had the error. I am uploading right now so it will be a little while. I appreciate you taking your time to help me.

Edit: Okay fixed demo is up....silly me was in a hurry to go to work so I forgot to check it for stability when I deleted a bunch of files to save space.  Thanks again for all the help.
I used to be bored...until I got RPG Maker!

tSwitch

Quote from: chuckman22 on September 24, 2007, 08:05:14 AM
okay thanks a lot I did all that you said and of course I still had the error. I am uploading right now so it will be a little while. I appreciate you taking your time to help me.

Edit: Okay fixed demo is up....silly me was in a hurry to go to work so I forgot to check it for stability when I deleted a bunch of files to save space.  Thanks again for all the help.

Dieser Link ist leider nicht verfügbar
--This link is not available unfortunately.--


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

chuckman22

Yeah the link wasn't working, but it is now I made sure to download it myself to ensure the rar file with the demo works and everything. Thanks for your patience guys, I can be a handful.
I used to be bored...until I got RPG Maker!

WcW

Well, no, I accidently misused Marshal, so I know about this. No way to fix it, as I removed the script, and all it did was open up Marshal the wrong way, and now its broke in those two projects.
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.

modern algebra

Well, I just opened the project, and that script aliases Scene_Save, but that part is not running at all. That means the most likely explanation is that there are cmpatibility issues between scripts. Beyond that, I have no idea where you have hidden all the default Scene_ classes. I assume they're all tucked away somewhere in that mess of Custom Scripts. I also do not know why the scripter completely overwrites Game_Party, and then proceeds to do the stuff in Scene_Save, Scene_Load, since they are just loading instance variables of Game_Party. Regardless, the problem is probably incompatibility between scripts, not a problem with Marshal. It is not impossible to fix, but it is going to be a pain with all the custom scripts you have.

I might take a closer look if I have the time to, but for now I'm going to leave you with a question: What scripts have you added recently. I.e. what scripts have you added since the last known stable version of your game?

Also, WcW, I imagine the problem are the save games in those two projects. If you delete them, then I imagine your projects ought to work fine. Though, I couldn't know unless I saw it.

WcW

No save files in them. It screws around with something in the project and no matter what, even if there are no files, then it still shows the load option at startup and will crash if I go to Scene_Load or Scene_Save.
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.

modern algebra

That's odd. I'd like to see the project, but in any case, I do not think that is the problem with the project chuckman has uploaded. Partly because his does work when you go to Scene_Save, but it screws up in Scene_Title if you have a save game, and also because the part that is supposed to save the variables being loaded does not run at all, which will result in the EoF Error he is getting. I suspect it is an overwritten Scene_Save somewhere, but chuckman has like 80 custom scripts and all the default Scene_ classes seem to be either integrated into all the custom ones or located externally. For that reason, I am finding it somewhat difficult to locate anything.

EDIT:

I've determined that his CMS is the primary source of the current problem. It overwrites Scene_File, and if you remove it, then the original problem does not exist. Whether it causes other problems, I still do not know. I'm kind of tired now though, and I do not feel like fixing and bug-testing it though, so I will either do it in the future or let another scripter take it from here.

chuckman22

Wow I kinda figured it had something to do with the CMS partly because I added it and then custimized it with the ability to have extras in the End Menu. I have a Bestiary, Skill Book, Pong, Black Jack, etc. I don't know nothing about scripts. I just kinda studied the environment and dabbled a bit.

In about thirty minutes I figured out how to change the window size, and make text appear. I also learned to call on events. I tend to try to figure things out on my own But obviously a noob like me made a mistake and here I am finally asking for help on the subject. But man you guys are really great thanks for your help I really appreciate it!

Anyways if anyone does a bug-test it I would be eternally grateful, I am just going to do a little test-bugging myself (even though I probably have no Idea what I'm doing) but still I can just make copies and give it a shot!
I used to be bored...until I got RPG Maker!

chuckman22

So I have done everything in my power to try to figure out how to fix my problem. I have no idea how to fix the save/continue function. I thought I might be able to figure it out but of course I cannot. I can get my loading to work when I delete the CMS Script unfortunately for me I really need this script so if anyone can help or point me in the right direction so I could maybe do it myself I would appreciate it!. Thanx a lot to all  ;D.
I used to be bored...until I got RPG Maker!