Error on map: "Client missing DT class CTeamTrainWatcher"

From Valve Developer Community
Jump to navigation Jump to search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

Orange Box code

Date: 14th August 2008.

Problem: You are unable to run maps after just having compiled a Half-Life 2: Multiplayer mod with the Orange Box code. No source code files have been changed.

Symptoms: Errors in the console such as:

DataTable warning: No matching RecvTable for SendTable 'DT_TeamTrainWatcher'.
Client missing DT class CTeamTrainWatcher
Host_EndGame: CL_ParseClassInfo_EndClasses: CreateDecoders failed.

Followed by the user being dropped from the server.

Cause: "Game_HL2MP-2005.sln" does not include the files for the TeamTrainWatcher entity on the client side. ----

Solution:

  • In Visual Studio, right click on the Source Files Folder in the Client project
  • Select add existing
  • Select c_team_train_watcher.h and c_team_train_watcher.cpp