Client missing DT class CWaterBullet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with 'There are two errors in Valve's Orange Box codebase that prevent clients connecting to servers. The errors that appear in the console are: * '''Client missing DT class CWaterBul…')
 
mNo edit summary
Line 1: Line 1:
There are two errors in Valve's Orange Box codebase that prevent clients connecting to servers. The errors that appear in the console are:
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 CWaterBullet'''

Revision as of 10:41, 24 October 2009

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:

  1. Open server/waterbullet.cpp and remove IMPLEMENT_SERVERCLASS_ST( CWaterBullet, DT_WaterBullet ) / END_SEND_TABLE() from lines 31 and 32.
  2. Open server/waterbullet.h and remove DECLARE_SERVERCLASS(); from line 28.
  3. Add #include "c_weapon__stubs.h" / STUB_WEAPON_CLASS( cycler_weapon, WeaponCycler, C_BaseCombatWeapon ); to a CPP file of your choosing on the client.