pTimer isn't NULL, its value is shown in that stack trace. Whatever
CBaseTeamObjectiveResource object he's using is what's null. Emiel, it looks
like ObjectiveResource() is returning NULL for you. You need to have your
game create an objective resource. Create a class that extends
CBaseTeamObjectiveResource, with separate files for client and server, and
stick this in your GameRules::CreateStandardEntities:

        g_pObjectiveResource = (CCFObjectiveResource *)CBaseEntity::Create(
"cf_objective_resource", vec3_origin, vec3_angle );

By the way, using the TF2 game rules is not entirely straight forward.
There's a lot of code buried in TF2 that you can't get at just by looking at
the SDK, without which your code won't really work a lot like TF2's. FYI.

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

Reply via email to