In-Game Language

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.

Moderators: POL Developer, Distro Developer

Locked
User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

In-Game Language

Post by *Edwards » Fri Oct 28, 2011 12:35 pm

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?

User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

Re: In-Game Language

Post by *Edwards » Fri Oct 28, 2011 12:58 pm

Solved.

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

User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

Re: In-Game Language

Post by *Edwards » Fri Oct 28, 2011 2:12 pm

Is POL able to modify UserLanguageCodeString from UO configurations? I couldn't find the info in the packets and forum.

Tomi
POL Developer
Posts: 475
Joined: Tue Feb 21, 2006 5:08 pm

Re: In-Game Language

Post by Tomi » Fri Oct 28, 2011 2:52 pm

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.

User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

Re: In-Game Language

Post by *Edwards » Fri Oct 28, 2011 3:10 pm

Well, I knew it was somewhere :) . I just couldn't find. Thanks Tomi!

flamewing
Neophyte Poster
Posts: 31
Joined: Thu Dec 04, 2008 6:10 am

Re: In-Game Language

Post by flamewing » Fri Oct 28, 2011 11:53 pm

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

Tomi
POL Developer
Posts: 475
Joined: Tue Feb 21, 2006 5:08 pm

Re: In-Game Language

Post by Tomi » Sat Oct 29, 2011 1:33 am

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

flamewing
Neophyte Poster
Posts: 31
Joined: Thu Dec 04, 2008 6:10 am

Re: In-Game Language

Post by flamewing » Sat Oct 29, 2011 5:02 pm

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

Locked