Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

[Problem] Misje 90+

Rekomendowane odpowiedzi

Opublikowano

Witam,

Zacząłem tłumaczyć questy na poziom 90+.... Jakoś daje rade lecz mam małe problemy:

 

Quest: collect_quest_lv90

 

----------------------------------------------------
--COLLECT QUEST_lv90
--METIN2 Collecting Quest  
----------------------------------------------------
quest collect_quest_lv90  begin
state start begin
end
state run begin
	when login or levelup with pc.level >= 90  begin
		set_state(information)
	end	
end

state information begin
	when letter begin
		local v = find_npc_by_vnum(20084)
		if v != 0 then
			target.vid("__TARGET__", v, "Chaegirab")
		end
		send_letter("Chaegirab's favor")
	end

	when button or info begin
		say("")
		say("Uriel's apprentice Chaegirab")
		say("is looking for you again")
		say("Go and find out what is going on and provide help if it's needed.")
		say("")
	end

	when __TARGET__.target.click or
		20084.chat."Please listen" begin
		target.delete("__TARGET__")
		---                                                   l
		say("Chaegirab:")
		say("I really appreciate you for ")
		say("going through all the deadly quests")
		say("to do my favour")
		say("Because of the helps from heroes like you")
		say("I have almost finished my research")
		say("This would be my last favour ")
		say("for you")
		wait()
		say("Chaegirab")
		say("What I need is Hero's Mark!")
		say("Please let me finish ")
		say("my research of life")
		say("I am afraid that I can not take fake ones..")
		say("I need 50 of them for this research...")
		say("I will rewards you as much as I can")
		say("Please~!")
		say("")																																						  
		set_state(go_to_disciple)
		pc.setqf("duration",0)  -- Time limit
		pc.setqf("collect_count",0)--Items collected
		pc.setqf("drink_drug",0) --quest potion 1
	end
end

state go_to_disciple begin
	when letter begin
		send_letter("Chaegirab's Research")

	end
	when button or info begin
		say_title("Find out about the boss monster")
		---                                                   l
		say("")
		say("Uriel's apprentice Chaegirab is researching ")
	    say("about the boss monsters")
		say("Deliver 50 of Notice of Plague King ")
		say("which can obtained after killing the boss monsters. ")
		say("")
		say_item_vnum(30168) 
		say_reward("  Currently ".." "..pc.getqf("collect_count").." has collected")
		say("")
	end

	when 71035.use begin --Quest potion
		if get_time() < pc.getqf("duration") then
			say("Can not use it now")
			return
		end
		if pc.getqf("drink_drug")==1 then
			say("You already had one")
			return
		end
		if pc.count_item(30168)==0 then
			say("Chaegirab:")
			say("you can use the quest potion")
			say("after you collected the notice of plague king.")
			say("")
			return
		end

		item.remove()	
		pc.setqf("drink_drug",1)
	end

	when 691.kill or
		 792.kill or
		 791.kill or
		 1092.kill or
		 1093.kill or 
		 1304.kill or
		 2091.kill or
		 2191.kill or
		 2206.kill or
		 1901.kill  begin
		local s = number(1, 100)
		if s <= 30 and pc.count_item(30168)==0 then
			pc.give_item2(30168, 1)
			send_letter("You have obtained the notice of Plague King")		
		end	
	end


   	when 20084.chat."Did  you bring the Notice of Plague King? " with pc.count_item(30168) >0   begin
		if get_time() > pc.getqf("duration") then
			if  pc.count_item(30168) >0 then
			say("Chaegirab")
			---                                                   l
			say("Oh!! You have brought...")
			say("Let me take a look at this...")
			say("Please wait a moment...")
			say("")
			pc.remove_item(30168, 1)
			if  is_test_server()  then 
				pc.setqf("duration",get_time()+2) 
			else
				pc.setqf("duration",get_time()+60*60*22) -----------------------------------22hours
			end
			wait()

			local pass_percent
			if pc.getqf("drink_drug")==0 then
				pass_percent=60
			else		
				pass_percent=90
			end

			local s= number(1,100)
			if s<= pass_percent  then
			   if pc.getqf("collect_count")< 49 then     --less than 50 
					local index =pc.getqf("collect_count")+1 
					pc.setqf("collect_count",index) 
					say("Chaegirab:")
					say("OhOh~!! Excellent! You did a great job...")
					say("Now you need to bring".." "..50-pc.getqf("collect_count").. " more~!!")
					say("Thanks~!")
					say("")
					pc.setqf("drink_drug",0)	 --Potion reset

					return
				end
				say("Chaegirab:")
				say("You have collected all 50!!")
				say("Now I need the key item for this research")
				say("One Plague King Soul Stone.")
				say("Just One Plague King soul stone ~")
				say(" Plague King soul stone~~")
				say("")
				pc.setqf("collect_count",0)
				pc.setqf("drink_drug",0)	
				pc.setqf("duration",0) 
				set_state(key_item)
				return
			else								
			say("Chaegirab:")
			say("I am sorry but this is a fake one..")
			say("Please get me another one")
			say("")				   
			pc.setqf("drink_drug",0)	 --Potion reset
			return
			end
			else
				say("Chaegirab:")
				say(""..item_name(30168).."Please come when you find")
				return
			end
	  else
	  say("Chaegirab:")
	  say("I'm so sorry....")
	  say("I haven't analysed them you gave me ")
	  say("last time.....")
	  say("Hmm... so sorry....Can you bring it later?")
	  say("")
	  return
	end

