--
[ Picked text/plain from multipart/alternative ]
I don't use the player info manager interface for anything in my pluigns.
Things like IsDead() take so long to update that they are useless most of
the time.

Try using engine->GetPlayerNetworkIDString(pEntity); instead.

Also, IsFakeClient() has always returned false after using
CreateFakeClient(). I believe if you were making a mod you could add the
FL_FAKECLIENT bit to m_fFlags, but in a plugin it's a little harder to do
that since there is no interface provided and the SDK headers don't match
the CBaseEntity stuff in CS:S anymore. The best solution so far seems to be
checking if the player steam ID is equal to "BOT"

Grant
(L. Duke)


On 7/1/06, Ronny Schedel <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> since the last update, my server plugin crashes when I use
> IPlayerInfo::GetNetworkIDString on a fake client. The client was created
> with IVEngineServer::CreateFakeClient(). IPlayerInfo::IsFakeClient()
> returns
> false! (another bug)
> The game is CS:S. The code was running fine before. I have only seen a
> difference in the gamedll, this is now version 5 in DOD:S. The source SDK
> was not updated since ages. Anyone knows a workaround for this bug?
>
> Regards
> Ronny
>
>
> _______________________________________________
> 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

Reply via email to