Save-Point
RGSS stoped to work - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: RGSS stoped to work (/thread-4539.html)



RGSS stoped to work - Chaos17 - 02-14-2013

Hi,

I would like to know if there is a way to find what made the bug "RGSS stoped to work".
Because at the moment I am having that problem when I begin a random new battle.
The background and my battlers are shown (not my enemies) and then my game just crashes.
I can't reproduce this bug all the time so I feel insecure since I can't be sure what I am doing is right.

Is anyone here having an idea or a program to help me corner this bug ?
I can't just remove my scripts if I can't reproduce the bug all the time.

I removed this script since I just recently added it but it's just one the script I added.
But I am not sure if it's fault though.

Did the bug happened before ? yes and I was able to remove the script that made it happen but only because the bug happened on every battle not just randomly.


RE: RGSS stoped to work - DerVVulfman - 02-14-2013

Typically... it's the result of corrupted data. Perhaps your "Enemies.rxdata" file in your Data folder went bad. Maybe something else.


RE: RGSS stoped to work - Chaos17 - 02-14-2013

Hi,

Is there a way to fix this ?
And how to avoid corrupted data ?

I am new to this so I search some guidance to threat well my data.

Edit : someone gave a script that will help me found my problem but I don't know how to read this.
http://pastebin.com/GmzpRJxf


RE: RGSS stoped to work - DerVVulfman - 02-14-2013

That's not a script or program. That's a log or record/transcript that was generated from using 'something'. You won't be able to actually use that for your problem.

How's this? Create a new project and run it immediately. Your new project should be RGSS-BUG free. After that, just go step-by-step and copy each script and database into it, testing each time you paste the new data in place. True, you could copy the actual Actors.rxdata file from the Data folder into the new project's Data folder, but I think using the 'Multi-Copy' feature would be best.

Just remember heiarchy. The Actors Database uses data from the Classes Database which uses data from Weapons/Armor which uses data from both States and System. Heck, even the States database depends on the Animations database. Copy STATES and SYSTEMS databases first. (Actually, copy Animations before copying States unless you didn't touch it). Then go for the Armors, Items and Weapons... Classes... Actors... Etc. SAVE often. Heck, make backups of THIS project as you go.


RE: RGSS stoped to work - Chaos17 - 02-14-2013

WoW!
I didn't know that there was an order to follow when I had to copy my data into a new project.
Thank you very much for your advice.
I will try to do my best.


RE: RGSS stoped to work - DerVVulfman - 02-14-2013

Sure, no problem.

It's not that there is a REQUIRED order, but it's a recommended order. Let's say you copy your CLASSES database before you mess with the WEAPONS and ARMOR. The new armor you checked off for your customized classes won't even be present when you copy them over, so they just stay in limbo unchecked. Better to explain 'WHY' rather than just say... 'do it this way'. Oh, copy SKILLS before you copy the Classes too. Winking