RGSS stoped to work
#1
Question 
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.
[Image: ban.png]
Reply }
#2
Typically... it's the result of corrupted data. Perhaps your "Enemies.rxdata" file in your Data folder went bad. Maybe something else.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#3
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
[Image: ban.png]
Reply }
#4
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#5
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.
[Image: ban.png]
Reply }
#6
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
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   RGSS scripting dissections and explinations Siletrea 97 104,226 03-18-2019, 06:46 AM
Last Post: Siletrea
   Help iwth script (RGSS Player crash) Whisper 3 8,526 06-17-2017, 05:03 PM
Last Post: Whisper
  How can I use the cmd of "require" in rgss superegp 2 5,910 11-03-2015, 06:16 AM
Last Post: kyonides
Tongue  Healing Spell doesn't work right in Menu? Bounty Hunter Lani 8 12,477 01-15-2015, 07:45 PM
Last Post: Bounty Hunter Lani
   Continue even when Loser doesnt work Djigit 4 7,023 10-14-2014, 03:22 AM
Last Post: DerVVulfman
   Ruby, RGSS & General Code Discussion Kain Nobel 6 10,875 12-22-2012, 05:11 AM
Last Post: MechanicalPen
   [Request] Tut. for RGSS Eldur 9 11,905 12-07-2012, 04:27 AM
Last Post: DerVVulfman
   [ASK-RGSS] Behemoth's CBS alike Getsuga_kawaii 0 4,225 04-29-2010, 03:07 PM
Last Post: Getsuga_kawaii
   Quick RGSS question - switches Ravenith 2 5,626 08-23-2009, 11:23 AM
Last Post: Ravenith
   How can i activate switches with rgss computerwizoo7 2 7,417 07-04-2009, 03:01 AM
Last Post: computerwizoo7



Users browsing this thread: 1 Guest(s)