end
end


state key_item begin
	when letter begin
		send_letter("Chaegirab's research")

		if pc.count_item(30227)>0 then	
			local v = find_npc_by_vnum(20084)
			if v != 0 then
				target.vid("__TARGET__", v, "Chaegirab")
			end
		end

	end
	when button or info begin
		if pc.count_item(30227) >0 then
			say_title("Obtained The plague king soul stone")
			say("")
			---                                                   l
			say("At last I have obtained The plague king soul stone")
			say("Let's bring this to Chaegirab")
			say("")
			return
		end

		say_title("I need The plague king soul stone ")
		say("")
		---                                                   l
		say("For the research of Chaegirab, Uriel's apprentice, ")
		say("I have delivered 50 notice of plague king")
		say("The last item I need is The plague king soul stone!")
		say_item_vnum(30227)----------The plague king soul stone
		say("This"..mob_name(1092)..","..mob_name(1093)..",")
		say(""..mob_name(1304)..","..mob_name(1901).."can get from")
		say("")
	end
	when 1092.kill or
		 1093.kill or 
		 1304.kill or
		 1901.kill  begin
		local s = number(1, 100)
		if s <= 30 and pc.count_item(30227)==0 then
			pc.give_item2(30227, 1)
			send_letter("You have obtained The plague king soul stone")		
		end	
	end




	when __TARGET__.target.click  or
		20084.chat."Brought The plague king soul stone" with pc.count_item(30227) > 0  begin
	    target.delete("__TARGET__")
		if pc.count_item(30227) > 0 then 
		say("Chaegirab")
		say("OHOHOH~!!! Great work..")
		say("Here I would like to increase your stats as a reward..")
		say("Here is the prescription to increase")
		say("your stats...")
		say("You bring this to Baek-go..")
		say("Then Have a good day~!")
		say("With your help, I can finally finish my research")
		say("Thank you")
		say("")
		pc.remove_item(30227,1)
		set_state(__reward)
		else
			say("Chaegirab")
			say(""..item_name(30227).."is not there!")
			say("")
			return
		end
	end

end

