Page 1 of 1

Language does not swith and spawnpoints pblem

PostPosted: Wed Dec 03, 2008 5:33 pm
by -=k2=-
Hi guys,

I have installed the GG5 and made a tour of it. Looks nice , configuration and customization is simpler and perf seems to be there. Great job and thanks to all developer community.

Still I'm fighting with two problems i cannot resolve "nicely"

1) english instead of other languages (french for example)
for any reason I get the GG giving me the english translation in all interactions, still I have installed a french translation and just to check it made it myself as well (so two versions) and same (no) result.
My coutergame is in french my steam profile is french, I'm connecting from a french IP and my server is in france....but I receive the language in english;
If I do translate into the addons then I get it correct in french, I could also overwrite the english translation but it is not a nice way to do it and I would miss the multilanguage feature.
So it looks like the auto recognition of language doesn't work, here is the list and versions of plugins:

17:24:31 Loaded plugins:
---------------------
0:<TAB>"Metamod:Source Interface v1.4.4.705"
1:<TAB>"Mattie's EventScripts, http://mattie.info/cs, Version:2.0.0.248"
2:<TAB>"The_WuH's ES_Tools (NeoWuH) (c) 2006, Version : 0.420 Website : "http://www.ThewAc.NET""
3:<TAB>"CSSMatch v1.2.92, by Nicolous, http://code.google.com/p/cssmatch-plugin/"
---------------------
mani admin 1.2s (metamod version)

2) The spawnpoints
I have collected the spawnpoints files I was running under GG4, set them in the ../cstrike/cfg/gungame5/spawnpoints

All cvars are set (to me) correctly, I'm not getting any error during the load of the addons, only on sound files but it shouldn't affect the two problesm I'm facing

I have attached the copy of rcon messages during startup, everythings looks fine.....beside those 2 problems.
I dont think those are bugs probably a config or conflict problem

Any help is welcome, i'm circling around


-=k2=-

PostPosted: Wed Dec 03, 2008 6:22 pm
by Warren
GunGame4 spawnpoint files are not compatible with GunGame5. You will be able to convert them using gg_convert in a later revision.

PostPosted: Wed Dec 03, 2008 7:10 pm
by Saul
-=k2=-, please could you tell us the output of cl_language in your console?

If that equals fr or french or whatever, then I will have to consult SuperDave on langlib-- although I'm sure it has been tested and is probably a client-side issue.

Cheers.

Re: Language does not swith and spawnpoints pblem

PostPosted: Thu Dec 04, 2008 1:27 am
by -=k2=-
Hi Saul,

Here is the result, I didn't knew this cvar but it looks like it is correctly set....

] cl_language
"cl_language" = "french" ( def. "english" )
- Language (from HKCU\Software\Valve\Steam\Language)

BTW, I have teste with one of my friend, another pc, other subscription also set in french and same behavior in the game.
Tomorrow I'll try to set it in spanish or german to see if it does change anything.

Scope, Concerning the spawnpoints should I understand that the converter for spawnpoints only work currently with GG3 file format ?
Any date foreseen for an update or doc on the formats (boths so I can convert it (even through a shell script or awk etc ...)

Thanks for the support Chaps!

Cheers!

Re: Language does not swith and spawnpoints pblem

PostPosted: Thu Dec 04, 2008 9:05 am
by Saul
-=k2=- wrote:Hi Saul,

Here is the result, I didn't knew this cvar but it looks like it is correctly set....

] cl_language
"cl_language" = "french" ( def. "english" )
- Language (from HKCU\Software\Valve\Steam\Language)

OK thanks, I'll debug this-- would you mind posting this bug on http://code.google.com/p/gungame-python/issues/list -- thanks.

-=k2=- wrote:BTW, I have teste with one of my friend, another pc, other subscription also set in french and same behavior in the game.
Tomorrow I'll try to set it in spanish or german to see if it does change anything.

