Jump to content

Uichat.py some function


Recommended Posts

Hi men,

 

I need help with this. I dont know, how i can to create this. (uichat.py) Main is function.. odpověd = answer. I dont think global chat. :)

https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

 

 

Thank you for your answer.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

The quick-whisper chat hyperlink is made server-side since the server is the one who sends the chat packet to the client and the client only displays it. Otherwise You could do that inside the client source aswell by modifying the chat packet before it's sent to the client uiChat script.

 

Another (dirty) method is by appending the hyperlink directly into the text line within the __SendChatPacket method.

 

You also need to extend the MakeHyperlinkTooltip method inside interfacemodule.py so that it opens the whisper window when You click on it.

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.