Active Member ReFresh 2349 Posted December 17, 2015 Active Member Share Posted December 17, 2015 Hi guys, can somebody know how to do function for CTRL + C and CTRL + V in game? For example: I copy some text on the internet and i want to paste to chat in game. Thanks for your answer! Kind Regards ReFresh I'll be always helpful! Link to comment Share on other sites More sharing options...
VegaS 1095 Posted December 18, 2015 Share Posted December 18, 2015 SourceClient - Eterlib/IME.cpp Search: m_bEnablePaste = false; and replaces with: m_bEnablePaste = true; Search and delete: if (!__IsWritable(c)) return; And search in ui.py / root: def OnKeyDown(self, key): and add it below: if app.DIK_V == key: if app.IsPressed(app.DIK_LCONTROL): ime.PasteTextFromClipBoard() 4 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted December 18, 2015 Author Active Member Share Posted December 18, 2015 Thank you @VegaS. But I have a one question. When I use Ctrl + V does this symbol before the inserted text. I think that this symbol is inserted when the chat line is full, but this symbol is inserted automatically before inserted text. Thanks for your answer! I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted December 19, 2015 Author Active Member Share Posted December 19, 2015 #push I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 3, 2016 Author Active Member Share Posted March 3, 2016 #push I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 4, 2016 Author Active Member Share Posted March 4, 2016 3 hours ago, arves100 said: You have to copy something using corean\window 9XX format Thank you, but how can I do this? I don't know what do you mean. Or can I change this copy format to Czech format? I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 6, 2016 Author Active Member Share Posted March 6, 2016 58 minutes ago, arves100 said: If you use notepad++ you have to open Format-->Character Set-->Korean-->Window 949 and have to copy and paste on the client. The second option if to change Metin2 Text Format to UTF-8\ANSI @arves100 But I don't know, where I must change this encoding. I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 7, 2016 Author Active Member Share Posted March 7, 2016 #push 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 8, 2016 Author Active Member Share Posted March 8, 2016 #push 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 10, 2016 Author Active Member Share Posted March 10, 2016 #push I'll be always helpful! Link to comment Share on other sites More sharing options...
Zyko 3 Posted March 11, 2016 Share Posted March 11, 2016 On 3/6/2016 at 6:28 AM, ReFresh said: @arves100 But I don't know, where I must change this encoding. u do it on Eterlib/IME.cpp. Open it with notepad++ and change the encoding in the settings, 1 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 12, 2016 Author Active Member Share Posted March 12, 2016 @Zyko @arves100 I tried this, but still doesn't work good. I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 15, 2016 Author Active Member Share Posted March 15, 2016 #push I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 20, 2016 Author Active Member Share Posted March 20, 2016 #push I'll be always helpful! Link to comment Share on other sites More sharing options...
metin2-factory 1017 Posted March 21, 2016 Share Posted March 21, 2016 Open ime.cpp look for: Spoiler void CIME::OnChar(wchar_t c) below if (m_bOnlyNumberMode) if (!iswdigit(c)) return; Add: Spoiler if (c == 0x16) return; It will fix the problem. Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 21, 2016 Author Active Member Share Posted March 21, 2016 @metin2-factory Thank you very much! It works perfect. And I have a last one question, how can I fix when i haven't got copied any text and I will put this "nothing" into a chat, game close. I'll be always helpful! Link to comment Share on other sites More sharing options...
metin2-factory 1017 Posted March 22, 2016 Share Posted March 22, 2016 look for: Spoiler void CIME::PasteTextFromClipBoard() relace: Spoiler HANDLE handle = GetClipboardData(CF_TEXT); char * buffer = (char*)GlobalLock(handle); with: Spoiler HANDLE handle = GetClipboardData(CF_TEXT); if (!handle) return; char * buffer = (char*)GlobalLock(handle); if (!buffer) return; I'm not sure it will work i haven't tested it yet but it seems to prevent the issue. Let me know if it worked. 5 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2349 Posted March 22, 2016 Author Active Member Share Posted March 22, 2016 @metin2-factory Thank you very much man! It working good I'll be always helpful! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now