AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SteamTools (https://forums.alliedmods.net/forumdisplay.php?f=147)
-   -   Kick client via Steam? (https://forums.alliedmods.net/showthread.php?t=180827)

Dr. McKay 08-03-2012 13:11

Re: Kick client via Steam?
 
Quote:

Originally Posted by GoD-Tony (Post 1721296)
IClient::Reconnect is not the same as having a client drop and connect again. They are still connected to the server and keep their UserID. It wouldn't trigger the necessary callbacks.

http://mxr.alliedmods.net/hl2sdk-ob-...c/iclient.h#31

Is this still the case when using ClientCommand(client, "retry")?

Powerlord 08-03-2012 13:54

Re: Kick client via Steam?
 
Quote:

Originally Posted by Dr. McKay (Post 1763839)
Is this still the case when using ClientCommand(client, "retry")?

retry is marked FCVAR_SERVER_CAN_EXECUTE? If not, the client will block it.

Dr. McKay 08-03-2012 13:59

Re: Kick client via Steam?
 
Quote:

Originally Posted by Powerlord (Post 1763873)
retry is marked FCVAR_SERVER_CAN_EXECUTE? If not, the client will block it.

Yes, it is. At least in TF2.

Dr. McKay 08-06-2012 21:36

Re: Kick client via Steam?
 
https://forums.alliedmods.net/showthread.php?t=192153

GoD-Tony 08-07-2012 02:55

Re: Kick client via Steam?
 
Quote:

Originally Posted by Dr. McKay (Post 1763839)
Is this still the case when using ClientCommand(client, "retry")?

Quote:

Originally Posted by Dr. McKay (Post 1766122)

Haha, it's cool that it works but I'm not sure if I like the method used. :)

Dr. McKay 09-05-2012 18:35

Re: Kick client via Steam?
 
It might be possible to kick clients without a hackish retry/reject.

Check out this screenshot:

http://cloud.steampowered.com/ugc/57...4ADB2F2F598E8/

GoD-Tony 09-11-2012 09:48

Re: Kick client via Steam?
 
Quote:

Originally Posted by Dr. McKay (Post 1792269)
It might be possible to kick clients without a hackish retry/reject.

Check out this screenshot:

http://cloud.steampowered.com/ugc/57...4ADB2F2F598E8/

Looks like the server is doing:
Code:

engine->ServerCommand("kickall #TF_PVE_Disconnect\n");


All times are GMT -4. The time now is 22:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.