Raised This Month: $77 Target: $400
 19% 

[Paid][L4D2] Detect Player Game Language.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LowIntelligence
Junior Member
Join Date: Jul 2017
Old 01-07-2019 , 15:06   [Paid][L4D2] Detect Player Game Language.
Reply With Quote #1

Hello,

I require help with this frustrating issue, frustrating enough to be willing to pay for some help.
As some of you may know, in Left 4 Dead 2 you are simply unable to reliably detect what language a Player is playing in.

- cvar "cl_language" will always return the language the player has set their Steam to, meaning the game can be in a different language. (Thus, making GetClientLanguage useless as well)
- cvar "english" is of no use either.



I'm hoping this will be possible with the use of an extension.
I'll pay $200 to whoever can reliably detect this.
LowIntelligence is offline
iluvit9887
New Member
Join Date: Sep 2018
Old 01-07-2019 , 20:11   Re: [Paid][L4D2] Detect Player Game Language.
Reply With Quote #2

can't be done. move along.
iluvit9887 is offline
LowIntelligence
Junior Member
Join Date: Jul 2017
Old 01-12-2019 , 02:21   Re: [Paid][L4D2] Detect Player Game Language.
Reply With Quote #3

How about a possibility to ensure Soundscripts are playing sounds from a specific folder?
As I currently understand it, soundscripts will play the files relative to the rootdir -> sounds folder, which changes as soon as the game detects a different language.

I realize this is all done client-sided, which is why my hope to detect or even set this is rather low.
LowIntelligence is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-12-2019 , 02:22   Re: [Paid][L4D2] Detect Player Game Language.
Reply With Quote #4

What exactly are you trying to accomplish by detecting the player's language?
__________________
Spirit_12 is offline
LowIntelligence
Junior Member
Join Date: Jul 2017
Old 01-12-2019 , 04:01   Re: [Paid][L4D2] Detect Player Game Language.
Reply With Quote #5

Quote:
Originally Posted by Spirit_12 View Post
What exactly are you trying to accomplish by detecting the player's language?
To prevent clients from modifying soundfiles in other languages.
Considering whitelist + sv_consistency can't do this (in L4D2) without blocking out legit players that simply don't play in that language.

Being able to pick up a player's language reliably would allow me to either detect if that specific client is actually using unmodified soundfiles from their select language or to either block non-English clients entirely.
LowIntelligence is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-15-2019 , 23:50   Re: [Paid][L4D2] Detect Player Game Language.
Reply With Quote #6

...player maybe want play game in english, even he/she is non-english ?

You could check player country by IP address, then do what you like.

*edit
really hard task

Last edited by Bacardi; 01-15-2019 at 23:51.
Bacardi 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 20:39.


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