Jump to content

Recommended Posts

  • Honorable Member
7 minutes ago, Braxy said:

Am i the only one who noticed that Uriel running like there is no tomorrow?

New meme confirmed. ?Actually little bit scary. Escape from the hell?‍♂️

  • Love 5

 

Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-117084
Share on other sites

  • 9 months later...
  • 2 months later...
On 5/11/2020 at 6:39 PM, Mali61 said:

I still don't know why uriel is running like that ?


Hi
I've looked 10x and do not see where this wrong xD

networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'CHAT_WINDOW_WIDTH' is not defined


uichat.py
https://pastebin.com/qu4gLRSK

Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-130479
Share on other sites

9 minutes ago, Chookez said:

@ByLost

Change this section:


    if app.ENABLE_CLEAR_CHAT:
        CHAT_WINDOW_WIDTH += 20

To this:


	if app.ENABLE_CLEAR_CHAT:
		CHAT_WINDOW_WIDTH = 620

 


thank you very much ^^

 


Obs: Python not support PNG 

Search:

self.btnClearChat.SetUpVisual("d:/ymir work/ui/game/taskbar/clear1.png")
self.btnClearChat.SetOverVisual("d:/ymir work/ui/game/taskbar/clear2.png")
self.btnClearChat.SetDownVisual("d:/ymir work/ui/game/taskbar/clear3.png")



to (usage: https://convertio.co/pt/png-tga/)

self.btnClearChat.SetUpVisual("d:/ymir work/ui/game/taskbar/clear1.tga")
self.btnClearChat.SetOverVisual("d:/ymir work/ui/game/taskbar/clear2.tga")
self.btnClearChat.SetDownVisual("d:/ymir work/ui/game/taskbar/clear3.tga")



By
 

  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-130481
Share on other sites

If you want '.png' support, then add this line: (ScriptLib/Resource.cpp)

m_resManager.RegisterResourceNewFunctionPointer("png", NewImage);

After this:

m_resManager.RegisterResourceNewFunctionPointer("jpg", NewImage);

 

Edited by Chookez
  • Love 1
Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-130482
Share on other sites

24 minutes ago, Chookez said:

If you want '.png' support, then add this line: (ScriptLib/Resource.cpp)


m_resManager.RegisterResourceNewFunctionPointer("png", NewImage);

After this:


m_resManager.RegisterResourceNewFunctionPointer("jpg", NewImage);

 


loool this is new to me xD
again, thank you very much.


OFF: Could you help me with that topic?

 

Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-130483
Share on other sites

  • 1 year later...
  • 4 months later...
  • Active+ Member

Hi Mali, thank you for the awesome release! I have tested the system and its working great. Just one thing that seems off is that when I click the clear button in debug mode, debug window spams "CGraphicTextInstance::Update - ã¨ã«░í ╝│┴ñÁÃ┴÷ ¥╩¥Ê¢└┤¤┤┘" endlessly until I type something again. Is that okay?
 

And I have edited the clear 1 png to make add the missing detail

Before: spacer.png

After: spacer.png

Download

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 6
  • Cry 1
  • Love 3
Link to comment
https://metin2.dev/topic/21577-chat-clear-button-system/#findComment-147436
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.