Понедельник, 01.12.2025, 01:41


Приветствую Вас Гость | RSS


Главная | forked_road.quest - Форум | Регистрация | Вход
Metin2 сервера, руководства, гайды, читы, боты

[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]

  • Страница 1 из 1
  • 1
forked_road.quest
MOSKVA Дата: Воскресенье, 31.03.2013, 18:36 | Сообщение # 1

Сообщений: 110
[9]

Статус: Не на сайте
Люди сканьте пожалусто переведённый и рабочий forked_road.quest
пожалусто буду очень блпгодарен и ещё я хотел бы узнать как называется мапа битва имерий которая в сервере!

Добавлено (09.03.2013, 21:20)
---------------------------------------------
up

Добавлено (11.03.2013, 10:32)
---------------------------------------------
up

Добавлено (24.03.2013, 07:16)
---------------------------------------------
up

Добавлено (31.03.2013, 17:36)
---------------------------------------------
up


 
СообщениеЛюди сканьте пожалусто переведённый и рабочий forked_road.quest
пожалусто буду очень блпгодарен и ещё я хотел бы узнать как называется мапа битва имерий которая в сервере!

Добавлено (09.03.2013, 21:20)
---------------------------------------------
up

Добавлено (11.03.2013, 10:32)
---------------------------------------------
up

Добавлено (24.03.2013, 07:16)
---------------------------------------------
up

Добавлено (31.03.2013, 17:36)
---------------------------------------------
up


Автор - MOSKVA
Дата добавления - 31.03.2013 в 18:36
God_Livid Дата: Воскресенье, 31.03.2013, 19:56 | Сообщение # 2

Сообщений: 507

Статус: Не на сайте
Цитата
quest forked_road begin
    state start begin
        when login with forked.isforkedmapindex( pc.get_map_index() ) == true begin
            if game.get_event_flag("threeway_war") == 0 then
                warp_to_village()
            else
                local noticeShow = false

                if forked.is_registered_user() == false then
                    forked.register_user()
                    forked.setdeadcount()
                    pc.remove_item(50089)
                    noticeShow = true
                end

                if forked.getdeadcount() <= 0 then
                    warp_to_village()
                elseif true == noticeShow then
                    if forked.issungzimapindex( pc.get_map_index() ) == true then
                        say( locale.forked_condition2 )
                        say( locale.NOTICE_COLOR..locale.forked_rule_sungzi )
                    else
                        say( locale.forked_condition )
                        say( locale.NOTICE_COLOR..locale.forked_rule )
                        say_item_vnum(50089)
                                end
                        end
                end
        end
        when 11001.chat.locale.forked_man_chat or 11003.chat.locale.forked_man_chat or 11005.chat.locale.forked_man_chat begin
            if game.get_event_flag("threeway_war") == 0 then
                        say(locale.forked_man_say_cant)
            else
                        say(locale.forked_man_say)
                        local s = select(locale.forked_enter,locale.forked_no_enter)
                        if s == 1 then
                    local limit = math.min(game.get_event_flag("threeway_war_level"), 30)

                    if pc.get_level() < limit then
                        say("In order to join three way war, your level must be over "..limit.."")     
                        return
                    end

                    local canJoin = false

                    if (pc.getempire() == 1 and game.get_event_flag("threeway_war_open_gate1" ) != 0) or
                        (pc.getempire() == 2 and game.get_event_flag("threeway_war_open_gate2" ) != 0) or
                        (pc.getempire() == 3 and game.get_event_flag("threeway_war_open_gate3" ) != 0) then
                        canJoin = true
                    else
                        say( locale.forked_man_say_you_cant2 )
                    end

                    if true == canJoin then
                        pc.warp( forked.get_pass_start_pos() )
                    else
                        say(" Вы не можите присоединиться! ")  
                        end
                        end
                end
        end
         
        when 1306.kill with forked.isforkedmapindex(pc.get_map_index()) == true begin
            game.drop_item(50089, 1)
        ----"12345678901234567890123456789012345678901234567890"|
                say("If the Stone of Hermetic Seal is opened with the")
                say("Stone of Dismantling ,All users will be")
                say("brought onto the street.")
                say("Nobody will be able to go back to the holy ground.")
                say("")
        end

        when 1902.kill with forked.issungzimapindex(pc.get_map_index()) == true begin
            if 0 == game.get_event_flag("threeway_war") then
                return
            end

            local remainBossCount = game.get_event_flag("threeway_war_boss_count") - 1

            game.set_event_flag("threeway_war_boss_count", remainBossCount)

            if remainBossCount > 1 then
                return
        end

            game.set_event_flag("threeway_war", 0)
            local nation = { "Pandemonia","Asmodia","Elgoria" }
            notice_all("The winner of three way war is "..nation[pc.getempire()])

            warp_all_to_village(forked.getsungzimapindex(), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(1), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(2), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(3), 30)
        end

        when 20081.take with item.vnum == 50089 begin
            say_in_map(pc.get_map_index(), locale.forked_open_gate)
                npc.purge()
                item.remove()

                forked.initkillcount()

                if pc.getempire() == 1 then
                game.set_event_flag("threeway_war_open_gate1", 0)
                        notice_all(" Красная империю входит на битву империй. " )
                elseif pc.getempire() == 2 then
                game.set_event_flag("threeway_war_open_gate2", 0)
                    notice_all(" Желтая империю входит на битву империй. " )
                elseif pc.getempire() == 3 then
                game.set_event_flag("threeway_war_open_gate3", 0)
                        notice_all(" Синяя империю входит на битву империй. " )
                else
                        say(locale.forked_man_say_you_cant2 )
                end

            local x, y = forked.get_sungzi_start_pos()
            forked.warp_all_in_map( pc.get_map_index(), forked.getsungzimapindex(), x, y, 10)
        end

        when 11001.chat."GM; Битва 3 империй" or 11003.chat."GM; Битва 3 империй" or 11005.chat."GM: Битва 3 империй" with pc.is_gm() begin
           local s = select( " Запустить битву 3 империй " , " Войти на битву 3 империй " );

            if s == 1 then
               
                forked.purge_all_monsters()

                -- AE±aE*
                forked.initforked()

                -- ?AAU CA·?±? ??A¤
                game.set_event_flag("threeway_war", 1)

                -- »i°A?® AuAo A? A¦CN ??A¤
                game.set_event_flag("threeway_war_dead_count", 25)   

                if true == is_test_server() then
                    game.set_event_flag("threeway_war_kill_count", 5)   
                else
                    game.set_event_flag("threeway_war_kill_count", 250)  
                end

                game.set_event_flag("threeway_war_boss_count", 5)

                -- »i°A?® AO±? ?*°i/?ݱa ??A¤
                game.set_event_flag("threeway_war_open_gate1", 1)
                game.set_event_flag("threeway_war_open_gate2", 1)
                game.set_event_flag("threeway_war_open_gate3", 1)
                say(" Битва началась .")
                say("")

                wait()

                -- ?o??AI »o·O°O ?®A?
                regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."npc.txt" )
                regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."npc.txt" )
                regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."npc.txt" )

                notice_all(" Начинается битва империй. ")
                notice_all(" Чтобы туда попасть поговорите в Военачальником. ")

            elseif 2 == s then
                game.set_event_flag("threeway_war", 0)

                notice_all(" Битва империй окончена. ")
                forked.purge_all_monsters()

                warp_all_to_village(forked.getsungzimapindex(), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(1), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(2), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(3), 1)
                end
        end
        end
        end



 
