Jiri wrote:
Infamous "Handler not defined" error in the game:
I recieved an interesting email this morning about this subject maybe it might help.
Hello. I see that you are working on Amber.
I found out some information that may be of some help. Some have complained of seeing a script error message when running the game. I read a couple of articles in which script files can be "altered" in folders to make programs work. It seems that these "handler not defined" errors are missing files that may need to be put in the folder manually.
Here is a portion of an FAQ I found:
****************************************************
10. I have installed Gameshow Pro 2 on my Macintosh computer and every time I click on Game 1, I get this error: Script Error-Handler Not Defined-#NewFile1! (This error applies to Game 2 displaying: Script Error-#NewFile2 and with Game 3 displaying: Script Error-#NewFile3).
Due to an oversight in the production of the installation CD for Gameshow Pro 2 for Macintosh, you will need to make the following changes in order to use the registered version of the program:
Within the Gameshow Pro 2 application folder, you will find three folders labeled "GAME1", "GAME2", and "GAME3"--assuming that you have installed all three Gameshow Pro 2 games.
Begin by opening the folder "GAME1". Inside of it you will find a file called "NewFile1.cxt." Make a copy of this file by single-click selecting it and then typing command-D (for duplicate). This will create a new file called "NewFile1.cxt copy". You must now
rename this file simply "NewFile1" (i.e., no ".cxt" extension).
Next, proceed to the folder "GAME2" and do the same thing, only this time the file, which you will be duplicating and renaming is called "NewFile2.cxt" and the name, which you will be changing it to, is simply "NewFile2".
Finally, open the folder "GAME3" and do the same thing to the file "NewFile3.cxt"--duplicate it and rename the duplicate simply "NewFile3".
If you follow these procedures correctly, then, after you have registered Gameshow Pro 2, you should be able create new files in all three games of Gameshow Pro 2 without encountering the error message "Error, Cannot locate the 'NewFile1/ 'NewFile2/ 'NewFile3'".
If you continue to have problems after making these changes, then please call LearningWare Technical Support at 1-800-457-5661 or e-mail support@learningware.com.
*****************************************************
And here is one more article:
*****************************************************
While trying to debug things, particularly using the message window to send >messages I find that often the errors generated don't reflect the problem, for example I find that "handler not defined" usually means there is an error in the handler in question that prevents it from compiling, rather
than it not existing, but I can't find any way of it getting me any more >detail than that. When I do manage to get a proper error dialoge appearing, more often than not it's an error in the Revolution IDE, rather than anything I've written which was initially very confusing as I couldn't figure out where all this code was coming from! I feel like I'm missing something like the "recompile now" button in Lingo.
It may not be the most helpful error message, but the
"handler not defined" error is technical true: if the handler won't compile, there is no handler. Generally scripts are checked for syntax errors whenever you save them. There is at least one way to circumvent this, which the Revolution crew are aware of. If you
get this error, you can probably nail it quickly by copying the handler in question to another object's script (a new button will do). The syntax checker will trigger, tell you what the error is, and you can copy the handler back.
*****************************************************
The following is a list of other "handler not defined"
articles. Perhaps these could be of some use to you.
http://nuttybar.drama.uga.edu/pipermail/dirga … ary/021345.html
http://www.printomatic.com/technote.cfm?technoteid=23
http://www.intellitools.com/techsupport/techt … bl_wikerror.htm
The email ends there. Thought it might open up some new avenues here. Also I knwo someone who is speaking with the original programs for the game ...perhaps we can get them to write a patch or at least grant license to do so.
Inferno
and some that I found as well:
[url]http://www.lingoworkshop.com/artic ... icle12.asp[/url]
http://www.zeusprod.com/technote/errors.html