Game Development Community

Another chapter 20 question

by Mike Rowley · in Torque Game Engine · 03/05/2006 (6:43 pm) · 4 replies

Ok, back again. Once more, I can't figure out the problem.

In player.cs I'm getting the following error:
Quote:
control/server/players/player.cs (115): Unknown command moutObject.
Object (1440) WheeledVehicle -> Vehicle -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject

But the only place in my code that says anything about mountObject is spelled correctly.

if ( %col_className $= "WheeledVehicle" )
  {
      %node = 0;   // Find next available seat
      %col.mountObject(%obj,%node);
      %obj.mVehicle = %col;

I know it's not using an old version of player.cs becouse I've become accustomed to deleting the dso file when I make a change.
anyone seen this before?

#1
03/05/2006 (6:48 pm)
And you did a find for "mout" in your code? Obvious question, but just checking. It's finding "mout" somewhere.
#2
03/05/2006 (6:50 pm)
Nope. Not a single mout anywhere. The odd thing is, it now seems to be working. I haven't done anything. :/
Well, we shall see.
#3
03/05/2006 (6:53 pm)
Weird.

At least it works now...
#4
03/05/2006 (7:04 pm)
May have been a dso file which wasn't being recompiled...