Client missing DT class CWaterBullet: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (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…') |
m (Nesciuse moved page Client missing DT class CWaterBullet/en to Client missing DT class CWaterBullet without leaving a redirect: Move en subpage to basepage) |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
There are two | {{LanguageBar}} | ||
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''' | ||
Line 8: | Line 10: | ||
# Open <code>server/waterbullet.cpp</code> and '''remove''' <code>IMPLEMENT_SERVERCLASS_ST( CWaterBullet, DT_WaterBullet ) / END_SEND_TABLE()</code> from lines 31 and 32. | # Open <code>server/waterbullet.cpp</code> and '''remove''' <code>IMPLEMENT_SERVERCLASS_ST( CWaterBullet, DT_WaterBullet ) / END_SEND_TABLE()</code> from lines 31 and 32. | ||
# Open <code>server/waterbullet.h</code> and '''remove''' <code>DECLARE_SERVERCLASS();</code> from line 28. | # Open <code>server/waterbullet.h</code> and '''remove''' <code>DECLARE_SERVERCLASS();</code> from line 28. | ||
# Open <code>server\h_cycler.cpp</code> and remove similar code from lines 226, 238 and 239. | |||
# '''Add''' <code>#include "c_weapon__stubs.h" / STUB_WEAPON_CLASS( cycler_weapon, WeaponCycler, C_BaseCombatWeapon );</code> to a CPP file of your choosing on the client. | # '''Add''' <code>#include "c_weapon__stubs.h" / STUB_WEAPON_CLASS( cycler_weapon, WeaponCycler, C_BaseCombatWeapon );</code> to a CPP file of your choosing on the client. | ||
Latest revision as of 05:26, 12 July 2024
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:
- Open
server/waterbullet.cpp
and removeIMPLEMENT_SERVERCLASS_ST( CWaterBullet, DT_WaterBullet ) / END_SEND_TABLE()
from lines 31 and 32. - Open
server/waterbullet.h
and removeDECLARE_SERVERCLASS();
from line 28. - Open
server\h_cycler.cpp
and remove similar code from lines 226, 238 and 239. - Add
#include "c_weapon__stubs.h" / STUB_WEAPON_CLASS( cycler_weapon, WeaponCycler, C_BaseCombatWeapon );
to a CPP file of your choosing on the client.