callofduty4x / CoD4x_Server

Extended Call of Duty 4 server
https://cod4x.ovh
GNU Affero General Public License v3.0
326 stars 121 forks source link

Unlocalized in b3 messages #47

Closed wkuzma closed 8 years ago

wkuzma commented 8 years ago

UNLOCALIZED[Server:message] the unlocalized is shown in red in cod4 there are no [ ] bracketing the message

I get the unlocalized in the message when I use rcons say function on the cod4x server and I do not get unlocalized on just a cod4 server.

I am using the windows version of cod4x

florczakraf commented 8 years ago

This is not related to b3 at all so please remove the b3 parts in this report.

  1. What version of server do you use? If not the latest, then please try to run revision 3ea0939d52d8ea34fa3781e427ca40c689d6b6a5 (since the baa14820b36f2be33bd5b1735c67be162cd5ce2b) is broken.
  2. What language are your server files? (Go to <cod4root>/zone, there should be directory with language name.)
  3. Are you running any modifications on the server?
    • Mods?
    • Custom .gscs/.gsxs in <cod4root>/main_shared directory?
    • Any additional .iwds in <cod4root>/main directory?
    • Any additional .ffs in <cod4root>/zone/<language> directory?

Note: Parts of directories that are between angle brackets are meta names, you should match them with your own setup.

T-Maxxx commented 8 years ago

@florczakraf Don't worry its well-known client-specific problem (maybe not for 1.7 players). @wkuzma You need to disable localization warnings on client. Dvar "loc_warnings" set to 0. If you want to disable warnings for all players, you have to add .gsc script with player setClientDvar("loc_warnings", 0);

florczakraf commented 8 years ago

Ow, thanks for letting me know :smirk:.

wkuzma commented 8 years ago
  1. What version of server do you use? If not the latest, then please try to run revision 3ea0939 (since the baa1482) is broken. I am running COD4 X win_mingw-x86 build 1059 dec 21 2015
  2. What language are your server files? English language
  3. Are you running any modifications on the server? Mods? Custom .gscs/.gsxs in /main_shared directory? Any additional .iwds in /main directory? Any additional .ffs in /zone/ directory?

None of the above as for you have to add .gsc script with player setClientDvar("loc_warnings", 0); I do not know how to do that

D4edalus commented 8 years ago

how can this be reproduced ?

wkuzma commented 8 years ago

I get the unlocalized in the message when I use rcons say function on the cod4x server and I do not get unlocalized on just a cod4 server.

T-Maxxx commented 8 years ago

@D4edalus Set "loc_warnings" to 1 on client and say something through server console. Or use rcon say command. You'll see UNLOCALIZED(Server: [your text here]) in game chat.

T-Maxxx commented 8 years ago

I think this issue can be closed since there's no bugs but common debugging practice. 1 2

D4edalus commented 8 years ago

setClientDvar("loc_warnings", 0); goes into the scripts of a server owner to disable it for your client locally type into console: \loc_warnings 0

closed as this is a problem specific to the individual client. maybe some b3 scripts turn that flag on for clients, but that is a problem of b3 then. or maybe OP has downloaded a cfg which turned on the flag.

wkuzma commented 8 years ago

I understand that cod4x is a fairly new patch for cod4 and also understand that tere are thing that we would just have to live with. maybe someone can show me how to add a script with setClientDvar("loc_warnings", 0) I do not know how to add scripts to my server. as for B3 it was not running at all in one of the tests that was done on this just rcon was used to show the words