--
[ 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:
>
> > --
> > [ 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 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/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 (not the entity
> id).
> > > >
> > > >
> > > > On Feb 5, 2008 9:56 AM, David Adams <[EMAIL PROTECTED]> 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
> > > > > way to remove them from the server completely.  Right now, i can
> get
> > > > them
> > > > > to
> > > > > dissapear from the map and scoreboard, but when they are re-added,
> > > they
> > > > > have
> > > > > a (1) or (n) whatever by thier name as if to say the original name
> > is
> > > > > taken,
> > > > > and their entity index has increased, and keeps increasing every
> > time
> > > > they
> > > > > are removed and added.
> > > > >
> > > > >
> > > > > Im using the player->remove function and Ive also tried
> > > > > engine->RemoveEdict
> > > > > and gEntList.CleanUpDeleteList() with no improvement.  I am
> finding
> > > the
> > > > > bots
> > > > > entity index by printing player->entindex.  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
> > > >
> > > >
> > >
> > >
> > > --
> > > Regards, Ross Bearman
> > > --
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list archives,
> > > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> >
> >
> > --
> > -omega
> > --
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
>
>
> --
> Regards, Ross Bearman
> --
>
> _______________________________________________
> 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