Skocz do zawartoś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

Pisanie / Poprawa Questów !


PoczatKujacy

Rekomendowane odpowiedzi

  • Odpowiedzi 8,7 tys.
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Szukam Questa :

 

Misja u Seon-pyong na

 

94lv i 96lv

 

Wszystko takie jak na PL

CLICK


34509146887638541386.png

Opublikowano

Witam.Mam problem.Mam pliki by takiniesmialy.Chcialem sobie zeedytowac quest startowy,gdyz nowa postac przenosi na mape handlowa a ja tego nie chce.Chce zeby grac rozpoczynal swa przygode w tym samym miejscu na plu.

 

wpisalem /etc/rc.d/netif restart weszlem w quest give_basic_weapon.quest skasowalem z jego linijke warp cos tam cos tam zapisalem,wylaczylem maszyne wpisalem znow /etc/rc.d/netif restart wlaczylem maszyne i znow pisalem /etc/rc.d/netif restart weszlem do gry i wpisalem /reload q zrobilem nowa postac lecz ją tez przenioslo na mape handlowa.

 

Prosze o pomoc

 

Oto quest

 

http://wklej.to/RObaN

ie068n.jpg
Opublikowano

Szukam Questa :

 

Misja u Seon-pyong na

 

94lv i 96lv

 

Wszystko takie jak na PL

CLICK


34509146887638541386.png

Opublikowano

Czy moze ktos. poprawic questa, aby bylo mozna wejsc do "Mapa Wierzchowcow: od 100lvl ?

 

 

-----------------

-----BY WuWu-----

-----------------

quest move_ring begin

state start begin

when 80009.use begin

say_title ( "Pierscien Teleportacji:" )

say (pc.get_name().. " Moge cie przeniesc do :" )

say ( "" )

local s = select ( "Główne Miasta" , "Miasteczka (M2)" , "Inne" , "Expowiska" , "Expowiska cz.2" , "Wyjdz" )

if s == 1 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasta chcesz sie wybrac??" )

local s = select ( "Shinsoo" , "Chujno" , "Jinno" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Shinsso")

wait ()

pc.warp ( 474300 , 954800 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Chunjo")

wait ()

pc.warp ( 63800 , 166400 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Jinno")

wait ()

pc.warp ( 959900 , 269200 )

 

elseif 4 == s then

 

else

return

end

elseif s == 2 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasteczka chcesz sie wybrac?" )

local s = select ( "Shinsoo M2" , "Chujno M2" , "Jinno M2" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Shinsso")

wait ()

pc.warp ( 353100 , 882900 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Chujno")

wait ()

pc.warp ( 145500 , 240000 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Jinno")

wait ()

pc.warp ( 863900 , 246000 )

 

elseif 4 == s then

return

end

elseif s == 3 then

say_title ( pc.get_name().."!")

say ( "Zwiedz tez inne miejsca :")

local s = select ( "DT" , "Mapa Wierzchowcow" , "Mapa Eventowa" , "Oj Nieee!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz Na DT :DD ??")

wait ()

pc.warp ( 590500 , 110500 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Chcesz zdobyć wierzchowca ? Dobrze trafiles ! :D")

wait ()

pc.warp ( 28129200 , 28129200 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Mapa Eventowa - Tu odbywaja sie wszystkie eventy zuo ! Z odrobina szczescia mozesz spotkac zlote zaby :)")

wait ()

pc.warp ( 991500 ,111900 )

 

elseif 4 == s then

 

else

return

end

elseif s == 4 then

say_title ( pc.get_name().."!")

say ( "Idz poexpic xD" )

local s = select ( "Dolina Seungryong" , "Pustynia Yongbi" , "Góra Sohan" , "Loch Pająków v1" , "Ognista Ziema" , "Wyjdz" )

if s == 1 then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 402100 , 673900 )

elseif empire == 2 then

pc.warp ( 270400 , 739900 )

elseif empire == 3 then

pc.warp ( 321300 , 808000 )

end

 

 

 

 

elseif 2 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 217800 , 627200 )

elseif empire == 2 then

pc.warp ( 221900 , 502700 )

elseif empire == 3 then

pc.warp ( 344000 , 502500 )

end

 

 

elseif 3 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 434200 , 290600 )

elseif empire == 2 then

pc.warp ( 375200 , 174900 )

elseif empire == 3 then

pc.warp ( 491800 , 173600 )

end

 

elseif 4 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 60000 , 496000 )

elseif empire == 2 then

pc.warp ( 60000 , 496000 )

elseif empire == 3 then

pc.warp ( 60000 , 496000 )

end

 

elseif 5 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 599400 , 756300 )

elseif empire == 2 then

pc.warp ( 597800 , 622200 )

elseif empire == 3 then

pc.warp ( 730700 , 689800 )

end

else

return

end

elseif s == 5 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego mistasta chcesz sie wybrac" )

local s = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Anuluj" )

if s == 1 then

say_title ("Zostaniesz Przeniesiony do Lochy Pajaków V2")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 704100 , 464100 )

 

elseif 2 == s then

say_title ("Zostaniesz Przeniesiony do Czerwonego Lasu")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 1119900 , 70800 )

 

