Jump to content

[QUESTS] Random oldgodsmt2 quests


Recommended Posts

  • Active Member
Posted (edited)
Spoiler
quest enchant begin
	state start begin
		when 40003.use begin
			pc.give_item2(71084, 200)
			say("You just received two hundred Enchants!")
		end
	end
end

on use gives you 200 switch enchants , or whatever you want 

 

FIXED RAINBOW NO MENU CHOICE - 

 

quest rainbow begin
	state start begin
		when 50512.use begin
			local sk = special.active_skill_list[pc.get_job()+1][pc.get_skill_group()]
			for i = 1, table.getn(sk) do
				if pc.get_skill_level(sk[i]) < 30 then
					pc.set_skill_level(sk[i], 30)
					item.remove()
					syschat("Your skills are now Grand Master.")
				end
			end
		end
	end
end

 
SIMPLE TIMER_NOTICE
ONLY PLAYER CAN SEE IT DOES NOT SPAM FOR OTHERS

 

quest timer_notice begin
	state start begin
		when login begin
			timer("timer1", 200) -- 2h in seconds, they set the timer for the timer1.timer
			notice("Don't forget to vote for our server & claim your free JD Coins") 
		end
		when timer1.timer begin
			timer("timer2", 200) -- Set the time for the next timer (timer2.timer)
			notice("Autopick can be found in game options - Global rewards can happen anytime!") 
		end
		when timer2.timer begin
			timer("timer", 200) -- ""
			notice("Join our Discord server guides & help (Link in Website)") 
		end
	end
end



FROM OLD SERVER FINALSTAND  SIMPLE GM NOTICE

 


----------------------------------
-- GM Login Notice FinalStandMT2
-- Scripted By [SA]Staffo
----------------------------------
quest gmlogin begin
state start begin
when login with pc.is_gm() begin
notice_all("".. pc.get_name() .." is now online.")
notice_all("Feel free to contact for support.")
end
end
end

 

 

SIMPLE SET RATES QUEST
 

quest rates begin
	state start begin
		when letter with pc.is_gm() begin
			send_letter("Set-Rates")
		end
		when info or button with pc.is_gm() begin
			command("priv 0 1 50 699")
			command("priv 0 2 50 699")
			command("priv 0 3 10 699")
			command("priv 0 4 100 699")
			send_letter("Set-Rates")
		end
	end
end



OLDGODSMT2 TELEPORT RING

 


