Register for your free account! | Forgot your password?

You last visited: Today at 23:39

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

Advertisement



[Quest Problem]

Discussion on [Quest Problem] within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Sγrσηιιx''s Avatar
 
elite*gold: 1
Join Date: Oct 2013
Posts: 49
Received Thanks: 97
[Quest Problem]

FUNCTION BuildGrandMasterSkillList(job,group)
^This, wo einfügen?! in die quest_function gehts schonmal nich...
Sγrσηιιx' is offline  
Thanks
1 User
Old 10/05/2013, 05:01   #2
 
elite*gold: 1
Join Date: Oct 2012
Posts: 1,036
Received Thanks: 801
direkt in der quest^^
[SA]Tears aka.[BlackBite] is offline  
Old 10/05/2013, 07:49   #3
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
This is part of training_grandmaster_skill.quest, if you want to use it in another quest, then move the code from there to questlib.lua and add the function to quest_functions

Code:
function BuildGrandMasterSkillList(job, group)
            GRAND_MASTER_SKILL_LEVEL = 30
            PERFECT_MASTER_SKILL_LEVEL = 40
            local skill_list = special.active_skill_list[job+1][group]
            local ret_vnum_list = {}
            local ret_name_list = {}
            table.foreach(skill_list,
            function(i, skill_vnum)
                local skill_level = pc.get_skill_level(skill_vnum)
                if skill_level >= GRAND_MASTER_SKILL_LEVEL and skill_level < PERFECT_MASTER_SKILL_LEVEL then
                    table.insert(ret_vnum_list, skill_vnum)
                    local name=locale.GM_SKILL_NAME_DICT[skill_vnum]
                    if name == nil then name=skill_vnum end
                    table.insert(ret_name_list, name)
                end
            end)
            return {ret_vnum_list, ret_name_list}
end
.Shōgun is offline  
Reply


Similar Threads Similar Threads
Problem in quest
06/04/2013 - Metin2 Private Server - 0 Replies
Hi all i have problem in metin2client_r36469u_v2 the quest look it > http://im33.gulfup.com/O52AS.jpg
Quest Problem
01/09/2012 - Metin2 Private Server - 3 Replies
Hallo leute ich habe ein großes Problem mit quests einfügen die screens sind im anhang vllt kann mir ja jmd helfen
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 23:39.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.