elseif 3 == s then

say_title ("Zostaniesz Przeniesiony do Atlantydy V1")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 9800 , 1215100 )

 

elseif 4 == s then

say_title ("Zostaniesz Przeniesiony do Atlantydy V2")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 135200 , 1215100 )

 

elseif 5 == s then

return

end

end

 

end

end

end

 

 

92988603358099665275.png
Opublikowano

quest move_ring begin

state start begin

when 80009.use begin

say_title ( "Pierscien Teleportacji:" )

say (pc.get_name().. " Moge cie przeniesc do :" )

say ( "" )

local s = select ( "Główne Miasta" , "Miasteczka (M2)" , "Inne" , "Expowiska" , "Expowiska cz.2" , "Wyjdz" )

if s == 1 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasta chcesz sie wybrac??" )

local s = select ( "Shinsoo" , "Chujno" , "Jinno" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Shinsso")

wait ()

pc.warp ( 474300 , 954800 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Chunjo")

wait ()

pc.warp ( 63800 , 166400 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Jinno")

wait ()

pc.warp ( 959900 , 269200 )

 

elseif 4 == s then

 

else

return

end

elseif s == 2 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasteczka chcesz sie wybrac?" )

local s = select ( "Shinsoo M2" , "Chujno M2" , "Jinno M2" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Shinsso")

wait ()

pc.warp ( 353100 , 882900 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Chujno")

wait ()

pc.warp ( 145500 , 240000 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Jinno")

wait ()

pc.warp ( 863900 , 246000 )

 

elseif 4 == s then

return

end

elseif s == 3 then

say_title ( pc.get_name().."!")

say ( "Zwiedz tez inne miejsca :")

local s = select ( "DT" , "Mapa Wierzchowcow" , "Mapa Eventowa" , "Oj Nieee!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz Na DT :DD ??")

wait ()

pc.warp ( 590500 , 110500 )

 

if pc . get_level () >= 100 then

say_title ( pc.get_name().."!")

say ("Chcesz zdobyć wierzchowca ? Dobrze trafiles !

:D")wait ()pc.warp ( 28129200 , 28129200 )

elseif 3 == s thensay_title ( pc.get_name().."!")say ("Mapa Eventowa - Tu odbywaja sie wszystkie eventy zuo ! Z odrobina szczescia mozesz spotkac zlote zaby :)")wait ()pc.warp ( 991500 ,111900 )elseif 4 == s thenelsereturnendelseif s == 4 thensay_title ( pc.get_name().."!")say ( "Idz poexpic xD" )local s = select ( "Dolina Seungryong" , "Pustynia Yongbi" , "Góra Sohan" , "Loch Pająków v1" , "Ognista Ziema" , "Wyjdz" )if s == 1 thensay_title ("Zostaniesz Przeniesiony")say ("Trzymaj się Mocno")wait ()local empire = pc . get_empire ( )if empire == 1 thenpc.warp ( 402100 , 673900 )elseif empire == 2 thenpc.warp ( 270400 , 739900 )elseif empire == 3 thenpc.warp ( 321300 , 808000 )endelseif 2 == s thensay_title ("Zostaniesz Przeniesiony")say ("Trzymaj się Mocno")wait ()local empire = pc . get_empire ( )if empire == 1 thenpc.warp ( 217800 , 627200 )elseif empire == 2 thenpc.warp ( 221900 , 502700 )elseif empire == 3 thenpc.warp ( 344000 , 502500 )endelseif 3 == s thensay_title ("Zostaniesz Przeniesiony")say ("Trzymaj się Mocno")wait ()local empire = pc . get_empire ( )if empire == 1 thenpc.warp ( 434200 , 290600 )elseif empire == 2 thenpc.warp ( 375200 , 174900 )elseif empire == 3 thenpc.warp ( 491800 , 173600 )endelseif 4 == s thensay_title ("Zostaniesz Przeniesiony")say ("Trzymaj się Mocno")wait ()local empire = pc . get_empire ( )if empire == 1 thenpc.warp ( 60000 , 496000 )elseif empire == 2 thenpc.warp ( 60000 , 496000 )elseif empire == 3 thenpc.warp ( 60000 , 496000 )endelseif 5 == s thensay_title ("Zostaniesz Przeniesiony")say ("Trzymaj się Mocno")wait ()local empire = pc . get_empire ( )if empire == 1 thenpc.warp ( 599400 , 756300 )elseif empire == 2 thenpc.warp ( 597800 , 622200 )elseif empire == 3 thenpc.warp ( 730700 , 689800 )endelsereturnendelseif s == 5 thensay_reward ( "hmm..." )say ( pc.get_name().." Do którego mistasta chcesz sie wybrac" )local s = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Anuluj" )if s == 1 thensay_title ("Zostaniesz Przeniesiony do Lochy Pajaków V2")say ("Trzymaj się Mocno")wait ()pc.warp ( 704100 , 464100 )elseif 2 == s thensay_title ("Zostaniesz Przeniesiony do Czerwonego Lasu")say ("Trzymaj się Mocno")wait ()pc.warp ( 1119900 , 70800 )elseif 3 == s thensay_title ("Zostaniesz Przeniesiony do Atlantydy V1")say ("Trzymaj się Mocno")wait ()pc.warp ( 9800 , 1215100 )elseif 4 == s thensay_title ("Zostaniesz Przeniesiony do Atlantydy V2")say ("Trzymaj się Mocno")wait ()pc.warp ( 135200 , 1215100 )elseif 5 == s thenreturnendendendendend

CLICK


34509146887638541386.png

Opublikowano

Nie dziala.... popraw i wrzuc jeszcze raz... ;/

Przy wgrywaniu w BSD wyskakuje blad jakis tam... Nwm nie znam sie na questach, ale cos zle zrobiles. Bardzo prosze o jak najszybsze uzupelnienie mi tego. Bardzo to potrzebuje jak najszybciej ;/ Dam max lik'ow

92988603358099665275.png
Opublikowano

wiem ze jest zle bo robilem to myszka laptopowa :D i wszystko jest pomieszane zaraz ci to zrobie

 

 

 

 

 

quest move_ring begin

state start begin

when 80009.use begin

say_title ( "Pierscien Teleportacji:" )

say (pc.get_name().. " Moge cie przeniesc do :" )

say ( "" )

local s = select ( "Główne Miasta" , "Miasteczka (M2)" , "Inne" , "Expowiska" , "Expowiska cz.2" , "Wyjdz" )

if s == 1 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasta chcesz sie wybrac??" )

local s = select ( "Shinsoo" , "Chujno" , "Jinno" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Shinsso")

wait ()

pc.warp ( 474300 , 954800 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Chunjo")

wait ()

pc.warp ( 63800 , 166400 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do wioski Jinno")

wait ()

pc.warp ( 959900 , 269200 )

 

elseif 4 == s then

 

else

return

end

elseif s == 2 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego miasteczka chcesz sie wybrac?" )

local s = select ( "Shinsoo M2" , "Chujno M2" , "Jinno M2" , "Nigdzie!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Shinsso")

wait ()

pc.warp ( 353100 , 882900 )

 

elseif 2 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Chujno")

wait ()

pc.warp ( 145500 , 240000 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Lecisz do drugiej wioski Jinno")

wait ()

pc.warp ( 863900 , 246000 )

 

elseif 4 == s then

return

end

elseif s == 3 then

say_title ( pc.get_name().."!")

say ( "Zwiedz tez inne miejsca :")

local s = select ( "DT" , "Mapa Wierzchowcow" , "Mapa Eventowa" , "Oj Nieee!" )

if s == 1 then

say_title ( pc.get_name().."!")

say ("Lecisz Na DT :DD ??")

wait ()

pc.warp ( 590500 , 110500 )

 

elseif 2 == s then

pc . get_level () >= 100 then

say_title ( pc.get_name().."!")

say ("Chcesz zdobyć wierzchowca ? Dobrze trafiles ! :D")

wait ()

pc.warp ( 28129200 , 28129200 )

 

elseif 3 == s then

say_title ( pc.get_name().."!")

say ("Mapa Eventowa - Tu odbywaja sie wszystkie eventy zuo ! Z odrobina szczescia mozesz spotkac zlote zaby :)")

wait ()

pc.warp ( 991500 ,111900 )

 

elseif 4 == s then

 

else

return

end

elseif s == 4 then

say_title ( pc.get_name().."!")

say ( "Idz poexpic xD" )

local s = select ( "Dolina Seungryong" , "Pustynia Yongbi" , "Góra Sohan" , "Loch Pająków v1" , "Ognista Ziema" , "Wyjdz" )

if s == 1 then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 402100 , 673900 )

elseif empire == 2 then

pc.warp ( 270400 , 739900 )

elseif empire == 3 then

pc.warp ( 321300 , 808000 )

end

 

 

 

 

elseif 2 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 217800 , 627200 )

elseif empire == 2 then

pc.warp ( 221900 , 502700 )

elseif empire == 3 then

pc.warp ( 344000 , 502500 )

end

 

 

elseif 3 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 434200 , 290600 )

elseif empire == 2 then

pc.warp ( 375200 , 174900 )

elseif empire == 3 then

pc.warp ( 491800 , 173600 )

end

 

elseif 4 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 60000 , 496000 )

elseif empire == 2 then

pc.warp ( 60000 , 496000 )

elseif empire == 3 then

pc.warp ( 60000 , 496000 )

end

 

elseif 5 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 599400 , 756300 )

elseif empire == 2 then

pc.warp ( 597800 , 622200 )

elseif empire == 3 then

pc.warp ( 730700 , 689800 )

end

else

return

end

elseif s == 5 then

say_reward ( "hmm..." )

say ( pc.get_name().." Do którego mistasta chcesz sie wybrac" )

local s = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Anuluj" )

if s == 1 then

say_title ("Zostaniesz Przeniesiony do Lochy Pajaków V2")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 704100 , 464100 )

 

elseif 2 == s then

say_title ("Zostaniesz Przeniesiony do Czerwonego Lasu")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 1119900 , 70800 )

 

elseif 3 == s then

say_title ("Zostaniesz Przeniesiony do Atlantydy V1")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 9800 , 1215100 )

 

elseif 4 == s then

say_title ("Zostaniesz Przeniesiony do Atlantydy V2")

say ("Trzymaj się Mocno")

wait ()

pc.warp ( 135200 , 1215100 )

 

elseif 5 == s then

return

end

end

 

end

end

end

CLICK


34509146887638541386.png

Opublikowano

Napisze ktoś questa że można wystawiać tobołek tylko na jednej mapie (sam dodam jej index) a na innych jak próbuje wyskakuje napis " Handlować możesz tylko na mapie handlowej. Czy chcesz zostać tam przeniesiony? " i tu wybór tak lub nie jak damy tak to nas przenosi.

 

 

Oraz Co zmienić w tym queście na pety aby przywołać peta o innym id żeby wiecie klikam item i nie przywołał mi się np feniks tylko dajmy na to ten prosiaczek taki ?

 

 

 

quest official_pets begin
 state start begin
		 when 53001.use with pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				 if pc.getqf("firephoenix_use") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy!")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("firephoenix_use", 1)
						 pc.setqf("firephoenix", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.ATT_MAX_HP, 100, 60*60*8)
						 horse.set_level("22")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.remove_collect(apply.ATT_MAX_HP, 100, 60*60*8)						
						 horse.unsummon()
						 pc.setqf("firephoenix_use", 0)
						 pc.setqf("firephoenix", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("firephoenix_use") == 1 begin

				 pc.setqf("firephoenix_use", 0)
				 pc.setqf("firephoenix", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier ging alleine fort!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
		 when 53003.use with pc.getqf("firephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				 if pc.getqf("icephoenix_use") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("icephoenix_use", 1)
						 pc.setqf("icephoenix", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("23")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("icephoenix_use", 0)
						 pc.setqf("icephoenix", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("icephoenix_use") == 1 begin

				 pc.setqf("icephoenix_use", 0)
				 pc.setqf("icephoenix", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Twój pet chce cię zostawić teraz!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
when 53002.use with pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				 if pc.getqf("reindeer") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("reindeer_use", 1)
 pc.setqf("reindeer", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("24")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("reindeer_use", 0)
 pc.setqf("reindeer", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("reindeer_use") == 1 begin

				 pc.setqf("reindeer_use", 0)
pc.setqf("reindeer", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
when 53005.use with pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				 if pc.getqf("pwahuang") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("pwahuang_use", 1)
 pc.setqf("pwahuang", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("25")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("pwahuang_use", 0)
 pc.setqf("pwahuang", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("pwahuang_use") == 1 begin

				 pc.setqf("pwahuang_use", 0)
pc.setqf("pwahuang", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
when 53006.use with pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				 if pc.getqf("dog_use") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("dog_use", 1)
						 pc.setqf("dog", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("26")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)							
						 horse.unsummon()
						 pc.setqf("dog_use", 0)
						 pc.setqf("dog", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("dog_use") == 1 begin

				 pc.setqf("dog_use", 0)
				 pc.setqf("dog", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
		 when 53007.use with pc.getqf("dog") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				 if pc.getqf("lion_use") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("lion_use", 1)
						 pc.setqf("lion", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("27")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("lion_use", 0)
						 pc.setqf("lion", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("lion_use") == 1 begin

				 pc.setqf("lion_use", 0)
				 pc.setqf("lion", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
when 53008.use with pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				 if pc.getqf("pig") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("pig_use", 1)
 pc.setqf("pig", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("28")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("pig_use", 0)
 pc.setqf("pig", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("pig_use") == 1 begin

				 pc.setqf("pig_use", 0)
pc.setqf("pig", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
when 53009.use with pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				 if pc.getqf("tiger") == 0 then
						 local old_horse_name = horse.get_name() ;
								 if string.len(old_horse_name) == 0 then
										 chat("Twój pet nie ma jeszcze nazwy")
								 end
						 chat("Dein Haustier wurde gerufen!")
						 local your_horse_level = horse.get_level()
						 pc.setqf("horse_level_save", your_horse_level)
						 pc.setqf("tiger_use", 1)
 pc.setqf("tiger", 1)
						 affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						 affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						 horse.set_level("29")
						 horse.unsummon() horse.summon()

 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)
				 else
						 chat("Twój pet przyjął od ciebie!")
						 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	
						 horse.unsummon()
						 pc.setqf("tiger_use", 0)
 pc.setqf("tiger", 0)

						 local horse_settings = pc.getqf("horse_level_save")
						 horse.set_level(horse_settings)

				 end
		 end
		 when logout or login with pc.getqf("tiger_use") == 1 begin

				 pc.setqf("tiger_use", 0)
pc.setqf("tiger", 0)

				 local horse_settings = pc.getqf("horse_level_save")
				 horse.set_level(horse_settings)

				 chat("Dein Haustier verlässt dich nun!")
				 affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
				 affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)
		 end
 end
end

 

 

klklgv.jpg
Opublikowano

Nadal zle... Przy wgrywaniu w BSD wyskakuje blad:

 

syntax error : [string "start"]:60: unexpected symbol near '>='

move_ring.quest:196:Abort (core dumped)

 

Wiec cos zoribles zle.... Bo jak mam czysty swoj to all dziala ladnie itp. ;/ Nadal prosze kogos o prawidlowe zmienienie questa :> Daje max liko'w za dzialajace :>

92988603358099665275.png
Opublikowano

Witam przerobi mi ktoś questa że jak przywołamy peta to on po 30 min znika i bony po nim oraz pieczęć , nawet jeśli go odwołamy np po 5 min to żeby po 30min to znikło.

 

 

quest official_pets begin
    state start begin
		    when 53001.use with pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				    if pc.getqf("firephoenix_use") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy!")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("firephoenix_use", 1)
						    pc.setqf("firephoenix", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.ATT_MAX_HP, 500, 60*60*8)
						    horse.set_level("22")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.remove_collect(apply.ATT_MAX_HP, 1000, 60*60*8)						  
						    horse.unsummon()
						    pc.setqf("firephoenix_use", 0)
						    pc.setqf("firephoenix", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("firephoenix_use") == 1 begin

				    pc.setqf("firephoenix_use", 0)
				    pc.setqf("firephoenix", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier ging alleine fort!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
		    when 53003.use with pc.getqf("firephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				    if pc.getqf("icephoenix_use") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("icephoenix_use", 1)
						    pc.setqf("icephoenix", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("23")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("icephoenix_use", 0)
						    pc.setqf("icephoenix", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("icephoenix_use") == 1 begin

				    pc.setqf("icephoenix_use", 0)
				    pc.setqf("icephoenix", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Twój pet chce cię zostawić teraz!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
 when 53002.use with pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("pwahuang") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				    if pc.getqf("reindeer") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("reindeer_use", 1)
    pc.setqf("reindeer", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("24")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("reindeer_use", 0)
    pc.setqf("reindeer", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("reindeer_use") == 1 begin

				    pc.setqf("reindeer_use", 0)
  pc.setqf("reindeer", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
 when 53005.use with pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 begin
				    if pc.getqf("pwahuang") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("pwahuang_use", 1)
    pc.setqf("pwahuang", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 1000, 60*60*8)
						    horse.set_level("25")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 1000, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("pwahuang_use", 0)
    pc.setqf("pwahuang", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("pwahuang_use") == 1 begin

				    pc.setqf("pwahuang_use", 0)
  pc.setqf("pwahuang", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
 when 53006.use with pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				    if pc.getqf("dog_use") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("dog_use", 1)
						    pc.setqf("dog", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("26")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
						    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)							   
						    horse.unsummon()
						    pc.setqf("dog_use", 0)
						    pc.setqf("dog", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("dog_use") == 1 begin

				    pc.setqf("dog_use", 0)
				    pc.setqf("dog", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
		    when 53007.use with pc.getqf("dog") == 0 and pc.getqf("pig") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				    if pc.getqf("lion_use") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("lion_use", 1)
						    pc.setqf("lion", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("27")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("lion_use", 0)
						    pc.setqf("lion", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("lion_use") == 1 begin

				    pc.setqf("lion_use", 0)
				    pc.setqf("lion", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
 when 53008.use with pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("tiger") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				    if pc.getqf("pig") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("pig_use", 1)
    pc.setqf("pig", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("28")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 500, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("pig_use", 0)
    pc.setqf("pig", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("pig_use") == 1 begin

				    pc.setqf("pig_use", 0)
  pc.setqf("pig", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
 when 53009.use with pc.getqf("dog") == 0 and pc.getqf("lion") == 0 and pc.getqf("pig") == 0 and pc.getqf("firephoenix") == 0 and pc.getqf("icephoenix") == 0 and pc.getqf("reindeer") == 0 and pc.getqf("pwahuang") == 0 begin
				    if pc.getqf("tiger") == 0 then
						    local old_horse_name = horse.get_name() ;
								    if string.len(old_horse_name) == 0 then
										    chat("Twój pet nie ma jeszcze nazwy")
								    end
						    chat("Pet przywołany!")
						    local your_horse_level = horse.get_level()
						    pc.setqf("horse_level_save", your_horse_level)
						    pc.setqf("tiger_use", 1)
    pc.setqf("tiger", 1)
						    affect.add_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8)
						    affect.add_collect(apply.MAX_HP, 3000, 60*60*8)
						    horse.set_level("29")
						    horse.unsummon() horse.summon()

    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)
				    else
						    chat("Odwołałeś peta!")
						    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)	   
						    horse.unsummon()
						    pc.setqf("tiger_use", 0)
    pc.setqf("tiger", 0)

						    local horse_settings = pc.getqf("horse_level_save")
						    horse.set_level(horse_settings)

				    end
		    end
		    when logout or login with pc.getqf("tiger_use") == 1 begin

				    pc.setqf("tiger_use", 0)
 pc.setqf("tiger", 0)

				    local horse_settings = pc.getqf("horse_level_save")
				    horse.set_level(horse_settings)

				    chat("Dein Haustier verlässt dich nun!")
				    affect.remove_collect(apply.ATT_GRADE_BONUS, 500, 60*60*8)
				    affect.remove_collect(apply.DEF_GRADE_BONUS, 500, 60*60*8) 
				    affect.remove_collect(apply.MAX_HP, 3000, 60*60*8)
		    end
    end
end

 

klklgv.jpg
Opublikowano

Napisze ktoś questa - zmiana postaci np. z sury na woja w itemku ?

Takie coś raczej nie istnieję a napewno ja o takim czymś nie wiem.Zmiana Subtype lub coś w tym stylu.

Btw.Poprawi mi ktoś ten quest bo wszystko się ładnie wgrywa, ale jak wcisne na mpc to nic się nie pojawia.

WYJASNIONE

Opublikowano

@CastroTM,

popraw:

say("Każdy przedmiot kosztuje jest w innej cenie."

na:

say("Każdy przedmiot kosztuje jest w innej cenie.")

KONIEC


-----------------------------------------


2013-08-15

Opublikowano

Dzięki,sprawdze.

 

tak btw.Mógłby ktoś napisać questa. Woła kowal i chce abyśmy przyniesli mu cos.Udamy sie po do Uriela i on wysle nas na zabicie 200 drzewców.Dostaniemy coś i będziemy musieli zanieść to dla Yonaha .Od Yonaha dostaniemy przedmiot który chcieliśmy i zaniesiemy go kowalowi . :D

Opublikowano

 

say ( "Witaj" )

say ( "Masz Do wyboru Opcje Wybierz Jaka Ci sie Podoba !" )

say ( "" )

wait ( )

local s = select ( "Wróć_Do_Miasta" ,"Idź _Do_Atlantydy" , "Idź _do_Czer. Las" , "Idź _Do_V2" , "Bossy" , "Koń I Ranga" , "Skile" , "Poli_Moby" , "Anuluj" )

if 1 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc . warp ( 474300 , 954800 )

elseif empire == 2 then

pc . warp ( 63800 , 166400 )

elseif empire == 3 then

pc . warp ( 959900 , 269200 )

end

 

 

elseif 2 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 9800 , 1215100 )

elseif empire == 2 then

pc.warp ( 9800 , 1215100 )

elseif empire == 3 then

pc.warp ( 9800 , 1215100 )

end

 

 

 

 

elseif 3 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 1119900 , 70800 )

elseif empire == 2 then

pc.warp ( 1119900 , 70800 )

elseif empire == 3 then

pc.warp ( 1119900 , 70800 )

end

 

 

elseif 4 == s then

say_title ("Zostaniesz Przeniesiony")

say ("Trzymaj się Mocno")

wait ()

local empire = pc . get_empire ( )

if empire == 1 then

pc.warp ( 704100 , 464100 )

elseif empire == 2 then

pc.warp ( 704100 , 464100 )

elseif empire == 3 then

pc.warp ( 704100 , 464100 )

end

 

elseif 5 == s then

say ( "Cześć" )

say ( "Wybierz Jednego Z tych Bossów" )

say ("Lub Wybierz Opcje Powrotu Do Noralnej Postaci :D")

local s = select ( "Reaper" ,"Ogni.Krol" , "Eli.Krol.Demo." , "Tysięczny Woj" , "Wroc_Do_Normalnej_Postaci." )

say ("Czy Napewno Chcesz Kontynuowac?")

local scelta = select ( "Tak","Nie" )

if scelta==1 then

pc.polymorph ( 1093, 80 )

elseif scelta==2 then

say ( "Nie To Nie Łaski Bez" )

return

end

 

quest expik begin

state start begin

when login or enter with not npc.is_pc() and pc.level == 1 begin

for i = 1, 250 do

pc.give_exp2(pc.get_next_exp())

set_state(__complete__)

end

end

end

state __complete__ begin

end

end

 

if 2 == s then

pc.polymorph ( 2206, 90 )

end

 

 

if 3 == s then

pc.polymorph ( 1092, 80 )

end

 

 

if 4 == s then

pc.polymorph ( 1403, 80 )

end

 

if 5 == s then

pc.polymorph ( 1, 1 )

end

 

 

 

elseif 6 == s then

say ( "Cześć" )

say ( "Czy Chcesz Dostać Konia lvl 21 I Range Rycerski l LVL l Kase?" )

local scelta = select ( "Tak","Nie" )

if scelta==1 then

pc . give_exp2 ( 9999999999 )

pc . change_money ( 1000000000 )

pc . set_skill_level ( 131 , 10 )

horse.set_level ( 21 )

pc.change_alignment ( 200000 )

elseif scelta==2 then

say ("Nie to Nie laski Bez ;)")

return

end

 

elseif 7 == s then

say_title ( "Cześć" )

say ( "Czy chcesz wbić wszystkie skille na P??" )

local s = select ( "Tak" , "Nie" )

if 2 == s then

say ("Nie To Nie Łaski Bez :P")

return

end

say ( "Otrzymałeś Wszystkie Skille P" )

if pc . get_job() == 0 and pc . get_skill_group()==1 then

pc . set_skill_level (1, 59)

pc . set_skill_level (2, 59)

pc . set_skill_level (3, 59)

pc . set_skill_level (4, 59)

pc . set_skill_level (5, 59)

elseif pc . get_job()==0 and pc . get_skill_group()==2 then

pc . set_skill_level (16, 59)

pc . set_skill_level (17, 59)

pc . set_skill_level (18, 59)

pc . set_skill_level (19, 59)

pc . set_skill_level (20, 59)

elseif pc . get_job()==1 and pc . get_skill_group()==1 then

pc.set_skill_level(31, 59)

pc.set_skill_level(32, 59)

pc.set_skill_level(33, 59)

pc.set_skill_level(34, 59)

pc.set_skill_level(35, 59)

elseif pc . get_job()==1 and pc . get_skill_group()==2 then

pc.set_skill_level(46, 59)

pc.set_skill_level(47, 59)

pc.set_skill_level(48, 59)

pc.set_skill_level(49, 59)

pc.set_skill_level(50, 59)

elseif pc . get_job()==2 and pc . get_skill_group()==1 then

pc.set_skill_level(61, 59)

pc.set_skill_level(62, 59)

pc.set_skill_level(63, 59)

pc.set_skill_level(64, 59)

pc.set_skill_level(65, 59)

pc.set_skill_level(66, 59)

elseif pc . get_job()==2 and pc . get_skill_group()==2 then

pc.set_skill_level(76, 59)

pc.set_skill_level(77, 59)

pc.set_skill_level(78, 59)

pc.set_skill_level(79, 59)

pc.set_skill_level(80, 59)

pc.set_skill_level(81, 59)

elseif pc . get_job()==3 and pc . get_skill_group()==1 then

pc.set_skill_level(91, 59)

pc.set_skill_level(92, 59)

pc.set_skill_level(93, 59)

pc.set_skill_level(94, 59)

pc.set_skill_level(95, 59)

pc.set_skill_level(96, 59)

elseif pc . get_job()==3 and pc . get_skill_group()==2 then

pc.set_skill_level(106, 59)

pc.set_skill_level(107, 59)

pc.set_skill_level(108, 59)

pc.set_skill_level(109, 59)

pc.set_skill_level(110, 59)

pc.set_skill_level(111, 59)

end

 

elseif 8 == s then

say ( "Cześć" )

say ( "Wybierz Jakiego Moba Chcesz Sie Zamienic," )

say ( "Lub Wybierz Opcje Powrotu Do Normalnej Postaci :P" )

local s = select ( "Silny Dziki Sluga" ,"Dziki Pies" , "Goo-Pae" , "Podly Demoni Zolnierz" , "Niebianski Zolnierz" , "Wroc_Do_Normalnej_Postaci." )

say ("Czy Napewno Chcesz Kontynuowac?")

local scelta = select ( "Tak","Nie" )

if scelta==1 then

pc.polymorph ( 552, 80 )

elseif scelta==2 then

say ( "Nie To Nie Łaski Bez" )

return

end

 

 

if 2 == s then

pc.polymorph ( 101, 90 )

end

Prosiłbym o poprawe tego questa na 250lvl, skille na p i teleportacje :)

Opublikowano

Witam .

 

Napiszę mi ktoś quest ?

Chodzi o to żeby z każdego moba dropiły wzmocnienie przedmiotu i zaczarowanie przedmiotu ;]

 

Daję 3x pluski za quescik ;]

 

Potrzebuję go na serwer .

Opublikowano

Witam .

 

Napiszę mi ktoś quest ?

Chodzi o to żeby z każdego moba dropiły wzmocnienie przedmiotu i zaczarowanie przedmiotu ;]

 

Daję 3x pluski za quescik ;]

 

Potrzebuję go na serwer .

quest drop_zmianek begin
state start begin
 when kill with not npc.is_pc() begin
  if number(1, 100) <= 50 then -- 50 to szansa w %
   if number(1, 2) == 1 then
 pc.give_item2(id_zaczarowania, 1)
   else
 pc.give_item2(id_wzmocnienia, 1)
   end
  end
 end
end
end

Koniec z MPCForum.pl i ogółem z metinem

:D

 

sunp.png

Sygnatura wykonana przez

Isuribi aka Amelka.

Opublikowano

ktp poprati tek quest żeby działał na przedmiocie o id 70021 (błogosławieństwo anioła)

(po kliknięciu na nim)

 

 

quest shops begin
state start begin
when 70021.chat."Item-Shop" begin
say_title("Pomocnik:")
say("")
say("Chcesz otworzyc Item-Shop ?")
local s = select("Tak", "Nie")

if s == 1 then
npc.open_shop(13)
else
return
end


end

when 9010.chat."Handlarz Zbroja" begin
say_title("Pomocnik:")
say("")
say("Chcesz otworzyc Handlarza Zbroja?")
local s = select("Tak", "Nie")

if s == 1 then
npc.open_shop(14)
else
return
end
end

when 9010.chat."Handlarz Bronia" begin
say_title("Pomocnik:")
say("")
say("Chcesz otworzyc Handlarza Bronia ?")
local s = select("Tak", "Nie")

if s == 1 then
npc.open_shop(16)
else
return
end
end

when 9010.chat."Fryzury" begin
say_title("Pomocnik:")
say("")
say("Chcesz otworzyc sklep z fryzurami?")
local s = select("Tak", "Nie")

if s == 1 then
npc.open_shop(17)
else
return
end
end
end

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...