View Single Post
Re: I don't like this!
Old
  (#19)
cannonfodder
Member
 
Status: Offline
Posts: 8
Join Date: Dec 2004
Default Re: I don't like this! - 30-12-2004

I have been looking at the same sort of issue for other reasons and I'm not sure why you would need to hook the game DLL.

There must be something obvious I'm missing but when you call createfakeclient it gives you an edict and through that edict I would think you can access the csdkplayer info.

The problem I see is that to access it you need to understand the csdkplayer class which means you need the class definition for this which pretty much then requires the entire game.dll to be compiled into your server plugin. And even this isn't enough since you now need to go through the the game.dll code you added and make sure any local calls to interface functions in this code use the real interface functions into the real game.dll (since the engine won't call yours).

So am I totally off base here ?? I can't believe Valve would make it this hard, but I can't see how you can do anything without full access to the csdkplayer class.
  
Reply With Quote