Register for your free account! | Forgot your password?

You last visited: Today at 23:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help about language

Discussion on Help about language within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Help about language

Hi every one!

my game isro, my CharName can input chinese, but the NickName\CosName... cann't input chinese.
error msg: UIIT_MSG_COSPETERR_PETNAME_NOTPUT

i'm try edit sro_client with x32dbg, i failed.

my type.txt :

Language = "Chinese"
Country = "Chinese"
GameType = "Silkroad"
GameGuard = "silkroad"
ServiceName = "SilkroadR"

give some tip, thanks
halloway520 is offline  
Old 10/31/2024, 15:34   #2
 
elite*gold: 0
Join Date: May 2021
Posts: 75
Received Thanks: 12
Well, I will help you analyze and modify sro_client using x32dbg to improve support for Chinese characters. Let's start with simple steps to locate and fix the problem:

Since the error message UIIT_MSG_COSPETERR_PETNAME_NOTPUT appears when you try to enter Chinese characters, the first step is to search for this message in x32dbg. You can do this by:

Open sro_client in x32dbg.

Go to the top menu and choose Search > Find all referenced text strings, then type UIIT_MSG_COSPETERR_PETNAME_NOTPUT.

You will see the exact location of this message, most likely the location of this message is related to the validation of the input characters.

Identifying the validation of characters:
Once you have reached the location associated with the error message, search the lines near it in the code; you may find validation functions (such as IsCharValid or CheckNameCharacters) related to entering characters. These functions are typically used to check for acceptable characters.

Analyze the character verification process:

When you get to the functions that check the type of characters:

You can add a breakpoint when calling the function, and then try to enter Chinese characters again.

When the program stops at the breakpoint, you can follow the code step by step using F7 and F8 to trace the internal functions.

Modify the code:

If you find that the function rejects Chinese characters based on a comparison (such as if statements that exclude certain values ​​or ranges of characters), you can modify that comparison to remove the restrictions.

For example, if there is a condition that restricts characters to ASCII only, try changing it to include Chinese Unicode characters.

Test the code:
After modifying the restrictions, save the changes and restart sro_client. Try entering Chinese characters in the NickName and CosName fields to see if the problem is resolved
romio100 is offline  
Old 11/01/2024, 04:04   #3
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Quote:
Originally Posted by romio100 View Post
Well, I will help you analyze and modify sro_client using x32dbg to improve support for Chinese characters. Let's start with simple steps to locate and fix the problem:

Since the error message UIIT_MSG_COSPETERR_PETNAME_NOTPUT appears when you try to enter Chinese characters, the first step is to search for this message in x32dbg. You can do this by:

Open sro_client in x32dbg.

Go to the top menu and choose Search > Find all referenced text strings, then type UIIT_MSG_COSPETERR_PETNAME_NOTPUT.

You will see the exact location of this message, most likely the location of this message is related to the validation of the input characters.

Identifying the validation of characters:
Once you have reached the location associated with the error message, search the lines near it in the code; you may find validation functions (such as IsCharValid or CheckNameCharacters) related to entering characters. These functions are typically used to check for acceptable characters.

Analyze the character verification process:

When you get to the functions that check the type of characters:

You can add a breakpoint when calling the function, and then try to enter Chinese characters again.

When the program stops at the breakpoint, you can follow the code step by step using F7 and F8 to trace the internal functions.

Modify the code:

If you find that the function rejects Chinese characters based on a comparison (such as if statements that exclude certain values ​​or ranges of characters), you can modify that comparison to remove the restrictions.

For example, if there is a condition that restricts characters to ASCII only, try changing it to include Chinese Unicode characters.

Test the code:
After modifying the restrictions, save the changes and restart sro_client. Try entering Chinese characters in the NickName and CosName fields to see if the problem is resolved
thanks bro!

i have a other sro_client, its allright.
when i test with it, UIIT_MSG_COSPETERR_PETNAME_NOTPUT also.

i think, the error may be without sro_client.exe
halloway520 is offline  
Reply


Similar Threads Similar Threads
[HELP]HELP HELP HELP[HELP]
09/23/2013 - Facebook - 3 Replies
GUYS ^^ THIS IS A HELP THREAD NOT REQUEST THREAD BUT YOU CAN CONSIDER IT AS REQUEST THREAD DOES ANYONE OF YOU KNOW THE AUTO SUBMIT PHP CODE? THANKS!
[HELP][HELP][HELP][HELP]!!
09/11/2009 - Soldier Front - 3 Replies
Microsoft Visual C++ Run time error! :(:( **HELP ME PLEASE!!***
help help help help help help
06/28/2009 - Say Hello - 0 Replies
how i can dowmload Mangos 6385 ??????????????????????????????????? please give me the limk i can't see that i know it is in www.elitepvpers.com/.../153716-release-mangos-relea ses-blackscorpian-win32-2-4-3-a.html - but give me link sent it to my email plz



All times are GMT +1. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.