%100 Official Ymir ThreeWayWar Quest[FORKED_ROAD]

09/14/2011 23:01 TheDestroyer™#1
Quote:
Originally Posted by TheDestroyer™ View Post
Hello com,
Its official ymir three way war quest :
[First delete forked_road.quest inside and add that codes]

PHP Code:
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("You cannot join after gate to holy land is opened!")
                        
say("Pray for our kingdom to conquer Holy land !!")
                        
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("Pandemonia-empire enters the holy ground." )
                elseif 
pc.getempire() == 2 then
                game
.set_event_flag("threeway_war_open_gate2", 0)
                    
notice_all("Asmodia-empire enters the holy ground." )
                elseif 
pc.getempire() == 3 then
                game
.set_event_flag("threeway_war_open_gate3", 0)
                        
notice_all("Elgoria-empire enters the holy ground." )
                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; Three Empires Street Fighting?" or 11003.chat."GM; Three Empires Street Fighting?" or 11005.chat."GM: Three Empires Street Fighting?" with pc.is_gm() begin
           local s 
= select( "Start the Empires Street Fighting" , "Enter the Empires Street Fighting" );

            if 
s == 1 then
                
-- ±âÁ¸¿¡ ÀÖ´ø ¸÷À» ¸&#287;µÎ Á×ÀδÙ
                
forked.purge_all_monsters()

                -- 
ÃʱâÈ*
                
forked.initforked()

                -- 
½ÃÀÛ Ç÷¡±× ¼³Á¤
                game
.set_event_flag("threeway_war", 1)

                -- 
»ï°Å¸® ÀüÅõ Å³ Á¦ÇÑ ¼³Á¤
                game
.set_event_flag("threeway_war_dead_count", 25)    -- ºÎȰ °¡´É ¼ö

                
if true == is_test_server() then
                    game
.set_event_flag("threeway_war_kill_count", 5)    -- PC ¸î ¸í Á×À̸頼øÀ§ ¸Ô¿© Å»¶ô½Ãų °ÍÀΰ¡
                
else
                    
game.set_event_flag("threeway_war_kill_count", 250)    -- PC ¸î ¸í Á×À̸頼øÀ§ ¸Ô¿© Å»¶ô½Ãų °ÍÀΰ¡
                end

                game
.set_event_flag("threeway_war_boss_count", 5)    -- ÃÖÁ¾ º¸½º ¸î ¸¶¸® ¼ÒȯÇÒ °ÍÀΰ¡

                
-- »ï°Å¸® ÀÔ±¸ ¿*°í/´&#304;±â ¼³Á¤
                
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("Three way war has begun.")
                
say("")

                
wait()

                -- 
¸ó½ºÅÍ »õ·Ó°Ô ¸®Á¨
                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("Starting three way war.")
                
notice_all("Talk to the town guard to join three way war.")

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

                
notice_all("Ending three way war")
                
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 
Please click thanks button
Turkish :
Merhaba arkiler ,
Gçenlerde darkgokmen2 diye bir oç paylaşmış
Ona söyleyin her an dayak yiyebilir bilgileri elimde,
Banada epvp dilencisi diyordu o piç amk al buda dilencilik mi?
Amına soktuğumun cocuğu paylaşan ben bugları kapadım diyen sen kontrol ettim fark felan yok aynısı bide bugları kapatmış haha
O piçin anasının amına her an sokabilirim :D
Bırakın ezikler işte :D:D:D
By TheDestroyer
09/15/2011 07:05 .Risan.#2
Wie kammst du daran? -.-

Ist zwar das Original aber muss man etwas umschreiben weil es dennoch etwas rumspackt...
09/15/2011 07:27 Syrael van G#3
100% naja wers glaubt..

ich kanns nicht mal starten..

bleib ich lieber bei der Quest von EDDY die funktioniert wenigstens einwandfrei.
09/15/2011 08:00 TheDestroyer™#4
please speak english
09/15/2011 13:02 ƬheGame#5
they mean it wont work :)
09/15/2011 16:29 ZyoX#6
Very nice quest. ;)
09/15/2011 16:44 TheDestroyer™#7
Quote:
Originally Posted by ƬheGame View Post
they mean it wont work :)
haha its official singpure 2010er three way war quest its work i tried haha
09/15/2011 16:46 tr0j3n18#8
Turkisch

sağol oç

English

thanks my friend
09/15/2011 17:17 TheDestroyer™#9
Quote:
Originally Posted by tr0j3n18 View Post
Turkisch

sağol oç

English

thanks my friend
anan oç ~ no problem
09/15/2011 17:24 'oShet#10
With this quest the war will work?? Because with the quest from EDDI my war didnt work.
09/15/2011 17:24 .Slushi#11
Hey keine Kraftausdrücke auf Türkisch!
09/15/2011 18:17 TheDestroyer™#12
Quote:
Originally Posted by Silfro95 View Post
With this quest the war will work?? Because with the quest from EDDI my war didnt work.
its official z8games and singapure [i dont know but i think yes] forked_road you think ?

:handsdown::handsdown:
09/15/2011 18:30 hellsinq#13
Siler bu gene amk
thx
09/15/2011 19:08 FbFunnY#14
einige schreiben hier was von der quest von eddy,kann die mir wer schicken ?
09/15/2011 19:21 Glost123#15
bleibt bitte beim thema, das hier ist kein "wer flucht hier am besten" thema!