Raised This Month: $344 Target: $400
 86%   Almost there!

check if client use -window and kick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
visar1
Member
Join Date: Nov 2009
Old 12-28-2015 , 11:11   check if client use -window and kick
Reply With Quote #1

I want to kick all players in my server if they play with -window mode, can anybody do this ?
visar1 is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-02-2016 , 23:07   Re: check if client use -window and kick
Reply With Quote #2

wrong section
__________________
Depresie is offline
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 01-03-2016 , 09:51   Re: check if client use -window and kick
Reply With Quote #3

Also this is not possible, because its handled client-side
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-04-2016 , 03:29   Re: check if client use -window and kick
Reply With Quote #4

Quote:
Originally Posted by addicted2sex View Post
Also this is not possible, because its handled client-side
The client does send certain information to the server. If there is a client sided convar that contains information on whether hl2.exe is running in windowed more or not, we could potentially query that cvar and make a determination as to whether or not the client process is full screen.

That's a big if, though.
__________________
ddhoward is offline
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 01-06-2016 , 20:18   Re: check if client use -window and kick
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
The client does send certain information to the server. If there is a client sided convar that contains information on whether hl2.exe is running in windowed more or not, we could potentially query that cvar and make a determination as to whether or not the client process is full screen.

That's a big if, though.
We are talking about GoldSrc, not HL2. Long time ago was researching about that and havent found anything that can lead to -window detecting (but that was in 2008, probably things have changed since)
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-06-2016 , 20:40   Re: check if client use -window and kick
Reply With Quote #6

Quote:
Originally Posted by addicted2sex View Post
We are talking about GoldSrc, not HL2.
whoops
__________________
ddhoward is offline
visar1
Member
Join Date: Nov 2009
Old 02-04-2016 , 11:45   Re: check if client use -window and kick
Reply With Quote #7

I'm talking for cs 1.6 server ? hl.exe ???
visar1 is offline
Reply


Thread Tools
Display Modes

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 09:42.


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