Game Development Community

Chapter Four Not working

by Wilson · in Torque Game Engine · 02/27/2007 (12:44 pm) · 4 replies

I Have Reached Chapter Four in the book, and typed in all of the code however when I click the icon it just pops up with a loading box but nothing else happens. I assumed there was just an error in the code swo then I went to the place where all the code was typed in correctly(3dgpai1>resource>ch4), but that did not work either. it seems like it is just not reading the code. Any answers?

About the author

Recent Threads


#1
02/27/2007 (1:54 pm)
Compare the resource folders to your files,

also look at the console log it should point you in the right direction often giving you the exact file and line for errors it should be a text doc file it your folder. or ~ when in game window, it has been awhile since I've done the chapter
#2
02/28/2007 (12:46 pm)
I tried that but it still just opens with a blank dos-looking loading prompt even with the correct code.
#3
02/28/2007 (12:59 pm)
Make a duplicate folder of your files, and then import or copy/paste his files/folders into your duplicate folder and test it.

did you have any logs in your folder such as a console.log Example

//-------------------------- 2/27/2007 -- 12:41:01 -----
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script control/main.cs.
Loading compiled script control/client/presets.cs.
Loading compiled script control/server/presets.cs.
--------- Loading Add-ons ---------
Loading compiled script creator/main.cs.
Loading compiled script control/main.cs.
Loading compiled script control/client/presets.cs.
Loading compiled script control/server/presets.cs.
Engine initialization complete.

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

.
Loading compiled script control/server/misc/particles.cs.
*** LOADING MISSION: control/data/maps/book_ch6.mis
*** Stage 1 load
*** Stage 2 load
Executing control/data/maps/book_ch6.mis.
*** Mission loaded
Connect request from: IP:0.0.0.0:0
Connection established 1417
CADD: 1418 local
*** Sending mission load to client: control/data/maps/book_ch6.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: Reader to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: control/data/maps/book_ch6.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
Could not locate texture: ~/data/maps/lightning.dml
Validation required for shape: control/data/models/avatars/beast/player.dts
Added Beast [ 1420 ] :  :  # 0
Added Beast [ 1423 ] :  :  # 1
Added Beast [ 1426 ] :  :  # 2
Added Beast [ 1429 ] :  :  # 3
Added Beast [ 1432 ] :  :  # 4
Added Beast [ 1435 ] :  :  # 5
Added Beast [ 1438 ] :  :  # 6
Added Beast [ 1441 ] :  :  # 7
Added Beast [ 1444 ] :  :  # 8
Added Beast [ 1447 ] :  :  # 9
Added Beast [ 1450 ] :  :  # 10
Added Beast [ 1453 ] :  :  # 11
Added Beast [ 1456 ] :  :  # 12
Added Beast [ 1459 ] :  :  # 13
Added Beast [ 1462 ] :  :  # 14
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - Client Foliage Replication Startup is complete.
*** Phase 3: Mission Lighting
 Successfully loaded mission lighting file: 'control/data/maps/book_ch6_7351953.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Mapping string: MissionStart to index: 11
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Setting Initial Control Object
Activating DirectInput...
keyboard0 input device acquired.
Mapping string: Beast to index: 12
Mapping string: startRustle to index: 3
Mapping string: stopRustle to index: 4
Mapping string: MsgItemPickup to index: 13
Mapping string: You picked up %1 to index: 14
Mapping string: MsgWeaponUsed to index: 15
Mapping string: Weapon selected to index: 16
Mapping string: dropCameraAtPlayer to index: 5
Exporting client prefs
Exporting server prefs
CDROP: 1418 IP:0.0.0.0:0
Shutting down the OpenGL display device...
Making the GL rendering context not current...
Deleting the GL rendering context...
Releasing the device context...
keyboard0 input device unacquired.
#4
03/02/2007 (2:44 pm)
That did not work, and there are no logs in my folder. Perhaps the cd I installed the software off of is broken.