state __reward begin
	when letter begin
		send_letter("Chaegirab's reward")

		local v = find_npc_by_vnum(20018)
		if v != 0 then
			target.vid("__TARGET__", v, "Baek-go")
		end

	end
	when button or info begin
		say_title("Get Chaegirab's reward")
		---                                                   l
		say("For Chaegirab's research. I have delivered 50 Notice of plague king and")
		say("One plague king soul stone. As a reward for that,")
		say("Chaegirab gave me the prescription to")
		say("increase my stats")
		say("Go to Baek-go to show the prescription")
		say("")
	end

	when __TARGET__.target.click  or
		20018.chat."Take a look at this prescription"  begin
	    target.delete("__TARGET__")
		say("Baek-go:")
		say("Let me see..")
		say("Prescription from Chaegirab?")
		say("Hmm. Stronger against warriors 10%")
		say("Stronger against assassins 10%")
		say("Stronger against sura 10%")
		say("Stronger against mage 10%")
		say("that's it")
		say("Here you go~")
		say("")
		wait()
		say("Baek-go:")
		say("And~ the Blue Ebony Box for this time")
		say("Please open it.")
		say("")
		say_reward("As a reward for doing Chaegirab's favor")
		say_reward("Your attack against other characters increased 10%")
		say_reward("This is permanent effect")
		affect.add_collect_point(POINT_ATTBONUS_WARRIOR,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_ASSASSIN,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_SURA,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_SHAMAN,10,60*60*24*365*60) --60years
		pc.give_item2(50114)
		clear_letter()
		set_quest_state("collect_quest_lv92", "run")
		set_state(__complete)
	end

end


state __complete begin
end
end

 

 

Przetłumaczyłem jako tako....

 

----------------------------------------------------
--COLLECT QUEST_lv90
--METIN2 Collecting Quest  
----------------------------------------------------
quest collect_quest_lv90  begin
state start begin
end
state run begin
	when login or levelup with pc.level >= 90  begin
		set_state(information)
	end	
end

state information begin
	when letter begin
		local v = find_npc_by_vnum(20084)
		if v != 0 then
			target.vid("__TARGET__", v, "Chaegirab")
		end
		send_letter("Chaegirab's favor")
	end

	when button or info begin
		say("")
		say("Chaegirab uczen Uriela")
		say("szuka Cie ponownie")
		say("Idz i dowiedz sie co sie dzieje oraz w razie potrzeby zaoferuj mu swoja pomoc.")
		say("")
	end

	when __TARGET__.target.click or
		20084.chat."Prosze posluchac" begin
		target.delete("__TARGET__")
		---                                                   l
		say("Chaegirab:")
		say("Naprawde docieniam to ze ")
		say("wykonujesz te wszystkie misje")
		say("dla mnie")
		say("Dzieki bohaterowi takiemu jak Ty")
		say("prawie skonczylem swoje badania")
		say("To bedzie ostatnia rzecz, ")
		say("o ktora Cie poprosze")
		wait()
		say("Chaegirab")
		say("Czego potrzebuje? Abys dostarczyl mi Notatke Przywodcy;!")
		say("Prosze, pomoz mi dokonczyc ")
		say("badania mojego zycia!")
		say("Potrzebuje ich 50 do badan.")
		say("Moge przyjac tylko te prawdziwe...")
		say("Nagrodze Cie najlepiej jak tylko bede mogl")
		say("Prosze~!")
		say("")																																						  
		set_state(go_to_disciple)
		pc.setqf("duration",0)  -- Time limit
		pc.setqf("collect_count",0)--Items collected
		pc.setqf("drink_drug",0) --quest potion 1
	end
end

