Game Development Community

Small Booboo

by Allan Stewart · in Torque Game Engine · 03/23/2005 (10:32 pm) · 2 replies

I did a small booboo and not sure how to correct it. I some how made the map cycle to the next one with in about 10 secs of getting into the map, Thats a bad thing, I restored my files with the .Bak files but still happening, I wish to turn this cycle thing off some how. :(


Also buttonOverAudio , Anyone get this to work yet, I have it to a Tee from the book and still no go on it, and nothing shows in the console log for errors on it.

Quote://-------------------------- 3/24/2005 -- 01:07:15 -----
Loading compiled script common/main.cs.
Loading compiled script common/defaults.cs.
Loading compiled script control/main.cs.
Loading compiled script control/client/presets.cs.
Loading compiled script control/server/presets.cs.
Missing file: control/client/settings.cs!
Missing file: control/server/settings.cs!
++++++++++++ Loading Add-ons ++++++++++++
Engine initialization complete.

--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Compiling common/client/audio.cs...
Loading compiled script common/client/audio.cs.

++++++++++++ Initializing control module ++++++++++++
Compiling control/client/initialize.cs...
control/client/initialize.cs Line: 44 - Syntax error.
>>> Advanced script error report. Line 87.
>>> Some error context, with ## on sides of error halt:
//=======================================================================================

//

//Start up Music volume and wav file set up

//

==##=##======================================================================================
>>> Error report complete.

Loading compiled script control/client/initialize.cs.
Loading compiled script control/server/initialize.cs.

++++++++++++ Initializing module: koob23 server ++++++++++++
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script control/server/server.cs.
Loading compiled script control/server/misc/centerprint.cs.

++++++++++++ Initializing module: koob23 client ++++++++++++
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Missing file: common/client/scriptDoc.cs!

......................................................
.............................ect ect

This is a brand new log from launching the game to the main menu and the only error i see in it is

Quote:Compiling control/client/initialize.cs...
control/client/initialize.cs Line: 44 - Syntax error.
>>> Advanced script error report. Line 87.
>>> Some error context, with ## on sides of error halt:

And

Quote:Missing file: common/client/scriptDoc.cs!
which i can't find anywhere which i haven't figured out yet what it is but other than that no errors, Just not everything is working according to plan lol . I'll go browse the book and forums for may be an answer, Well i know i won't find it in the book been through it enough tonight , I'll be sure to post back once i figure it out in case some one else may be in the same boat.

#1
03/24/2005 (7:37 am)
1) This controls the game duration. Its at the top of server\scripts\game.cs

// Game duration in secs, no limit if the duration is set to 0
$Game::Duration = 20 * 60;

The function onGameDurationEnd() is what actually cycles the mission.

2) The problem looks like it is on this line:
==##=##======================================================================================

The line does not have comment slashes before it

3) scriptdoc.cs is located in common/client
#2
03/24/2005 (10:02 am)
Rgr found the solution some time in the wee morning here and passed out on the keyboard lol, i seemed to have slipped in 10sec lol not sure how i did , Maybe it was due to me falling asleep lol ,

Thx for the error fault in the script,

Do not have a file called scriptdoc.cs anywhere, Can't seem to find it on the other chapters either .