3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Bug in project  (Read 1203 times)

« on: September 17, 2009, 07:07:31 PM »
Fernando, I had a bug with a project. I was done with a demo of a game that Im making and as I saved the project, reloaded the project, closed 3D Rad. Then opened the compiler, compiled the project and ran the project, but closed the file after loading the menu, which ment I didnt play the demo, just loaded the menu.

Then I put the file in a Smart Packer Free single exe file. Uploaded that file to the internet and had Nerogun test it. He noticed that he couldnt play it. So I downloaded the file and noticed that it was really messed up. Then I loaded the compiled version and same thing. After that I went to 3D Rad and loaded the level. What I found out was that ALL the items had been reset to 0,0,0 coordinates and orientation.

I can not redo this bug. But it was a heck of a backwards step :(
« Reply #1 on: September 17, 2009, 07:57:52 PM »
Sounds like what happened to that guy that hated 3d Rad....
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #2 on: September 17, 2009, 11:17:29 PM »
Quote
What I found out was that ALL the items had been reset to 0,0,0 coordinates and orientation.


This has also happened to me on a number of occasions.......usually after reloading my project after having experienced a small bug in my code, or/and after having run 3DRad for a long time (with a large number of project loading/reloading changes).

What I have learnt when this happens : Exit 3DRad immediately and DO NOT SAVE. Start 3DRad again, reload your project ........and everything should be back to normal again (hopefully)!
AKA: The 3D Raddict http://www.3draddict.com/
« Reply #3 on: September 18, 2009, 02:41:43 AM »
This is very likely caused by project data getting corrupt in memory, for some reason, for example a script writing outside array boundaries or a bug in some object, or a 3D Rad installation problem.

As AllanF suggested, if you don't save the project after you notice the anomaly, the project should be ok.

If you save the project, you may still retrieve a recent version of it in the

C:\3D Rad\3DRad_res\system\undo

folder, as long as you haven't used 3drad after the bug happened for too long.

To prevent data loss of this kind, the best is, as always, making frequent backups of you entire 3D Rad folder (or at least your 'projects' folder).

Also, to prevent installation problems that can lead to project memory corruption, make sure you never copy any object.dll file from an earlier 3drad version (eg a backup) to the current version installed on your HD.

Also, if your project uses any object that is no longer listed here (bottom of page), you should try to replace it with a newer object with similr functionality. Obsolete objects may cause anomalies that, potentially, may cause memory corruption.


« Reply #4 on: September 18, 2009, 08:57:47 AM »
well I did have a back up, but I had made too many changes to the script and added too many more objects that the backup was to far to go. So I repositioned the objects in the messed up project. :( a pain,  but its done.

Im going to keep daily backups from now on.
Pages: [1]