Please Help* Playgui Crash
by Matt Yopp · in Game Design and Creative Issues · 12/10/2007 (11:31 am) · 4 replies
I need some help restoring my playGui for the game I'm making for my final project. This is really important so any help would be phenomenal. It seems I've tried everything.
Here's my problem and what I was doing right before it happened:
I went into the playGui to add a crosshair to my first person perspective. I added the crosshair, saved the gui, closed my game, and then reopened it. My mainMenu gui comes up just fine as well as the loadingGame gui but when the game gets to it's final "loading objects" bar, it stops at the end.
When I open the command console to check the problem, I get the following error message:

I've tried going into the individual CS files and changing the name directly to PlayGui (I believe I had the name as playGui with lowercase, and I think it is case sensitive) but to no avail. I've checked about every CS file in the Torque engine looking to see if I can fix this error, but I just have no clue.
I don't know if it had something to do with the crosshair that I added, or if it was something in the way I saved the file.
If anyone can help me out this would be GREATLY appeciated, my graduation from my program depends on it. THANKS!
Here's my problem and what I was doing right before it happened:
I went into the playGui to add a crosshair to my first person perspective. I added the crosshair, saved the gui, closed my game, and then reopened it. My mainMenu gui comes up just fine as well as the loadingGame gui but when the game gets to it's final "loading objects" bar, it stops at the end.
When I open the command console to check the problem, I get the following error message:

I've tried going into the individual CS files and changing the name directly to PlayGui (I believe I had the name as playGui with lowercase, and I think it is case sensitive) but to no avail. I've checked about every CS file in the Torque engine looking to see if I can fix this error, but I just have no clue.
I don't know if it had something to do with the crosshair that I added, or if it was something in the way I saved the file.
If anyone can help me out this would be GREATLY appeciated, my graduation from my program depends on it. THANKS!
About the author
#2
Anyway... could you tell me more about this Subversion?? What's it all about... about more importantly (if you know specifically) where can I get it?? :-D
12/10/2007 (3:54 pm)
HA HA HA, hey Ross. Thanks a lot for the quick reply, but things are all ok now >SHOOO!!< I still have no idea what I did to cause the error, but it was a quick fix. All I did was replace the old playGUI cs file with the original from my other copy of Torque (which I do use separately for reference ;-) great minds think alike). After replacing it, I made sure that everything was copacetic, set it up to work with my current .mis file and use my custom GUI... and everything seemed to just fall into place.... weird.Anyway... could you tell me more about this Subversion?? What's it all about... about more importantly (if you know specifically) where can I get it?? :-D
#3
Here's the one click Windows installer for it( svn1clicksetup.tigris.org/ ). You'll also need TortoiseSVN which allows you to check out projects( tortoisesvn.tigris.org/ ). There are lots of tutorials on Subversion and Tortoise, but the gist of it is, you check in your whole project tree in a working state, make your changes as you go, and check in when you have a working version of whatever you're currently working on (generally you want to keep check ins small, so one or two classes at a time, or incremental changes in the way things work). This allows you to go back to previous versions painlessly, since they're all there for your inspection.
12/10/2007 (4:01 pm)
Subversion is absolutely essential! It's basically a versioning system for code bases. You check in all of your files for your project, and you can then update them as needed, but all the old versions are still accessible. As well, you can compare the changes you've made in any version with the current version or previous ones.Here's the one click Windows installer for it( svn1clicksetup.tigris.org/ ). You'll also need TortoiseSVN which allows you to check out projects( tortoisesvn.tigris.org/ ). There are lots of tutorials on Subversion and Tortoise, but the gist of it is, you check in your whole project tree in a working state, make your changes as you go, and check in when you have a working version of whatever you're currently working on (generally you want to keep check ins small, so one or two classes at a time, or incremental changes in the way things work). This allows you to go back to previous versions painlessly, since they're all there for your inspection.
#4
THANKS AGAIN!!
12/11/2007 (9:17 am)
ROSSS!!! YOU ARE A GENIOUS!! Thanks sooooo much for the help man.... I'm gonna go grab this program right now, it sounds exactly like what I need (with the way I code ha ha)THANKS AGAIN!!
Associate Ross Pawley
PS.: You should *really* set up Subversion if you don't have it already. It makes big changes or even small changes that happen to break things easy and pain free. There are one-off Windows installers around that require very little setup to work.
Edit: Another thing to check: does the object "PlayGui" exist in the file?