Сообщение
Цитата
quest forked_road begin
    state start begin
        when login with forked.isforkedmapindex( pc.get_map_index() ) == true begin
            if game.get_event_flag("threeway_war") == 0 then
                warp_to_village()
            else
                local noticeShow = false

                if forked.is_registered_user() == false then
                    forked.register_user()
                    forked.setdeadcount()
                    pc.remove_item(50089)
                    noticeShow = true
                end

                if forked.getdeadcount() <= 0 then
                    warp_to_village()
                elseif true == noticeShow then
                    if forked.issungzimapindex( pc.get_map_index() ) == true then
                        say( locale.forked_condition2 )
                        say( locale.NOTICE_COLOR..locale.forked_rule_sungzi )
                    else
                        say( locale.forked_condition )
                        say( locale.NOTICE_COLOR..locale.forked_rule )
                        say_item_vnum(50089)
                                end
                        end
                end
        end
        when 11001.chat.locale.forked_man_chat or 11003.chat.locale.forked_man_chat or 11005.chat.locale.forked_man_chat begin
            if game.get_event_flag("threeway_war") == 0 then
                        say(locale.forked_man_say_cant)
            else
                        say(locale.forked_man_say)
                        local s = select(locale.forked_enter,locale.forked_no_enter)
                        if s == 1 then
                    local limit = math.min(game.get_event_flag("threeway_war_level"), 30)

                    if pc.get_level() < limit then
                        say("In order to join three way war, your level must be over "..limit.."")     
                        return
                    end

                    local canJoin = false

                    if (pc.getempire() == 1 and game.get_event_flag("threeway_war_open_gate1" ) != 0) or
                        (pc.getempire() == 2 and game.get_event_flag("threeway_war_open_gate2" ) != 0) or
                        (pc.getempire() == 3 and game.get_event_flag("threeway_war_open_gate3" ) != 0) then
                        canJoin = true
                    else
                        say( locale.forked_man_say_you_cant2 )
                    end

                    if true == canJoin then
                        pc.warp( forked.get_pass_start_pos() )
                    else
                        say(" Вы не можите присоединиться! ")  
                        end
                        end
                end
        end
         
        when 1306.kill with forked.isforkedmapindex(pc.get_map_index()) == true begin
            game.drop_item(50089, 1)
        ----"12345678901234567890123456789012345678901234567890"|
                say("If the Stone of Hermetic Seal is opened with the")
                say("Stone of Dismantling ,All users will be")
                say("brought onto the street.")
                say("Nobody will be able to go back to the holy ground.")
                say("")
        end

        when 1902.kill with forked.issungzimapindex(pc.get_map_index()) == true begin
            if 0 == game.get_event_flag("threeway_war") then
                return
            end

            local remainBossCount = game.get_event_flag("threeway_war_boss_count") - 1

            game.set_event_flag("threeway_war_boss_count", remainBossCount)

            if remainBossCount > 1 then
                return
        end

            game.set_event_flag("threeway_war", 0)
            local nation = { "Pandemonia","Asmodia","Elgoria" }
            notice_all("The winner of three way war is "..nation[pc.getempire()])

            warp_all_to_village(forked.getsungzimapindex(), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(1), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(2), 30)
            warp_all_to_village(forked.getpassmapindexbyempire(3), 30)
        end

        when 20081.take with item.vnum == 50089 begin
            say_in_map(pc.get_map_index(), locale.forked_open_gate)
                npc.purge()
                item.remove()

                forked.initkillcount()

                if pc.getempire() == 1 then
                game.set_event_flag("threeway_war_open_gate1", 0)
                        notice_all(" Красная империю входит на битву империй. " )
                elseif pc.getempire() == 2 then
                game.set_event_flag("threeway_war_open_gate2", 0)
                    notice_all(" Желтая империю входит на битву империй. " )
                elseif pc.getempire() == 3 then
                game.set_event_flag("threeway_war_open_gate3", 0)
                        notice_all(" Синяя империю входит на битву империй. " )
                else
                        say(locale.forked_man_say_you_cant2 )
                end

            local x, y = forked.get_sungzi_start_pos()
            forked.warp_all_in_map( pc.get_map_index(), forked.getsungzimapindex(), x, y, 10)
        end

        when 11001.chat."GM; Битва 3 империй" or 11003.chat."GM; Битва 3 империй" or 11005.chat."GM: Битва 3 империй" with pc.is_gm() begin
           local s = select( " Запустить битву 3 империй " , " Войти на битву 3 империй " );

            if s == 1 then
               
                forked.purge_all_monsters()

                -- AE±aE*
                forked.initforked()

                -- ?AAU CA·?±? ??A¤
                game.set_event_flag("threeway_war", 1)

                -- »i°A?® AuAo A? A¦CN ??A¤
                game.set_event_flag("threeway_war_dead_count", 25)   

                if true == is_test_server() then
                    game.set_event_flag("threeway_war_kill_count", 5)   
                else
                    game.set_event_flag("threeway_war_kill_count", 250)  
                end

                game.set_event_flag("threeway_war_boss_count", 5)

                -- »i°A?® AO±? ?*°i/?ݱa ??A¤
                game.set_event_flag("threeway_war_open_gate1", 1)
                game.set_event_flag("threeway_war_open_gate2", 1)
                game.set_event_flag("threeway_war_open_gate3", 1)
                say(" Битва началась .")
                say("")

                wait()

                -- ?o??AI »o·O°O ?®A?
                regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."npc.txt" )
                regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."npc.txt" )
                regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."regen.txt" )
                regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."npc.txt" )

                notice_all(" Начинается битва империй. ")
                notice_all(" Чтобы туда попасть поговорите в Военачальником. ")

            elseif 2 == s then
                game.set_event_flag("threeway_war", 0)

                notice_all(" Битва империй окончена. ")
                forked.purge_all_monsters()

                warp_all_to_village(forked.getsungzimapindex(), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(1), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(2), 1)
                warp_all_to_village(forked.getpassmapindexbyempire(3), 1)
                end
        end
        end
        end

Автор - God_Livid
Дата добавления - 31.03.2013 в 19:56
  • Страница 1 из 1
  • 1
Поиск:

Загрузка..

Яндекс.Метрика
Copyright Necromancers © 2025 Сайт основан на мотивах Метин-2


Все права на некоторые элементы дизайна принадлежат официальному сайту www.metin-2.ru