Scope, Concerning the spawnpoints should I understand that the converter for spawnpoints only work currently with GG3 file format ?
Any date foreseen for an update or doc on the formats (boths so I can convert it (even through a shell script or awk etc ...)

Thanks for the support Chaps!

Cheers!


The GunGame5 spawnpoint format is the same as the CSS:DM one.

Each line represents a spawnpoint and in the following format:
<position x> <position y> <position z> <not used> <view angle> <not used>

e.g.
95.819847 479.618652 -319.968750 0.000000 -49.262695 0.000000

PostPosted: Thu Dec 04, 2008 9:44 am
by Saul
Fixing this now, it seems when we create the player, the language option isn't available / defaults to English-- this is fixed by picking up the language on the fly.

Re: Language does not swith and spawnpoints pblem

PostPosted: Thu Dec 04, 2008 11:48 am
by -=k2=-
Hi Saul,

I have reported the "bug"
Still since yesterday I have found an additionnal elment that might indicates the problem might not be a bug but rather a problem of translation file. I have noticed that one of the translation for the handicap level is working while most if not all the others are not
I have attached a picture here and in the bug tracking system for more explanatory details I have posted all config files and the two translations files, one working and one not working.

The oicture shows in game the two results on same picture, one in french the other in english

See here below food for thoughts from my side:

1) Potentially a "hidden caracter" in the non working translation files can disturb the translation switching
2) the way the pgm modules are treating the translation files might differ
3) the length of translation or a special caracter "escape" the translation
4) My translation files are all encoded UTF-8 does it play a role ?

Hoping this helps and avoid you digging in the code

Cheers and thanks for support!

-=k2=-

PostPosted: Thu Dec 04, 2008 5:30 pm
by Saul
-=k2=-: all your ideas are wrong :)

Messages sent to individual players worked, were as if you sent them to filter or the console, they defaulted to English.

PostPosted: Thu Dec 04, 2008 5:44 pm
by Don
Saul wrote:-=k2=-: all your ideas are wrong
Oh so close! Saul, again look at the word "TACT". This could be used as an example of not using tact. :)

Re: Language does not swith and spawnpoints pblem

PostPosted: Thu Dec 04, 2008 7:05 pm
by -=k2=-
I've tried two more things:
Set in german, same game stays on default : english
I have even tried to tweak the lib language.py and set to fr by default, no change neither.
So I'll wait, looks like a more fundamental problem.
Let me know if you want me to test something specific.

Cheers

-=k2=-

Re: Language does not swith and spawnpoints pblem

PostPosted: Fri Dec 05, 2008 10:51 pm
by Saul
-=k2=- wrote:I've tried two more things:
Set in german, same game stays on default : english
I have even tried to tweak the lib language.py and set to fr by default, no change neither.
So I'll wait, looks like a more fundamental problem.
Let me know if you want me to test something specific.

Cheers

-=k2=-


There should be a revision coming up that fixed my silly mistake in r564... just standby. I definately fixed it-- I set my language to norwegian and I started getting messages in norweigan.

Re:

PostPosted: Fri Dec 05, 2008 10:52 pm
by Saul
Don wrote:
Saul wrote:-=k2=-: all your ideas are wrong
Oh so close! Saul, again look at the word "TACT". This could be used as an example of not using tact. :)


I like how you missed my smiley off... Mr. P. Dantic

I did actually have tact as I stated what the issue really was :D

Re: Language does not swith and spawnpoints pblem

PostPosted: Sat Dec 06, 2008 9:30 am
by -=k2=-
Hi Saul,

Thanks for the follow up, I'll wait until the R564.

FYI, I have started to work out the transformation of the spawns from GG4 2 GG5 , unfortunately i'm not a python freaker, so I did it in shell unix, but I'm pretty sure it's not difficult.
It seems to work, I'll confirm during the we

Cheers

-=k2=-

PostPosted: Sat Dec 06, 2008 11:10 am
by Warren
A GunGame4 SpawnPoints converter was added in r566.

You can download the latest revision here.

Re: Language does not swith and spawnpoints pblem

PostPosted: Sun Dec 07, 2008 10:57 am
by -=k2=-
Thanks Scope i'll give a try on those

Re: Language does not swith and spawnpoints pblem

PostPosted: Sun Dec 07, 2008 5:03 pm
by -=k2=-
Yep the RC 569 is solving the language issue

Thanks for this!

-=k2=-

Re: Language does not swith and spawnpoints pblem

PostPosted: Sun Dec 07, 2008 5:58 pm
by Saul
-=k2=- wrote:Yep the RC 569 is solving the language issue

Thanks for this!

-=k2=-


WTF? Testing works? So RG, XE, HTP, YNH, Scope, and everyone else wasn't lying...?