Jump to content

Recommended Posts

Hi, what is bad in this quest?

Spoiler

quest teleporter2 begin
    state start begin
        when 20092.chat."Valea Maiasa(Lv.100-120)" begin
            local xteodor = 1
            local iteodor = 30179
            local nteodor = "Valea Maiasa"
            local lteodor = "100-120"
            
            say_title(mob_name(20092)..": ")
            say_green("Salut "..pc.getname().."! ")
            say_golden("")
            say_green("Pentru a intra in "..nteodor.." trebuie ")
            say_green("sa indeplinesti cateva conditii. ")
            say_green("Nivelul trebuie sa fie intre "..lteodor..". ")
            say_green("Trebuie sa detii "..item_name(iteodor).." x"..xteodor.." .")
            say("")
            say_green("Doresti sa fii teleportat? ")
            say("")
            local s = select("Da", "Nu")
            if s == 1 then 
                if pc.count_item(iteodor) >= xteodor then 
                    if pc.get_level() >= 100 and pc.get_level() <= 120 then 
                        pc.remove_item(iteodor, xteodor)
                        pc.warp(88390142,883246979)    
                    else
                        chat("|cffff0000[Teleporter]|h|cFFFFFFFF|h Se pare ca nu inteplinesti conditiile de nivel! ")
                    end
                else
                    chat("|cffff0000[Teleporter]|h|cFFFFFFFF|h Se pare ca nu detii "..item_name(iteodor).." x"..xteodor.." .")
                end
            end
        end
    end
end
 

 

P.S:

root@localhost:/usr/--/--/share/locale/romania/quest # ./qc new_quest/teleporter_exp/quest.lua
QUEST : teleporter2
STATE : start
WHEN  : 20092.chat ("Valea Maiasa(Lv.100-120)")
root@localhost:/usr/--/--/share/locale/romania/quest #

PS2: https://metin2.download/picture/zyLawhY4iXZZY2725j1b3bCm6ybTn2sG/.jpg

 

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

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The problem is that when you click on NPC you can't see Valea Maiasa(Lv.100-120). It's correct?

If this is the problem check the directory quest/object/20092 and find your quest here. If you find it try to restart your game server and post the list of file in this directory.

If you don't find it here, you have some problem with qc.

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.