Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 14:14

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

Advertisement



Item Chat Link Unicode Error, Help Thanks.

Discussion on Item Chat Link Unicode Error, Help Thanks. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Talking Item Chat Link Unicode Error, Help Thanks.



PHP Code:
auto currStr std::wstring(pCIFEdit->GetText());
currStr.append(L" ");
g_GlobalDataMgr->m_LinkedGlobalItemBegin currStr.length();
auto ObjectData g_GlobalDataMgr->GetGenericObjectDataByID(slotptr->pCSOItem->dwObjID);
auto Item L"<"+g_GlobalDataMgr->GetObjectName(ObjectData)+L">";
std::wstring underline L"\u035F";
std::wstring ItemName;
for (
auto &Item)
{
    
std::wstring bkp(1c);
    
ItemName.append(underline);
    
ItemName.append(bkp);
}

pCIFEdit->SetText(std::wstring(currStr).append(ItemName.append(L" ")).c_str());


void ChatManager::WriteChatW(GameChatType type, const wchar_tmsgDWORD coloruint32_t fontStyle) const
{
    
voidecx g_MemoryHelper->RefPtr<void*>(0x110F80C);
    
m_WriteNormalChat(ecxtypemsgcolorfontStyle);




The source is from

How fix this error ? Thanks.
halloway520 is offline  
Old 09/29/2021, 17:13   #2
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 271
Use \u0332
thaidu0ngpr0 is offline  
Old 09/29/2021, 17:51   #3
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Quote:
Originally Posted by thaidu0ngpr0 View Post
Use \u0332
Thanks bro, but
after replacement, the problem still exists.

PHP Code:
std::wstring underline L"\u0332";    //   \u0332 \u035F 
halloway520 is offline  
Old 09/30/2021, 18:26   #4

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
well, the item linked at first?
SubZero** is offline  
Old 09/30/2021, 18:44   #5
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Quote:
Originally Posted by SubZero** View Post
well, the item linked at first?


I want fix 口, HaHa~~
halloway520 is offline  
Old 10/02/2021, 10:42   #6
 
elite*gold: 0
Join Date: Jun 2021
Posts: 23
Received Thanks: 3
Add me Discord Venom7#1535
Venom7x is offline  
Reply


Similar Threads Similar Threads
[Help] How To Change Unicode in Client?
10/15/2014 - Metin2 Private Server - 2 Replies
Hello Elite i want change language Client Metin2 to Persian(Farsi). for Support My language Country Need Utf-8 , but i don't know where i can change it, and need change direction ltr to rtl. thx:handsdown:
Thanks ist geil! Thanks ist Thanks!
08/11/2011 - Main - 17 Replies
Tach auch (: Ja, der Titel soll schon an den alten Saturnslogan erinnern, aber eig. auch egal. Also, ich wollte mal eure Meinung zu den Leuten haben, die fett und in Schriftgröße 6 "Thanks wenn ich geholfen habe!!!" o.ä. stehen haben! In meinen Augen macht sowas kein Sinn. Es ist doch das Selbe, wie wenn wir uns ein T-Shirt drucken lassen mit dem selben Satz und der Aufgabe irgendjemanden helfen zu wollen zu würden auch wenn wir keine Ahnung hätten. Ist ja nicht so, dass all diese Kinder...
Thanks ist geil! Thanks ist Thanks!
08/09/2011 - Off Topic - 11 Replies
Moin, was haltet ihr von diesen coolen, spammenden Kindern die von fast nichts eine Ahnung haben und meinen sie wären die größten und wüssten alles? Siehe War Rock Section, auf Anhieb bestes Beispiel ;) mfg



All times are GMT +1. The time now is 14:15.


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.