Raised This Month: $51 Target: $400
 12% 

[l4D2] problem ClientCommand


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 07-17-2021 , 01:59   [l4D2] problem ClientCommand
Reply With Quote #1

I heard that ClientCommand doesn't work anymore, is it true? I tried to enter a client command, but I didn't get any positive response from the game client.
__________________
[/URL]
Alexmy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-17-2021 , 09:10   Re: [l4D2] problem ClientCommand
Reply With Quote #2

You need check, is specific client command allowed to execute from server.

These are client commands were you can use ClientCommand
Code:
help findflags
"findflags"
 - Find concommands by flags.
findflags
Usage:  findflags <string>
Available flags to search for:
   - ARCHIVE
   - SPONLY
   - GAMEDLL
   - CHEAT
   - USERINFO
   - NOTIFY
   - PROTECTED
   - PRINTABLEONLY
   - UNLOGGED
   - NEVER_AS_STRING
   - REPLICATED
   - DEMO
   - DONTRECORD
   - SERVER_CAN_EXECUTE
   - CLIENTCMD_CAN_EXECUTE
   - CLIENTDLL
   - SS
   - SS_ADDED
] findflags SERVER_CAN_EXECUTE
"name2" = "asd" ( def. "unnamed" )
 archive server_can_execute user ss_added
 - Current user name
"name" = "'Bacardi" ( def. "unnamed" )
 archive server_can_execute user ss
 - Current user name
"soundfade"
 server_can_execute
 - Fade client volume.
"invprev"
 client server_can_execute
"cancelselect"
 client server_can_execute
"dsp_player" = "0"
 server_can_execute
"invnext"
 client server_can_execute
"retry"
 server_can_execute clientcmd_can_execute
 - Retry connection to last server.
"play"
 server_can_execute
 - Play a sound.
"slot10"
 client server_can_execute
"playgamesound"
 client server_can_execute clientcmd_can_execute
 - Play a sound from the game sounds txt file
"cl_ideal_spec_mode" = "5" min. 4.000000 max. 6.000000
 client server_can_execute user
 - desired spectator mode (4 = in-eye, 5 = chase, 6 = roaming)
"cl_soundscape_flush"
 client cheat server_can_execute
 - Flushes the client side soundscapes
"lastinv"
 client server_can_execute
"echo"
 server_can_execute
 - Echo text to console.
"snd_playsounds"
 client server_can_execute clientcmd_can_execute
 - Play sounds from the game sounds txt file at a given location
"snd_setsoundparam"
 client server_can_execute clientcmd_can_execute
 - Set a sound paramater
"slot1"
 client server_can_execute
"slot2"
 client server_can_execute
"slot3"
 client server_can_execute
"slot4"
 client server_can_execute
"slot5"
 client server_can_execute
"slot6"
 client server_can_execute
"slot7"
 client server_can_execute
"slot8"
 client server_can_execute
"slot9"
 client server_can_execute
"slot0"
 client server_can_execute
"r_screenoverlay"
 client cheat server_can_execute
 - Draw specified material as an overlay
__________________
Do not Private Message @me

Last edited by Bacardi; 07-17-2021 at 09:17.
Bacardi is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 07-17-2021 , 23:10   Re: [l4D2] problem ClientCommand
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
You need check, is specific client command allowed to execute from server.

These are client commands were you can use ClientCommand
Code:
help findflags
"findflags"
 - Find concommands by flags.
findflags
Usage:  findflags <string>
Available flags to search for:
   - ARCHIVE
   - SPONLY
   - GAMEDLL
   - CHEAT
   - USERINFO
   - NOTIFY
   - PROTECTED
   - PRINTABLEONLY
   - UNLOGGED
   - NEVER_AS_STRING
   - REPLICATED
   - DEMO
   - DONTRECORD
   - SERVER_CAN_EXECUTE
   - CLIENTCMD_CAN_EXECUTE
   - CLIENTDLL
   - SS
   - SS_ADDED
] findflags SERVER_CAN_EXECUTE
"name2" = "asd" ( def. "unnamed" )
 archive server_can_execute user ss_added
 - Current user name
"name" = "'Bacardi" ( def. "unnamed" )
 archive server_can_execute user ss
 - Current user name
"soundfade"
 server_can_execute
 - Fade client volume.
"invprev"
 client server_can_execute
"cancelselect"
 client server_can_execute
"dsp_player" = "0"
 server_can_execute
"invnext"
 client server_can_execute
"retry"
 server_can_execute clientcmd_can_execute
 - Retry connection to last server.
"play"
 server_can_execute
 - Play a sound.
"slot10"
 client server_can_execute
"playgamesound"
 client server_can_execute clientcmd_can_execute
 - Play a sound from the game sounds txt file
"cl_ideal_spec_mode" = "5" min. 4.000000 max. 6.000000
 client server_can_execute user
 - desired spectator mode (4 = in-eye, 5 = chase, 6 = roaming)
"cl_soundscape_flush"
 client cheat server_can_execute
 - Flushes the client side soundscapes
"lastinv"
 client server_can_execute
"echo"
 server_can_execute
 - Echo text to console.
"snd_playsounds"
 client server_can_execute clientcmd_can_execute
 - Play sounds from the game sounds txt file at a given location
"snd_setsoundparam"
 client server_can_execute clientcmd_can_execute
 - Set a sound paramater
"slot1"
 client server_can_execute
"slot2"
 client server_can_execute
"slot3"
 client server_can_execute
"slot4"
 client server_can_execute
"slot5"
 client server_can_execute
"slot6"
 client server_can_execute
"slot7"
 client server_can_execute
"slot8"
 client server_can_execute
"slot9"
 client server_can_execute
"slot0"
 client server_can_execute
"r_screenoverlay"
 client cheat server_can_execute
 - Draw specified material as an overlay
What does this mean, is it possible to fix it?

PHP Code:
FCVAR_SERVER_CAN_EXECUTE prevented server running commandcrosshair 
__________________
[/URL]
Alexmy is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-17-2021 , 23:21   Re: [l4D2] problem ClientCommand
Reply With Quote #4

It means it is one of those blocked commands that server can't execute on the clients.
__________________
Spirit_12 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-07-2021 , 06:23   Re: [l4D2] problem ClientCommand
Reply With Quote #5

Alexmy, most of commands you're expecting to run on client side is blocked several years ago for security reasons.
The only way to run them from server - replace a client's binary file.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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 11:14.


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