Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 23:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[How-To] Colored quest scrolls v2 (revised)

Discussion on [How-To] Colored quest scrolls v2 (revised) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
lollo_9_1's Avatar
 
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
Arrow [How-To] Colored quest scrolls v2 (revised)

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:
  1. In interfaceModule.py, replace BINARY_RecvQuest with:
  2. In questlib.lua, replace send_letter_ex with:


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; )
  • 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:

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "green,blink,ex", "scroll_open_green.tga")

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "blue,blink,ex", "scroll_open_blue.tga")

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "purple,blink,ex", "scroll_open_purple.tga")

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open_golden.tga")

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open.tga")

Code:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open_green.tga")
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.rar) and add metin2_patch_new_questicon in your client.
Attached Files
File Type: rar colored-quest-scrolls-v2-res.rar (188.7 KB, 375 views)
lollo_9_1 is offline  
Thanks
13 Users
Old 09/01/2016, 01:28   #2
 
elite*gold: 260
Join Date: Jan 2013
Posts: 178
Received Thanks: 104
well done as always
Metin2 Team is offline  
Thanks
1 User
Old 09/01/2016, 01:34   #3
 
elite*gold: 0
Join Date: Jun 2016
Posts: 115
Received Thanks: 29
thank you
nice release !
Waaaasgeht is offline  
Old 09/01/2016, 17:17   #4
 
elite*gold: 0
The Black Market: 105/0/0
Join Date: May 2016
Posts: 8,679
Received Thanks: 1,638
It would be helpful for some Admins, thanks dude
悪地城 is offline  
Old 09/01/2016, 20:08   #5


 
elite*gold: 1810
Join Date: Jan 2012
Posts: 2,208
Received Thanks: 1,630
Quote:
This is a revised version of an old thread.
Where is the copyright ?
MaxChri is offline  
Old 09/01/2016, 23:33   #6
 
VegaS ♆'s Avatar
 
elite*gold: 10
Join Date: Jul 2013
Posts: 93
Received Thanks: 416
Quote:
Originally Posted by MaxChri View Post
Where is the copyright ?
Hello young warrior, from what I see is over 00:00, so would need to go to bed because you're very tired.

  1. First you beneath notice without any sense that every time without knowing about you be about, and of course did not know some of the Python language, just like last time in a comment of mine you said that my overall verification check functions with arguments in chat is the similar as insulting as it already exists, seriously? Those functions gave you the opportunity to do something special characters and queries s.a.m.d, not offensive word, but anyway to let this one hand and return to the initial chores.


You talk of copyright on what? A first version or?
Let your eyes open a little young warrior.





--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




A part of code:

Code:
        if iconName and (iconType not in ("item", "file")): # type "ex" implied
            btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/%s" % (iconName.replace("open", "close")))
            btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/%s" % (iconName))
            btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/%s" % (iconName))
Code:
        listOfTypes = iconType.split(",")
        if "blink" in listOfTypes:
            btn.Flash()
 
        listOfColors = {
            "golden":   0xFFffa200,
            "green":    0xFF00e600,
            "blue":     0xFF0099ff,
            "purple":   0xFFcc33ff,
 
            "fucsia":   0xFFcc0099,
            "aqua":     0xFF00ffff,
        }
        for k,v in listOfColors.iteritems():
            if k in listOfTypes:
                btn.ToolTipText.SetPackedFontColor(v)

So mysterious dude do not understand what is the purpose and what hurts your comment? I do not think anyone stole your bread from the mouth, this is a release that was revised to shogun, and special functions us, and where are you talking about copyright.

Aaaaaaaa ready know, you wanted to put @ by martysama0134, what you wanted? Of course you can put very easy because you can check the code of both sides, and you'll notice that not even 5% job with one another, and here are updates such as new text color can add so on

Pretty please next time you go to comment on those topics which are filled with resellers and Scammers and all, not a topical release is the work of a man and shared it with you.

Have a stormy night.

PS: Do not you bother to reply that I really do not care about your answer, you're just a kid frustrated that demands attention.
VegaS ♆ is offline  
Thanks
6 Users
Old 09/29/2016, 00:15   #7
 
elite*gold: 0
Join Date: Jan 2014
Posts: 31
Received Thanks: 4
How to use in a quest?
Dharokko18 is offline  
Old 09/29/2016, 04:32   #8
 
lollo_9_1's Avatar
 
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
Quote:
Originally Posted by Dharokko18 View Post
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
Code:
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.
lollo_9_1 is offline  
Reply

Tags
colored quests, lollo_9_1, metin2


Similar Threads Similar Threads
Duping revised
07/07/2010 - 12Sky2 - 4 Replies
So I see a patch came up, that's a bummer. But I've been running through some things and this patch actually seems to open up some very nice new doors! Anyone interested in researching this with me, please do post here or pm me :) And yeah, I know I have a low post count, that's because I've been mostly observing and keeping my own findings to myself, but I want a bit of help with this to see what can be dug up :) Anyone interested?
[HELP] Revised Codes
07/07/2010 - CO2 Private Server - 1 Replies
Can you please help me revised this codes. I really don't have any idea how to make them work. Thanks. Steed Skill Seller: case 100983: { if (option == 0) { GC.AddSend(Packets.NPCSay("Hello. I'm the mount trainer. I'm selling mount skill. Are you interested?"));
Tutorials all revised
03/19/2010 - Soldier Front - 3 Replies
Credits to DrakeFang for the M4A1 Guide 4A1, one of the great weapon of Special Force. M4A1 as many says, is the ideal weapon of choice for those who want to battle in close quarter combat. It is the lightest assault rifle (tied with G36C) among the rifle groups which is favoured by pro assaulter's in rushing. One of its problem is the damage, it ranks second to the last among assault rifles but makes it up with its high rate of firing. Also among the highest recoil just behind AK-74. Well...
THE SKILL HACK (revised)
10/05/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 198 Replies
Auto Skill hack (UPdated since today) sept. 29, 2009. TuT 1. Download the link given here ||CLICK ME|| 2. After downloading paste the downloaded file to your GCPH stage folder... 3. When launching the game use this swear hack ||CLICK ME|| 4. then log in to your account, go to practice mode.. 5. Select your character then press "Z" button or what you call the attack button ,, when it cast a 3rd skill then it works.. ^__^..
SD hack.. Revised..
04/27/2009 - Grand Chase - 4 Replies
Since nakakaLito daw ung Gnawa ni Cress76 from shei_lamae iLeech ko nLng d2 ung akin.. weLL mas nadaLian ako d2.. 1. trial tower 2. scan 1122238464 -exact value, 4bytes 3. after scan kill all Slime 4. then find a value of 0 5. select all addresses and add them to list(20-25 addresses) 6. leave the room and start it all over again with the addresses you have



All times are GMT +1. The time now is 23:47.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.