Sorry . That was outdated code. I was using version 5 and this also failed to load
Hope someone can help On 20 Feb 2009, at 00:21, "Spencer 'voogru' MacDonald" <voo...@voogru.com > wrote: > TF2 is ServerGameDLL005 (INTERFACEVERSION_SERVERGAMEDLL) > > > > -----Original Message----- > From: hlcoders-boun...@list.valvesoftware.com > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of > cheeseh-bu > Sent: Thursday, February 19, 2009 6:52 PM > To: Discussion of Half-Life Programming > Subject: [hlcoders] Can no longer access IServerGameDLL from plugin > > From the new OrangeBox/TF2 updates I can no longer get the > IServerGameDLL > interface from a server plugin. This is imperative for my plugin. > > Cannot open game server interface INTERFACEVERSION_SERVERGAMEDLL > IServerGameDLL servergamedll > > ---code--- > > LOAD_GAME_SERVER_INTERFACE( > servergamedll,IServerGameDLL,INTERFACEVERSION_SER > VERGAMEDLL_VERSION_4); > > #define LOAD_GAME_SERVER_INTERFACE(var,type,version) if ( (var = > (type*)gameServerFactory(version,NULL)) == NULL ) { Warning("Cannot > open > game server interface "## #version ##" "## #type ##" "## #var ##"\n"); > return false; } else { Msg("Found interface "## #version ##" "## > #type ##" > "## #var ## "\n"); } > > ---/code--- > > Anything changed? Any work around? > > Thanks > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders