Honorable Member martysama0134 7173 Posted August 31, 2016 Honorable Member Share Posted August 31, 2016 (edited) M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is a revised version of an old thread. Following this How-To, you will have a better customizable solution for the aspect of your quests. You will be able to choice amongst: quest icon, text color, blink effect (like whisper buttons) How To You just need to replace 2 little things: I) In interfaceModule.py, replace BINARY_RecvQuest with: http://pastebin.com/TAk9bx92 II) In questlib.lua, replace send_letter_ex with: http://pastebin.com/wDYjJdnp Explanation: -the 2° argument of send_letter_ex will support multiple parameters: -green|blue|purple|golden|fucsia|aqua and so on (you can add them in BINARY_RecvQuest by adding new colors 0xFF+#HEX; Color Picker Online) -blink (the quest will flash like the whisper messages) -ex (a dummy tag to separate it from "info" and "item") -the 3° argument is the name of the icon to choose, which the current availables are: -scroll_open.tga -scroll_open_green.tga -scroll_open_blue.tga -scroll_open_purple.tga -scroll_open_golden.tga Examples: Spoiler https://metin2.download/picture/9sYI1yZ8j9DGLCnArHsvFtI21Zl2B8rO/.png send_letter_ex(localeInfo.LanguageOptionTitle, "green,blink,ex", "scroll_open_green.tga") Spoiler send_letter_ex(localeInfo.LanguageOptionTitle, "blue,blink,ex", "scroll_open_blue.tga") Spoiler send_letter_ex(localeInfo.LanguageOptionTitle, "purple,blink,ex", "scroll_open_purple.tga") Spoiler send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open_golden.tga") Spoiler send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open.tga") Spoiler Note: As you can imagine, the only limitation is that the color in N won't appear. (it will require additional code and work, so just forget it) Download: Check the attachment (colored-quest-scrolls-v2-res.7z) and add metin2_patch_new_questicon in your client. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 57 2 2 1 1 20 1 101 Check out my GitHub Link to comment Share on other sites More sharing options...
Agent007 0 Posted August 31, 2016 Share Posted August 31, 2016 Thank you my love beautiful ( I do not know why I wrote it, what I feel when I look at you, I think you're a sexy guy, and I think you have a very large penis endowment. ) Link to comment Share on other sites More sharing options...
archermt2 0 Posted August 31, 2016 Share Posted August 31, 2016 Awesome, thank you Link to comment Share on other sites More sharing options...
Premium imWelly 26 Posted September 1, 2016 Premium Share Posted September 1, 2016 simple and actually great idea to have colored quests thanks for sharing Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted September 4, 2016 Active+ Member Share Posted September 4, 2016 Works perfectly, thanks. Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7173 Posted September 29, 2016 Author Honorable Member Share Posted September 29, 2016 Someone on another board asked me how to use it, so I made a shortcut for it: Quote How to use in a quest? Instead of send_letter("XXX") you use send_letter_ex("XXX", "green,blink,ex", "scroll_open_green.tga") if you want green icon, green text, and the icon blinking. OR add these in questlib.lua function send_letter_blue(name) send_letter_ex(name, "ex", "scroll_open_blue.tga") end function send_letter_golden(name) send_letter_ex(name, "ex", "scroll_open_golden.tga") end function send_letter_green(name) send_letter_ex(name, "ex", "scroll_open_green.tga") end function send_letter_purple(name) send_letter_ex(name, "ex", "scroll_open_purple.tga") end function send_letter_blue_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_blue.tga") end function send_letter_golden_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_golden.tga") end function send_letter_green_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_green.tga") end function send_letter_purple_blink(name) send_letter_ex(name, "blink,ex", "scroll_open_purple.tga") end function send_letter_blue_text(name) send_letter_ex(name, "blue,ex", "scroll_open_blue.tga") end function send_letter_golden_text(name) send_letter_ex(name, "golden,ex", "scroll_open_golden.tga") end function send_letter_green_text(name) send_letter_ex(name, "green,ex", "scroll_open_green.tga") end function send_letter_purple_text(name) send_letter_ex(name, "purple,ex", "scroll_open_purple.tga") end function send_letter_blue_blink_text(name) send_letter_ex(name, "blink,blue,ex", "scroll_open_blue.tga") end function send_letter_golden_blink_text(name) send_letter_ex(name, "blink,golden,ex", "scroll_open_golden.tga") end function send_letter_green_blink_text(name) send_letter_ex(name, "blink,green,ex", "scroll_open_green.tga") end function send_letter_purple_blink_text(name) send_letter_ex(name, "blink,purple,ex", "scroll_open_purple.tga") end So you would just need to replace send_letter("something") with send_letter_green_text("something") for text and icon green. 5 Check out my GitHub Link to comment Share on other sites More sharing options...
Premium Syreldar 1873 Posted October 18, 2016 Premium Share Posted October 18, 2016 Or, if you guys don't want to clutter the questlib, you can work with this function. http://pastebin.com/0rMKpDwY function structure: string, string, string, bool 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Kronzu 11 Posted November 7, 2016 Share Posted November 7, 2016 (edited) Like everything good but why so flush guest? Where added: send_letter_XXX_text it's ok but But where I did not give anything. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
ahmedhaies 50 Posted November 9, 2016 Share Posted November 9, 2016 thank you Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7173 Posted November 10, 2016 Author Honorable Member Share Posted November 10, 2016 (edited) On 7/11/2016 at 4:44 PM, Kronzu said: Like everything good but why so flush guest? Where added: send_letter_XXX_text it's ok but But where I did not give anything. Remove "blink," to remove the flashing. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Check out my GitHub Link to comment Share on other sites More sharing options...
Premium ragem0re 155 Posted January 18, 2017 Premium Share Posted January 18, 2017 (edited) Someone knows what the problem could be? Syserr is empty Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium ragem0re 155 Posted January 21, 2017 Premium Share Posted January 21, 2017 Anyone? Link to comment Share on other sites More sharing options...
Clawders 0 Posted January 30, 2017 Share Posted January 30, 2017 Work fine for me, thx. Link to comment Share on other sites More sharing options...
Active Member ReFresh 2338 Posted March 25, 2018 Active Member Share Posted March 25, 2018 Can someone explain me this problem with sorting quests? Thanks for answers! Sincerely, ReFresh I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2338 Posted April 4, 2018 Active Member Share Posted April 4, 2018 Next problem is when you have 2 quests you can't click on the first one, when you have 3 or more you can click on them. I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2338 Posted November 9, 2018 Active Member Share Posted November 9, 2018 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Heathcliff 183 Posted February 5, 2019 Share Posted February 5, 2019 Thanks for this Link to comment Share on other sites More sharing options...
Recommended Posts