Korean language file

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 7:05 am

1)
Thanks !

I hope all the people can talk in their naitve language and make their character with their language.
As I know, some eu(russian...) and asian people(korean,japan...) have a trouble.

In some future, I hope I can make a character with my language. ^^

2)
The Guard display is the problem of the client font.

Im tring to find how to change the font setting. (in-game font)
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Leodagan » Sat Nov 29, 2014 8:09 am

Maybe the "Classic Font" switch in game options is related ?
Classic Font Switch.jpg
Classic Font Switch.jpg (144.6 KiB) Viewed 4034 times
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 10:31 am

To use Mysql Unicode (utf8-unicode) in C#, we need to

1)
add 'Charset=utf8;" to /config/serverconfig.xml

<DBConnectionString>server=192.168.0.20;port=3306;database=dol31;user id=xxx;password=xxx;treattinyasboolean=False;charset=utf8;</DBConnectionString>

2)
change the charset of mysql column to utf8_unicode_ci

3)
This is the reference.

http://www.assembleforce.com/2012-07/ho ... nd-mysql.h

It says about "set names utf8", but it does not required.
I confirm I can create Korean named Character with small modification of the source.

I guess 1) and 2) can solve the unicode problem of database I asked before.


I can create Korean name. but still fail to loign.

The client force to rename the Korean name.

I think the client itself check the validation. We need crack ^^.




And Do you use EU client?? I dont see that option (USE CLASSIC FONT)
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Leodagan » Sat Nov 29, 2014 11:01 am

It's standard "Live US" client with 1.109 DLL downgrade :)

What I mean with my screen shot is that "Game Font" and "UI Font" are different, you have found how to change "UI Font" now you just need to find how to change "Game Font" and this may be a hint that some parameter are meant to do this :) (the "Game Font" must be more tricky to change because it may be hard coded in 3D Engine...)

For Client/Server login validation we can always find some fix later, but it's no use if all the names of NPC/Players "above their heads" aren't readable...
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 11:43 am

1)
I succeed to display well after changing the font,

/ dark age of camelot / ui / fonts / minionpro-bold.ttf
Untitled-1 copy.jpg
Untitled-1 copy.jpg (94.1 KiB) Viewed 4030 times
2)
I can create Korean character with UTF-8 SQL login setting(config.xml) & some coding to escape server side restriction.
Untitled-2 copy.jpg
Untitled-2 copy.jpg (62.08 KiB) Viewed 4030 times
3)
Now I cannot enter the game. I guess it is a client side problem just after I click "PLAY" button.
It request to rename.
Untitled-3 copy.jpg
Untitled-3 copy.jpg (187.62 KiB) Viewed 4030 times
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 12:36 pm

Untitled-4 copy.jpg
Untitled-4 copy.jpg (512.73 KiB) Viewed 4028 times
I succeed to login with Korean character. but the process is annoying.

The client request to rename, I rename it "aaaaa". but it does not response.

After click cancel. I retry to login.

Then it does not check the validation of name again. I can enter the world.


And there's a problem. Player's name is not displayed correctly in the right bottom health window. ( "Xt" )
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 1:06 pm

Untitled-5 copy.jpg
Untitled-5 copy.jpg (989.27 KiB) Viewed 4028 times
Now I got it!!!

But, sill have "RENAME" problem in the login process.
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Leodagan » Sat Nov 29, 2014 1:23 pm

/bow

This is really a great work !!

This "Rename" window is really strange, I didn't know the client could do that, I lack some time to help you around code, but do you have a test server that can be joined through Internet ?

Do you have any trick to type some Korean Character from a "Latin" Keyboard ? :D (Alt+code ?)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 1:30 pm

It's a night time today and I will golf tomorrow morning :)
I will make test server & character which can be connected by you tomorrow.

The link is a tutorial of japanese typing. If japanese works, all other unicode language works.
http://jlptbootcamp.com/2012/02/how-to- ... n-windows/
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Leodagan » Sat Nov 29, 2014 3:27 pm

Got It : 悦珏

http://www.fileformat.info/tip/microsof ... nicode.htm

enabling registry key "EnableHexNumpad" in HKEY_Current_User/Control Panel/Input Method, allows to enter unicode character by pressing ALT + (KEYPAD_PLUS) + Hex Sequence

The above ones are random character I picked inside "Character Mapping" System Tool ;)

that's just to help me debugging if needed :D
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 8:40 pm

server address : daoc.dynu.com
patch address : http://whria.dynu.com/file/patch20141125.zip
account : testaccount
pass : 0000

I made 3 unicode character. (Korean+Japanese+Russian)

"RENAME" problem is a client side problem. the dolserver does not exchange any data.
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Graveen » Sat Nov 29, 2014 9:26 pm

Excellent work !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Korean language file

Postby whria78 » Sat Nov 29, 2014 9:36 pm

Untitled-1%20copy.jpg
Untitled-1%20copy.jpg (118.58 KiB) Viewed 4011 times
Now Im trying to correct this problem.

Server Language : KR
User Language : EN (/language set EN)
But. "TradeSkill" is displayed in KR.

In addition, Guards name is also displayed in Server language setting.

Does it related with /GameServer/packets/Server/packetlibxxx.cs ??

or... BasicCrafting.cs ?

public BasicCrafting()
{
Icon = 0x0F;
Name = LanguageMgr.GetTranslation(ServerProperties.Properties.SERV_LANGUAGE, "Crafting.Name.BasicCrafting");
eSkill = eCraftingSkill.BasicCrafting;
}

... now I should go to play golf ^^
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: Korean language file

Postby Graveen » Sat Nov 29, 2014 11:45 pm

This sounds rather a Name issue - so in BasicCrafting - because SERV_LANGUAGE is targetted to KR string.

Objectively, GetTranslation() should return in this order - thus making argument 1 (SERV_LANGUAGE) useless:
1st USER LANG
2nd SERV LANG
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Korean language file

Postby whria78 » Sun Nov 30, 2014 3:47 am

There is a "RENAME" problem. I think it's client's side problem. It's annoying. We may need to crack or disassemble.
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: Bing [Bot] and 1 guest