state go_to_disciple begin
	when letter begin
		send_letter("Chaegirab's Research")

	end
	when button or info begin
		say_title("Dowiedz sie wiecej o the boss monster")
		---                                                   l
		say("")
		say("Uriel, uczen Chaegirab prowadzi badania ")
	    say("na temat bossow")
		say("Dostarcz 50 Notatek przywodcy,")
		say("ktore mozesz otrzymac zabijajac bossy. ")
		say("")
		say_item_vnum(30168) 
		say_reward("  Do tej pory zebrales ".." Notatek przywodcy"..pc.getqf("collect_count").." ")
		say("")
	end

	when 71035.use begin --Quest potion
		if get_time() < pc.getqf("duration") then
			say("Nie mozna teraz tego uzyc")
			return
		end
		if pc.getqf("drink_drug")==1 then
			say("You already had one")
			return
		end
		if pc.count_item(30168)==0 then
			say("Chaegirab:")
			say("you can use the quest potion")
			say("after you collected the notice of plague king.")
			say("")
			return
		end

		item.remove()	
		pc.setqf("drink_drug",1)
	end

	when 691.kill or
		 792.kill or
		 791.kill or
		 1092.kill or
		 1093.kill or 
		 1304.kill or
		 2091.kill or
		 2191.kill or
		 2206.kill or
		 1901.kill  begin
		local s = number(1, 100)
		if s <= 30 and pc.count_item(30168)==0 then
			pc.give_item2(30168, 1)
			send_letter("You have obtained the notice of Plague King")		
		end	
	end


   	when 20084.chat."Przysniosles Notatke przywodcy? " with pc.count_item(30168) >0   begin
		if get_time() > pc.getqf("duration") then
			if  pc.count_item(30168) >0 then
			say("Chaegirab")
			---                                                   l
			say("Oh!! Przyniosles...")
			say("Pozwol mi sie jej przyjrzec...")
			say("Daj mi chwilke...")
			say("")
			pc.remove_item(30168, 1)
			if  is_test_server()  then 
				pc.setqf("duration",get_time()+2) 
			else
				pc.setqf("duration",get_time()+60*60*22) -----------------------------------22hours
			end
			wait()

			local pass_percent
			if pc.getqf("drink_drug")==0 then
				pass_percent=60
			else		
				pass_percent=90
			end

			local s= number(1,100)
			if s<= pass_percent  then
			   if pc.getqf("collect_count")< 49 then     --less than 50 
					local index =pc.getqf("collect_count")+1 
					pc.setqf("collect_count",index) 
					say("Chaegirab:")
					say("OhOh~!! Swietnie! Wykonales wspaniala robote...")
					say("Potrzebuje jeszcze ".." "..50-pc.getqf("collect_count").. " Notatek przywodcy!!")
					say("Dzieki~!")
					say("")
					pc.setqf("drink_drug",0)	 --Potion reset

					return
				end
				say("Chaegirab:")
				say("Zebrales juz wszystkie?!!")
				say("Teraz potrzebuje jeszcze jeden przedmiot. Jest on kluczowy do skonczenia badan")
				say("Kamien Liderow")
				say("Tylko jeden Kamien Liderow~")
				say("")
				pc.setqf("collect_count",0)
				pc.setqf("drink_drug",0)	
				pc.setqf("duration",0) 
				set_state(key_item)
				return
			else								
			say("Chaegirab:")
			say("Przykro mi ale ta Notatka jest falszywa..")
			say("Przynies mi inna")
			say("")				   
			pc.setqf("drink_drug",0)	 --Potion reset
			return
			end
			else
				say("Chaegirab:")
				say(""..item_name(30168).."Wroc, kiedy go znajdziesz")
				return
			end
	  else
	  say("Chaegirab:")
	  say("Tak mi przykro....")
	  say("Nie skonczylem jeszcze badac notatki, ")
	  say("ktora przyniosles mi wczesniej.....")
	  say("Hmm... przepraszam....Mozesz przyjsc pozniej?")
	  say("")
	  return
	end

end
end