quest map_warp_quest begin
   state start begin
       when 70007.use begin
           say_title("Ring of teleportation:")
           say("This powerful ring grants you the teleportation power")
           say("of Old Gods")
           say_reward("OldGodsMT2 Team wishes you a safe journey")
           say("Do you want to Teleport ?")

           local main_set = select("Yes","No")
           if main_set == 2 then
               return
           end

           say_title("Ring of teleportation:")
           sub_set = select ( "Map 1 Red" , "Map 2 Red" , "Map 1 Yellow" , "Map 2 Yellow" , "Map 1 Blue" , "Map 2 Blue" ,"Continue") 
           if sub_set == 7 then
               say_title("Ring of teleportation:")
               sub_set = select ( "Nula Valley", "Desert" , "Mount Sohan", "Valkus" , "Demon Tower" , "Wild Forest" , "Red Forest" ,"Continue" ) + 6
               if sub_set == 14 then 
                   say_title("Ring of teleportation:")
                   sub_set = select ( "Temple", "V1", "METIN AREA 1-90", "FARM YANG LEVEL 70", "Grotto" , "Close" ) + 13
                   if sub_set == 19 then
                       return 
                   end
               end 
               
           end 
               
           local warp = {
                   -- Map 1 Rouge
                   {
                       { 474300 , 954800 },
                       { 474300 , 954800 },
                       { 474300 , 954800 },
                   },
                   -- Map 2 Rouge
                   {
                       { 353100 , 882900 },
                       { 353100 , 882900 },
                       { 353100 , 882900 },
                   },
                   -- Map 1 Jaune
                   {
                       { 63800 , 166400 },
                       { 63800 , 166400 },
                       { 63800 , 166400 },
                   },
                   -- Map 2 Jaune
                   {
                       { 145500 , 240000 },
                       { 145500 , 240000 },
                       { 145500 , 240000 },
                   },
                   -- Map 1 Bleu
                   {
                       { 959900 , 269200 },
                       { 959900 , 269200 },
                       { 959900 , 269200 },
                   },
                   -- Map 2 Bleu
                       {
                       { 863900 , 246000 },
                       { 863900 , 246000 },
                       { 863900 , 246000 },
                   },
                    -- Map Orc
                   {
                       { 402100, 673900 },
                       { 270400, 739900 },
                       { 321300, 808000 },
                   },
                   -- Map Desert
                   {
                       { 217800, 627200 },
                       { 221900, 502700 },
                       { 344000, 502500 },
                   },
                   -- Mont Sohan
                   {
                       { 434200, 290600 },
                       { 375200, 174900 },
                       { 491800, 173600 },
                   },
                   -- Map Volcan
                   {
                       { 599400, 756300 },
                       { 597800, 622200 },
                       { 730700, 689800 },
                   },
                   -- Tour du démon
                   {
                       { 590500, 110500 },
                       { 590500, 110500 },
                       { 590500, 110500 },
                   },
                   { -- Map Foret
                       { 288700 , 5700 }, 
                       { 288700 , 5700 }, 
                       { 288700 , 5700 }, 
                   },
                   { -- Map Bois rouge
                       { 1119500 , 701 }, 
                       { 1119500 , 701 }, 
                       { 1119500 , 701 }, 
                   },
                   { -- Map Temple
                       { 553600 , 144100 }, 
                       { 553600 , 144100 }, 
                       { 553600 , 144100 }, 
                   },
                   { -- Cave 1
                       { 60000 , 496000 }, 
                       { 60000 , 496000 }, 
                       { 60000 , 496000 }, 
                   },
                   { -- FARM EXP 1-40
                       	{ 179500, 1000 }, 
                        { 179500, 1000 }, 
                        { 179500, 1000 }, 
                   },
                   { -- FARM YANG
                       { 828300 , 763500 }, 
                       { 828300 , 763500 }, 
                       { 828300 , 763500 }, 
                   },
                   { -- Grotto 2

                    { 153600, 1203200 },
                    { 153600, 1203200 },
                    { 153600, 1203200 },
                   },
               }

               local old_vid = pc.select(u_vid)
               local empire = pc . get_empire ( ) 
               test_chat ( warp [ sub_set ] [ empire ] [ 1 ] .. warp [ sub_set ] [ empire ] [ 2 ] ) 
               say_title("Ring of old gods :")
               say("You will be Teleported")
               say("This place is really dangerous")
               say("Take care & good luck")
               wait()
               pc . warp ( warp [ sub_set ] [ empire ] [ 1 ] , warp [ sub_set ] [ empire ] [ 2 ] ) 
               pc.select(old_vid)

       end
   end
end



DAILY QUEST ONCE A DAY 

 

