Language does not swith and spawnpoints pblem

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Language does not swith and spawnpoints pblem

Postby -=k2=- » Wed Dec 03, 2008 5:33 pm

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=-
Attachments
gg5_log1.txt
(16.91 KiB) Downloaded 783 times
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Postby Warren » Wed Dec 03, 2008 6:22 pm

GunGame4 spawnpoint files are not compatible with GunGame5. You will be able to convert them using gg_convert in a later revision.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby Saul » Wed Dec 03, 2008 7:10 pm

-=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.
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Thu Dec 04, 2008 1:27 am

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!
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Re: Language does not swith and spawnpoints pblem

Postby Saul » Thu Dec 04, 2008 9:05 am

-=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
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Postby Saul » Thu Dec 04, 2008 9:44 am

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.
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Thu Dec 04, 2008 11:48 am

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=-
Attachments
de_dust0025.jpg
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Postby Saul » Thu Dec 04, 2008 5:30 pm

-=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.
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Postby Don » Thu Dec 04, 2008 5:44 pm

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. :)
Don

Site Admin
Site Admin
User avatar
 
Posts: 529
Joined: Fri Sep 05, 2008 3:05 am
Location: The Valley
Steam Friends Name: Don
Xfire Name: donlafferty

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Thu Dec 04, 2008 7:05 pm

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=-
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Re: Language does not swith and spawnpoints pblem

Postby Saul » Fri Dec 05, 2008 10:51 pm

-=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.
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Re:

Postby Saul » Fri Dec 05, 2008 10:52 pm

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
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Sat Dec 06, 2008 9:30 am

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=-
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Postby Warren » Sat Dec 06, 2008 11:10 am

A GunGame4 SpawnPoints converter was added in r566.

You can download the latest revision here.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Sun Dec 07, 2008 10:57 am

Thanks Scope i'll give a try on those
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Re: Language does not swith and spawnpoints pblem

Postby -=k2=- » Sun Dec 07, 2008 5:03 pm

Yep the RC 569 is solving the language issue

Thanks for this!

-=k2=-
-=k2=-

Private
Private
 
Posts: 32
Joined: Wed Dec 03, 2008 4:42 pm
Steam Friends Name: katuba2

Re: Language does not swith and spawnpoints pblem

Postby Saul » Sun Dec 07, 2008 5:58 pm

-=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...?
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 17 guests

cron