Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] awesome guys, that worked, thanks a lot. On Feb 5, 2008 12:32 PM, Ross Bearman <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > Thanks. > > On Feb 5, 2008 5:20 PM, Tony omega Sergi <[EMAIL PROTECTED]> wrote: >

Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread Ross Bearman
-- [ Picked text/plain from multipart/alternative ] Thanks. On Feb 5, 2008 5:20 PM, Tony omega Sergi <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > yeah: > if (GetFlags() & FL_FAKECLIENT) > engine->ServerCommand( UTIL_VarArgs( "kickid %d\n", bot->GetUserID()

Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread Tony "omega" Sergi
-- [ Picked text/plain from multipart/alternative ] yeah: if (GetFlags() & FL_FAKECLIENT) engine->ServerCommand( UTIL_VarArgs( "kickid %d\n", bot->GetUserID() ) ); On Feb 5, 2008 12:13 PM, Ross Bearman <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > Not compl

Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread Jeffrey "botman" Broome
David Adams wrote: -- [ Picked text/plain from multipart/alternative ] ok so ive searched through the list on removing entities from a server, but i havent been able to find a conclusion on how to do this. I am making a mod to hl2dm and adding fake clients to the server(bots). I am looking for a

Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread Ross Bearman
-- [ Picked text/plain from multipart/alternative ] Not completely related to the original, but would there be a way for the server to recognise the fake clients, and automatically kick any? On Feb 5, 2008 5:06 PM, LDuke <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alterna

Re: [hlcoders] removing fake player entities from server

2008-02-05 Thread LDuke
-- [ Picked text/plain from multipart/alternative ] Use the engine->ServerCommand to send a kick or kickid command. Q_snprintf( svrcmd, sizeof(svrcmd), "kick %s\n", name ); m_Engine->ServerCommand(svrcmd); Note that kickid would use the userid of the bot (n

[hlcoders] removing fake player entities from server

2008-02-05 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] ok so ive searched through the list on removing entities from a server, but i havent been able to find a conclusion on how to do this. I am making a mod to hl2dm and adding fake clients to the server(bots). I am looking for a way to remove them f