state key_item begin
	when letter begin
		send_letter("Badania Chaegiraba")

		if pc.count_item(30227)>0 then	
			local v = find_npc_by_vnum(20084)
			if v != 0 then
				target.vid("__TARGET__", v, "Chaegirab")
			end
		end

	end
	when button or info begin
		if pc.count_item(30227) >0 then
			say_title("Znajdz Kamien Liderow")
			say("")
			---                                                   l
			say("W koncu udalo Ci sie zdobyc Kamien Liderow")
			say("Zanies go Chaegirabowi")
			say("")
			return
		end

		say_title("Kamien Liderow")
		say("")
		---                                                   l
		say("Do badan Chaegiraba, ucznia Uriela, ")
		say("Musialem dostarczyc 50 Notatek Przywodcy;")
		say("Ostatnim potrzebnym przedmiotem jest Kamien Liderow!")
		say_item_vnum(30227)----------Kamień Liderow
		say("Mozesz zdobyc go zabijajac: "..mob_name(1092)..","..mob_name(1093)..",")
		say(""..mob_name(1304)..","..mob_name(1901)..")
		say("")
	end
	when 1092.kill or
		 1093.kill or 
		 1304.kill or
		 1901.kill  begin
		local s = number(1, 100)
		if s <= 30 and pc.count_item(30227)==0 then
			pc.give_item2(30227, 1)
			send_letter("Znalazles Kamien Liderow")		
		end	
	end




	when __TARGET__.target.click  or
		20084.chat."Znalazlem Kamien Liderow" with pc.count_item(30227) > 0  begin
	    target.delete("__TARGET__")
		if pc.count_item(30227) > 0 then 
		say("Chaegirab")
		say("OHOHOH~!!! Swietna robota..")
		say("W nagrode chcialbym zwiekszyc Twoje statystyki..")
		say("To jest recepta na zwiekszenie")
		say("Twoich statystyk...")
		say("Zanies ja do Baek-go..")
		say("Dzieki Twojej pomocy wreszcie moge skonczyc badania")
		say("Dziekuje Ci!")
		say("")
		pc.remove_item(30227,1)
		set_state(__reward)
		else
			say("Chaegirab")
			say(""..item_name(30227).."is not there!")
			say("")
			return
		end
	end

end

state __reward begin
	when letter begin
		send_letter("Chaegirab's reward")

		local v = find_npc_by_vnum(20018)
		if v != 0 then
			target.vid("__TARGET__", v, "Baek-go")
		end

	end
	when button or info begin		
	when __TARGET__.target.click  or
		20018.chat."Take a look at this prescription"  begin
	    target.delete("__TARGET__")
		say("Baek-go:")
		say("Niech zobacze..")
		say("Recepta od Chaegirab?")
		say("Hmm. Silniejszy przeciwko wojownika +10%")
		say("Sijniejszy przeciwko ninja +10%")
		say("Silniejszy przeciwko sura +10%")
		say("Silniejszy przeciwko szamana +10%")
		say("To jest to")
		say("Prosze bardzo~")
		say("")
		wait()
		say("Baek-go:")
		say("Dostaniesz rowniez Niebieska Ebonitowa Szkatulke")
		say("Otworz ja.")
		say("")
		say_reward("W nagrode za pomoc dla Chaegiraba")
		say_reward("twoja sila ataku na innych graczy wzrosla o 10%.")
		say_reward("Jest to trwaly efekt")
		affect.add_collect_point(POINT_ATTBONUS_WARRIOR,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_ASSASSIN,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_SURA,10,60*60*24*365*60) --60years	
		affect.add_collect_point(POINT_ATTBONUS_SHAMAN,10,60*60*24*365*60) --60years
		pc.give_item2(50114)
		clear_letter()
		set_quest_state("collect_quest_lv92", "run")
		set_state(__complete)
	end

end


state __complete begin
end
end

 

 

Mógł by ktoś to sprawdzić i ewentualnie poprawić?

Albo jeżeli ktoś posiada przetłumaczone questy:

collect_quest_lv90

collect_quest_lv92

collect_quest_lv94

collect_quest_lv96

spakować je i mi podesłać? Z góry dziękuje.

Kocham mpcforum.pl!!!

18706.png

Opublikowano

Twoje:

say(""..item_name(30227).."is not there!")

 

Ja dałbym:

say("Requested Item:")
say_item_vnum(30227)
say("")
say_reward("Is not in Your pocket!")

 

 

a pozostałe misje... Hmm, powiedz mi na czym te misje polegaja, co i ile trzeba zdobyć oraz jakie nagrody, to Ci je napisze.

59649524317135950350.png

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.