Raised This Month: $32 Target: $400
 8% 

Kick client via Steam?


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-03-2012 , 13:11   Re: Kick client via Steam?
Reply With Quote #11

Quote:
Originally Posted by GoD-Tony View Post
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")?
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-03-2012 , 13:54   Re: Kick client via Steam?
Reply With Quote #12

Quote:
Originally Posted by Dr. McKay View Post
Is this still the case when using ClientCommand(client, "retry")?
retry is marked FCVAR_SERVER_CAN_EXECUTE? If not, the client will block it.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-03-2012 at 13:55.
Powerlord is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-03-2012 , 13:59   Re: Kick client via Steam?
Reply With Quote #13

Quote:
Originally Posted by Powerlord View Post
retry is marked FCVAR_SERVER_CAN_EXECUTE? If not, the client will block it.
Yes, it is. At least in TF2.
__________________

Last edited by Dr. McKay; 08-03-2012 at 13:59.
Dr. McKay is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-06-2012 , 21:36   Re: Kick client via Steam?
Reply With Quote #14

https://forums.alliedmods.net/showthread.php?t=192153
__________________
Dr. McKay is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-07-2012 , 02:55   Re: Kick client via Steam?
Reply With Quote #15

Quote:
Originally Posted by Dr. McKay View Post
Is this still the case when using ClientCommand(client, "retry")?
Quote:
Originally Posted by Dr. McKay View Post
Haha, it's cool that it works but I'm not sure if I like the method used.
__________________
GoD-Tony is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-05-2012 , 18:35   Re: Kick client via Steam?
Reply With Quote #16

It might be possible to kick clients without a hackish retry/reject.

Check out this screenshot:

http://cloud.steampowered.com/ugc/57...4ADB2F2F598E8/
__________________
Dr. McKay is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 09-11-2012 , 09:48   Re: Kick client via Steam?
Reply With Quote #17

Quote:
Originally Posted by Dr. McKay View Post
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");
__________________
GoD-Tony is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:21.


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