Hi all!

 

I'm having a problem with gamerules (SDK Beta). I wanted to try out the
included TeamplayRoundBasedRules, so I added:

 

Client:

.         teamplayroundbasedrules_gamerules.h/.cpp

.         c_team_train_watcher.h/.cpp

.         teamplay_gamerules.h/.cpp

 

Server:

.         teamplayroundbasedrules_gamerules.h/.cpp

.         team_train_watcher.h/.cpp

.         team_control_point_master.h/.cpp

.         team_control_point.h/.cpp

.         teamplay_round_timer.h/.cpp

 

(I think that's all.)

 

I then modified teamplayroundbasedrules_gamerules.cpp by:

.         adding: #include "gamerules_register.h"

.         adding REGISTER_GAMERULES_CLASS( CTeamplayRoundBasedRules ); 
after
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"

 

And now the server loads the gamerules, but the client spits out:

 

OnGameRulesCreationStringChanged: missing gamerules class
'CTeamplayRoundBasedRules' on the client

 

leaving me totally confused. Before I modified
teamplayroundbasedrules_gamerules.cpp, the server and client thought
CTeamplayRoundBasedRules was missing, and now the client does. Have I missed
something?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to