Game Development Community

Chapter 4

by Ken Finney · in Torque Game Engine · 07/05/2004 (12:57 pm) · 27 replies

If you type in the emaga4 code from the book, it will work correctly as written.


However, there is a naming error in the CD copyable code for chapter 4 - an early prototype name was left in. To fix:

1. Copy the root main.cs plus the control folder with its contents over to your emaga4 folder on your hard drive, then make the changes:

2. Rename control/game.cs to control/server.cs.

3. You then have to locate the Exec("./game.cs"); line in control/initialization.cs and change it to Exec("./server.cs");

Everything then works correctly.



(This error was previously addressed here, and also reported here, and here.)
Page«First 1 2 Next»
#21
03/26/2006 (2:00 pm)
Bah, should have read this post before wasting an entire day trying to find my errors. I just get the black console screen and nothing else.

Suppose I learned something but would have been nice if the thing worked.
#22
03/31/2006 (2:44 pm)
@ Mike Rowley

Same for me...no way to make it work...
Let's jump to chapter5. I hope i'll have more luck...
#23
03/31/2006 (4:37 pm)
You'll find chapter 5 to be much better. I've completed both books. It gets better.
#24
05/04/2008 (8:58 am)
Hi guys i think i have found the problem
The thing is delete the compiled files (with .cs.dso as extension) that came when u installed emaga4
then start tge u will get the output as specified in the text
#25
06/30/2008 (5:25 pm)
I made it work, but it was a real pain. (tricks like stockly named MaleAvatar while sources reffer to HumanMaleAvatar). Mostly one have to understand what he's typing or it's impossible to make it running. On the other hand, I finally slowly get some grasp after all those years leaving torque and getting back to it.
#26
09/02/2008 (12:43 am)
So noone can post a fix how to get it work? Then i will just go on with chapter 5 but i would prefer getting chapter 4 to work first :/
#27
01/05/2009 (1:07 pm)
Also new at this, just tried completing Chapter 4, and the same issue as noted here. I could not get it to work. I deleted all previous *.dso files as suggested, but that did not correct the problem. I'm working through the 2nd edition of the book.

Something appears to be failing with the avatar. I do get the "grassy knoll", and then my screen jumps a little and freezes.

Hoping that Chapter 5 is better, like is noted here!
Page«First 1 2 Next»