Jump to content

Chat Clear Button System


Recommended Posts

  • 9 months later...
  • 2 months later...
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
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
Share on other sites

  • 1 year later...
  • 4 months later...

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
Share on other sites

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.