Game Development Community

Another weird error

by Tasty Green Pees :-, · in Torque Game Engine · 02/19/2006 (2:11 pm) · 5 replies

Hey, guys. Newbie. Can anyone explain this error:

*** LOADING MISSION: tutorial.base/data/missions/myMission.mis
*** Stage 1 load
common/server/missionLoad.cs (23): Unable to find function clearCenterPrintAll
common/server/missionLoad.cs (24): Unable to find function clearBottomPrintAll

Thank you

#1
02/19/2006 (5:11 pm)
Some code in missionLoad.cs is calling functions clearCenterPrintAll and clearBottomPrintAll, however those 2 functions are not available to call.
Starter.racing, starter.fps and the demo directories all have the centerPrint.cs (where the functions are located), but apparently the tutorial.base does not include those files.

So you could copy them over (there are 2, one for the client and one for the server) and exec them to get the functionality.
#2
02/19/2006 (6:22 pm)
Thanks Founder. Located these files. You wouldn't happen to know what they are for and whether I need them would you?
#3
02/20/2006 (2:46 pm)
Those files contain the code for displaying text message boxes on the screen (center and bottom). Until you get to the point where you need to display some sort of message box on the screen, you can ignore them as they should not interfere with the functionality of anything else.
#4
02/20/2006 (3:17 pm)
What mod are you working with (tutorial.bace or Starter.FPS), if its tutorial.bace, this is used for the chat system, and that isnt in the Tutorial.bace but it still calls for that, just comment out the lines looking for that in the main.cs that exes it.

If its the FPS, you broke somthing, its still used for the same thing (chat) but that IS in the Starter.FPS.

Eather way, you can find the files in any Starter.FPS mod filder.
#5
02/21/2006 (11:11 am)
Thanks guys. That was helpful.