Jump to content

Problem with mountain lion


Recommended Posts

Good evening everyone, I open this post to ask a question that I turn in my head for some time.
The mount of the white lion (only one, the others work perfectly) while ride if you turn to the villus or any other map the GAME not charge NPC and / or MOB in real time but rather sometimes with 2/3 seconds late ...
The server is not started with 34k game files but the problem persists even in the not started with the source compiled ...
From what could come this problem?

20114 Leone Bianco KING NPC MELEE 1 0 STUN,SLOW,CURSE,TERROR 0 wolf 0 3 6 5 2 20 24 126 6 7 2402 2587 2306 4 100 100 0 2000 175 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 70104 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

71124 "Leone Bianco" "ITEM_QUEST" 0 1 "ANTI_SELL" "ITEM_STACKABLE" "NONE" "NONE" 500000000 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 3 0

 

Sorry for my bad english.

Link to comment
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

i have quest:

quest cavalcature begin
    state start begin
        when 71114.use or 71116.use or 71118.use or 71120.use
        or 71115.use or 71117.use or 71119.use or 71121.use
        or 71125.use or 71126.use or 71127.use or 71128.use
        or 71133.use or 71134.use or 71124.use or 52089.use
        or 52090.use
        begin
            local a = {71114, 71116, 71118, 71120, 71115, 71117, 71119, 71121, 71125, 71126, 71127, 71128, 71133, 71134, 71124, 52089, 52090}
            local i = 0
            local N1 = table.getn(a)
            for x1 = 1, N1 do
                if a[x1] == item.vnum then
                    i = x1
                end
            end
            
            local x = pc.getqf("cavalc")
            if x == 0 then
                pc.setqf("cavalc", i)
                cavalca(item.vnum, x)
            elseif x == i then
                pc.setqf("cavalc", 0)
                scendi(item.vnum)
            else
                pc.setqf("cavalc", i)
                scendi(item.vnum)
                cavalca(item.vnum, i)
            end
        end
    end
end
 

And function:

CavArray = {
    {71114, "Cinghiale Giallo", 20110, 0},
    {71116, "Lupo Giallo", 20111, 0},
    {71118, "Tigre Gialla", 20112, 0},
    {71120, "Leone Giallo", 20113, 0},
    
    {71115, "Cinghiale Blu", 20205, 0},
    {71117, "Lupo Blu", 20206, 0},
    {71119, "Tigre Blu", 20207, 0},
    {71121, "Leone Blu", 20208, 0},
    
    {71125, "Cinghiale Comb", 20209, 0},
    {71126, "Lupo Comb", 20210, 0},
    {71127, "Tigre Comb", 20211, 0},
    {71128, "Leone Comb", 20212, 0},
    
    {71133, "Orso", 20221, 0},
    {71134, "Panda", 20222, 0},
    {71124, "Leone Bianco", 20114, 0},
    {52089, "Renna Oscura M", 20214, 0},
    {52090, "Renna Oscura F", 20217, 0},
}

CavBonusType = {
    {1, 21},
    {1, 22},
    {1, 18},
    {1, 19},
    
    {1, 21},
    {1, 22},
    {1, 18},
    {1, 19},
    
    {1, 21},
    {1, 22},
    {1, 18},
    {1, 19},
    
    {1, 63, 67},
    {1, 63, 43},
    {1, 63, 72},

    {1, 21},
    {1, 21},
}

CavBonusValue = {
    {300, 5},
    {300, 5},
    {300, 5},
    {300, 5},
    
    {600, 10},
    {600, 10},
    {600, 10},
    {600, 10},
    
    {1000, 15},
    {1000, 15},
    {1000, 15},
    {1000, 15},
    
    {1500, 5, 10},
    {1500, 5, 10},
    {1500, 10, 10},

    {300, 5},
    {300, 5},
}



function cavalca(vnum, prec)
    local i = 0
    local N1 = table.getn(CavArray)
    for x1 = 1, N1 do
        if CavArray[x1][1] == vnum then
            i = x1
        end
    end

    if i != 0 then
        local tempo = 60*30
        local Ric = ""
        local CavName = ""
        local mob = ""
        Ric = CavArray[i][1]
        CavName = CavArray[i][2]
        mob = CavArray[i][3]
        pc.mount(mob, tempo)
        local s2 = ""
        local N2 = table.getn(CavBonusType[i])
        for x2 = 1, N2 do
            pc.mount_bonus(CavBonusType[i][x2], CavBonusValue[i][x2], tempo)
            local NomeBonus = RitBonus(CavBonusType[i][x2])
            s2 = s2 .. CavBonusValue[i][x2] .. " " .. NomeBonus .. "; "
        end
        chat(CavName .. ": Aggiunti " .. s2)
    end
end

function scendi(vnum)
    local i = 0
    local N1 = table.getn(CavArray)
    for x1 = 1, N1 do
        if CavArray[x1][1] == vnum then
            i = x1
        end
    end

    if i != 0 then
        local tempo = 60*30
        local Ric = ""
        local CavName = ""
        local mob = ""
        Ric = CavArray[i][1]
        CavName = CavArray[i][2]
        mob = CavArray[i][3]
        pc.unmount(mob)
    end
end

where I insert it?

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



  • Similar Content

  • Activity

    1. 28

      Experimental Renderer

    2. 80

      Ship Defense (Hydra Dungeon)

    3. 11

      Loyal Metin2 Homepage

    4. 0

      Metin2Hyperion PvM 120 easy

    5. 29

      Shiva.international | Finest Oldschool | Official Start 16.09.2022

    6. 3

      Auto Potion refill event

    7. 0

      Different Staff Wanted!!

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.