Game Development Community

Chapter 6 Direct messaging

by Paul Fischer · in Torque Game Engine · 08/18/2004 (5:27 am) · 4 replies

I ran into a problem while playing with the Direct Messaging code from chapter 6.

It works perfectly when I run in single player mode, but if I connect to the dedicated server from chapter 6 the server gives me a 'cannot find serverCmdTellEveryone' error.

It seems the client sends a message to the dedicated server, but the server cannot find the function to answer back.

Any ideas why this works in single player, but doesn't work when connected to the dedicated server?

#1
09/01/2004 (4:49 pm)
I am also having a problem - in my case, the score does not change when I pick up a coin. It works fine if I run the game locally, but running the dedicated server and connecting the client, I get this error on the server side whenever I pick up a coin:

control/server/misc/shapeBase.cs (167): Unable to find object: 'Scorebox' attempting to call function 'getValue'
control/server/misc/shapeBase.cs (168): Unable to find object: 'Scorebox' attempting to call function 'setValue'

This is occuring after I used the Emaga6Installer.exe to fix the other problems that were happening.
#2
09/06/2004 (11:42 am)
Also.. in that chapter a reference is made to find add'l code for internet connecting: cerdipity.no-ip.com/cerdipity. I get a IE page not found for that address..

Is there a website for this book that has an errata, updated code to download, add'l resources, etc?

If not, is there a chance one will get created? I'm surprised with the popularity of this book that more info isn't abounding on the internet about it.. Thx for writing it though.. kind of tough to read through because it almost just talks about the code and not the reason why you would use it.. also, mini projects along the way would be more helpful to explain the exact command/functions being explained rather then just trying to build one huge project. Very good though! Don't get me wrong!!

Thx for the help!
#3
09/18/2004 (5:48 pm)
Book website try: 69.192.168.213:800/book/
#4
09/25/2004 (1:16 pm)
This website does not seem to exist.. any other ideas? Why no errata with sample progs to download and all the code corrections?