Jump to content

Source

Inactive Member
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Source

  1. 7 hours ago, Galet said:

    Hello,

    You can base yourself upon the device that detects metin stones, I forget the name in english, but the French name is "Compas du Metin" : http://wiki.metin2.fr/index.php/Compas_du_Metin

    You can see the number of use that remain on the item description, you can take this part and add it to a new item, like a box !

     

    Have a nice day :)

    http://wiki.metin2.co.uk/index.php/Compass_for_Metin_Stones
    Here's the English version

  2. 9 minutes ago, jkhan said:

    Thanks but this is not what I want.
    if duration is 0 means not to use item i want.

    Fixed it in my first post. This should work now :) 

    Or you can use this version, which is more simple: 

    quest biolog_reset_time begin
    	state start begin
    		when 20094.chat."Reset Time" begin
    		if pc.getqf("collect_timewait") > get_time() then
    			say_title("Reset Time")
    			say(" ")
    			say("Do you want to reset the time?")
    			say(" ")
    			local s = option("Yes","No")
    			if s == 1 and pc.count_item(70001) >= 1 then
      				pc.setqf("collect_timewait", 0)
      				pc.remove_item(70001, 1)
      				say_title("Reset Time")
      				say(" ")	
      				say("Okay, done!")
      				say(" ")
      				return
      			elseif s == 1 and pc.count_item(70001) < 1 then
      				say_title("Reset Time")
      				say(" ")
      				say("You don't have "..item_name(70001).." !")
      				say("Come back when you have it...")
      				say(" ")
      				return
      			else
      				say_title("Reset Time")
      				say(" ")
      				say("Okay! See you later...")
      				say(" ")
      				return
      			end -- if
      		else
      			say_title("Reset Time")
      			say(" ")
      			say("You don't need to reset the time...")
      			say("You can already deliver the next item!")
      			say(" ")
      			return
      		end -- if2
    
    		end -- when
    	end -- state
    end -- quest

     

  3. quest biolog_reset_time begin
    	state start begin
    		when 20094.chat."Reset Time" begin
    			say_title("Reset Time")
    			say(" ")
    			say("Do you want to reset the time?")
    			say(" ")
    			local s = option("Yes","No")
    			if s == 1 and pc.count_item(70001) >= 1 and pc.getqf("collect_timewait") > get_time() then
      				pc.setqf("collect_timewait", 0)
      				pc.remove_item(70001, 1)
      				say_title("Reset Time")
      				say(" ")	
      				say("Okay, done!")
      				say(" ")
      				return
      			elseif s == 1 and pc.count_item(70001) >= 1 and pc.getqf("collect_timewait") <= get_time() then
      				say_title("Reset Time")
      				say(" ")
      				say("You don't need to reset the time...")
      				say("You can already deliver the next item!")
      				say(" ")
      				return
      			elseif s == 1 and pc.count_item(70001) < 1  then
      				say_title("Reset Time")
      				say(" ")
      				say("You don't have "..item_name(70001).." !")
      				say("Come back when you have it...")
      				say(" ")
      				return
      			else
      				say_title("Reset Time")
      				say(" ")
      				say("Okay! See you later...")
      				say(" ")
      				return
      			end -- if
    		end -- when
    	end -- state
    end -- quest

     

  4. First delete flags and then give reward. Intented or unintented disconnection during the speech will bring many exploits. Do that anytime you want to give a reward. First, remove item then add item. First remove flag, then add item.

    • Metin2 Dev 1
×
×
  • 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.