quest Daily_quest begin
    state start begin
        when login or enter with pc.get_level() >= 40 begin
            if pc.getqf("daily_quest") <= get_time() then
                set_state(information)
            elseif pc.getqf("daily_quest") == 0 then
                set_state(information)
            end
        end
    end
    
    state information begin
        when letter begin
            -- Select the NPC who gives the task
            local npc = find_npc_by_vnum(20359)
            if npc != 0 then
                target.vid("__TARGET__", npc, "Piece of Gem Quest!")
            end
        end
        
        when letter begin
            send_letter("Piece of Gem Quest!")
        end
        
        when button or info begin
            say_title("Piece of Gem Quest!")
            say("")        
            say("The pharmacist is looking for you")
            say("and I think he needs your help.")
            say("If you're interested, you can find him")
            say("on the small map!")
            say("")
        end
        
        when __TARGET__.target.click or 20359.chat."Piece of Gem Quest!" begin
            target.delete("__TARGET__")
            say("Welcome, adventurer!")
            say("")
            say("It's great to see you here!")
            say("We don't know each other very well,")
            say("but I need something from you.")
            say("I need 20 Piece of Gems.")
            
            say("")
            wait()
            say("")
            say("Our heroic soldier is dying, and only")
            say("Piece of Gems can help him.")
            say("If you complete the quest, your reward is:")
            say("Exactly......")
            say("60,000,000 EXP. & Dragon Bone Earrings")
            say("")
            wait("")
            say("")
            say("I believe the reward is significant for you,")
            say("and I don't think I need to explain more!")
            say("")
            say("Will you accept the quest?")
            say("")
            local choice = select("Yes", "No")
            if choice == 1 then
                say("Ultimately, I need 20 of these items!")
                say("")
                say_item_vnum(30021)
                say("")
                set_state(action)
            else
                say("I'm sorry, I think someone else can help!")
                say("")
                return
            end
        end
    end
    
    state action begin
        when 503.kill begin
            local chance = number(1, 200)
            if chance <= 2 and pc.count_item(30021) < 20 then
                pc.give_item2(30021)
            end
        end
        
        when letter begin
            send_letter("Piece of Gem Quest!")
        end
        
        when button or info begin
            say_title("Piece of Gem Quest!")
            say("")
            say("The pharmacist gave you a task")
            say("and the task is to find 20 Piece of Gems.")
            say("Let's get to work!")
            say("")
            say_item_vnum(30021)
            say("")
        end
        
        when 20359.chat."Piece of Gem Quest!" begin
            if pc.count_item(30021) >= 20 then
                say("Thank you, brave warrior!")
                say("Here's the reward I promised:")
                say("60,000,000 EXP!")
                say("")
                pc.remove_item(30021, 20)
                pc.give_exp2(60000000)
				pc.give_item2(72704, 1)
                clear_letter()
                if pc.is_gm() then
                    pc.setqf("daily_quest", get_time() + 10)
                else
                    pc.setqf("daily_quest", get_time() + 24 * 60 * 60)
                end
                restart_quest()
            else
                say("Hurry, time is running out!!")
                say("You know what to look for:")
                say_item_vnum(30021)
                say("")
                return
            end
        end
    end
end


PVP QUEST  (NOT TESTED )

 

quest pvp1 begin
    state start begin
        when login or levelup with pc.get_level() >= 85 begin
            send_letter("Power Training")
        end
        when button or info begin
            say_title("PvP Mission")
            say("Hello " .. pc.get_name() .. ",")
            say("I see you are weak & need some training.")
            say("No problem at all i will help you")
            say("on the path to becoming a great warrior!")
            wait()
            say_title("Power Training")
            say("Defeat a total of 10 level 90 metins")
            say("[ENTER]Of course, I will reward you as well!")
            set_state(pvpquest1)
        end
    end
    state pvpquest1 begin
        when letter begin
            send_letter("Mission to greatness")
        end
        when button or info begin
            say_title("Your First Mission")
            say("Destroy a total of 10 metins ")
            say()
            say_reward("You have killed " .. pc.getqf("kills") .. " out of 10.")
            wait()
            send_letter("Your First Mission")
        end
        when kill with 8027 begin
            pc.setqf("kills", pc.getqf("kills") + 1)
            if pc.getqf("kills") >= 10 then
                pc.delqf("kills")
                notice_all(pc.get_name() .. " has completed the first mission!")
                say_title("You have successfully completed the first mission")
                affect.add_collect(apply.MAX_HP,50,60*60*24*365*60)
				affect.add_collect(apply.DEF_GRADE_BONUS,2,60*60*24*365*60)
                say("[ENTER]You receive:")
                say_reward("+50HP Permanent.")
                say_reward("+2Defense Permanent")
                pc.delqf("kills")
                set_state(__COMPLETE__)
				                if pc.is_gm() then
                    pc.setqf("daily_quest", get_time() + 10)
                else
                    pc.setqf("daily_quest", get_time() + 24 * 60 * 60)
                end
                restart_quest()
            else
                clear_letter()
            end
        end
    end
    state __COMPLETE__ begin

    end
end

 

Some of the quests used in OLDSGODSMT2 

Edited by Lycawn
  • muscle 1
  • Love 1

spacer.png

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.