Client missing DT class CWaterBullet
From Valve Developer Community
Revision as of 05:45, 13 May 2013 by Slam12f (Add Russian Lang)
There are two mistakes in Valve's Orange Box codebase that prevent clients connecting to servers. The errors that appear in the console are:
- Client missing DT class CWaterBullet
- Client missing DT class CWeaponCycler
To fix them:
IMPLEMENT_SERVERCLASS_ST( CWaterBullet, DT_WaterBullet ) / END_SEND_TABLE()from lines 31 and 32.
DECLARE_SERVERCLASS();from line 28.
server\h_cycler.cppand remove similar code from lines 226, 238 and 239.
#include "c_weapon__stubs.h" / STUB_WEAPON_CLASS( cycler_weapon, WeaponCycler, C_BaseCombatWeapon );to a CPP file of your choosing on the client.