Page 1 of 1

In-Game Language

Posted: Fri Oct 28, 2011 12:35 pm
by *Edwards
I'm unsure where to ask..

I've been told that chinese symbols does'nt appear correctly with my project. So I wonder if it's the core or the distro used. Anyone know?

I guess it's the core and if so, is there anything changed since let's say POL096? Nothing appear in changelogs. Maybe it is related to the systran or speech file in UO Directory. Anyone know?

Re: In-Game Language

Posted: Fri Oct 28, 2011 12:58 pm
by *Edwards
Solved.

Problem was from using corrupted speech.mul and transerv.exe

Re: In-Game Language

Posted: Fri Oct 28, 2011 2:12 pm
by *Edwards
Is POL able to modify UserLanguageCodeString from UO configurations? I couldn't find the info in the packets and forum.

Re: In-Game Language

Posted: Fri Oct 28, 2011 2:52 pm
by Tomi
look at Server -> Client packet 0xAE and Client -> Server packet 0xAD ( Unicode message packets with language such as "enu" "eng" and so on.

That's the only points where to set the language.

But in the 0xAE packet from server it takes the language setting from clients request with packet 0xAD so that mean the language is set on client side, you can check what language you are using character member .uclang that is sent once by client during logon.

Re: In-Game Language

Posted: Fri Oct 28, 2011 3:10 pm
by *Edwards
Well, I knew it was somewhere :) . I just couldn't find. Thanks Tomi!

Re: In-Game Language

Posted: Fri Oct 28, 2011 11:53 pm
by flamewing
Tomi wrote:look at Server -> Client packet 0xAE and Client -> Server packet 0xAD ( Unicode message packets with language such as "enu" "eng" and so on.

That's the only points where to set the language.

But in the 0xAE packet from server it takes the language setting from clients request with packet 0xAD so that mean the language is set on client side, you can check what language you are using character member .uclang that is sent once by client during logon.
so ah....excuse me,Tomi,
I want to change the src file text into Chinese,and I used UltraEdit 32 change the file unicode to UTF-8 no BOM,and I also ecompile it...
BUT,in game, like this
this is a motd
Image

Re: In-Game Language

Posted: Sat Oct 29, 2011 1:33 am
by Tomi
You should start checking what language your client uses

Open your UO folder and uo.cfg file and search for a line Language=English should be for you Chinese

Re: In-Game Language

Posted: Sat Oct 29, 2011 5:02 pm
by flamewing
Tomi wrote:You should start checking what language your client uses

Open your UO folder and uo.cfg file and search for a line Language=English should be for you Chinese
I changed it
but it still like the pic show....

there are 2 chinese langcode in uo client
Cht and Chs