Jump to content

locale_find: LOCALE_ERROR


Go to solution Solved by Asentrix,

Recommended Posts

 

When I throw an item, I get korean text instead of the normal one. 

In server syserr I get locale_find: LOCALE_ERROR: "떨어진 아이템은 1분 후 사라집니다.";

I tried to add it to locale_string, but if I do that, all the other text in game is korean as well. (Note: If I add it first in locale_string, only that line I added works, if I add it last, none work at all)

So any solution for this? Or otherwise, where can I remove the text entirely? Thanks

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Solution

You can find that ChatPacket in char_item.cpp in 

bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)

specifically

if (pkItemToDrop->AddToGround(GetMapIndex(), pxPos))

you'll find:

ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Here's the text"));

you can see if it isn't in locale_string.txt and solve it.

  • Metin2 Dev 1
Link to comment
Share on other sites

3 hours ago, Asentrix said:

You can find that ChatPacket in char_item.cpp in 


bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)

specifically


if (pkItemToDrop->AddToGround(GetMapIndex(), pxPos))

you'll find:


ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Here's the text"));

you can see if it isn't in locale_string.txt and solve it.

Thanks, that was the correct way.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.