Quest pe un item adaugat

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
t4zu
Nivel 3

Nivel 3
Mesaje: 476
Membru din: 16 Iul 2015, 21:31
Server: Doar testez
Regat: Chunjo
Aprecieri: 94  
Mulţumiri: 44  
 Contact:
Medalii

Problemă: Pot instala questul fara nici o eroare, dar nu functioneaza
Tipologie server(PvM / PvP): -test-
*Resursă folosită: -
*ServerFiles utilizat: nu mai stiu, il am de mult, o sa mai caut
*Syserr: nu functioneaza
Poză: -
*Detalii suplimentare: Salutare, am luat questul de la piatra curcubeu si am incercat sa-l implementez pe o carte (adaugata de mine pe server si client, cu un nou .tga), dar nu functioneaza, pur si simplu dau click draeapta dupa reboot si nu face nimic.

Quest

Cod: Selectaţi tot

quest Cartea_competentei_a_P begin
   state start begin
      
      -- DEFAULT --
      when 27202.use with pc.get_skill_group() == 0 begin
         say("(RO) Nu ai nicio competenta aleaasa!")
		 say("(EN) You have no selected competency!")
         say("")
      end
      
      
      -- WARRIOR --
      when 27202.use with pc.get_job() == 0 and pc.get_skill_group() == 1 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Incizia Tripa","Vartejul Sabiei","Iures","Aura Sabiei","Izbitura","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(1) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(1, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(2) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(2, 59)
               pc.remove_item(27202, 1)
            end   
         end            
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(3) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(3, 59)
               pc.remove_item(27202, 1)
            end   
         end            
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(4) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(4, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(5) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(5, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      when 27202.use with pc.get_job() == 0 and pc.get_skill_group() == 2 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")

         local mandi = select("Atacul Spiritului","Zdrobire","Zdruncinare","Corp Rezistent","Atacul Sabiei","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(16) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(16, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(17) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(17, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(18) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(18, 59)
               pc.remove_item(27202, 1)
            end
         end            
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(19) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(19, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(20) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(20, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      
      
      -- ASSASSIN --
      when 27202.use with pc.get_job() == 1 and pc.get_skill_group() == 1 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Ambuscada","Atac Mortal","Rulant","Camuflaj","Norul","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(31) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(31, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(32) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(32, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(33) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(33, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(34) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(34, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(35) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(35, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      when 27202.use with pc.get_job() == 1 and pc.get_skill_group() == 2 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Foc repetat","Ploaie de Sageti","Sageata de Foc","Mers de Fulg","Sageata Otravita","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(46) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(46, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(47) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(47, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(48) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(48, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(49) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(49, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(50) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(50, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      
      
      -- SURA --
      when 27202.use with pc.get_job() == 2 and pc.get_skill_group() == 1 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Lovitura Degetului","Vartejul Dragonului","Tais Vrajit","Teama","Armura Vrajita","Risipirea Magiei","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(61) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(61, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(62) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(62, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(63) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(63, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(64) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(64, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(65) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(65, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 6 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(66) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(66, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      when 27202.use with pc.get_job() == 2 and pc.get_skill_group() == 2 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Lovitura Intunecata","Lovitura Focului","Spiritul Flacarii","Protectia Intunecata","Lovitura Spiritului","Sfera Intunecata","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(76) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(76, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(1) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(77, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(78) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(78, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(79) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(79, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(80) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(80, 59)
               pc.remove_item(27202, 1)
            end
         end
            if mandi == 6 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(81) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(81, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      
      
      -- SHAMAN --
      when 27202.use with pc.get_job() == 3 and pc.get_skill_group() == 1 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Talismant Zburator","Aruncarea Dragonului","Ragetul Dragonului","Binecuvantare","Reflexie","Forta Dragonului","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(91) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(91, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(92) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(92, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(93) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(93, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(94) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(94, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(95) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(95, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 6 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(96) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(96, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
      when 27202.use with pc.get_job() == 3 and pc.get_skill_group() == 2 begin
         say_title("Cartea competentei P")
         say_alb("")
		 say_alb("(RO) Selecteaza o competenta...")
		 say_alb("(EN) Choose a competence...")
         local mandi = select("Aruncarea Fulgerului","Chemarea Fulgerului","Gheara Fulgerului","Leac","Accelerare","Atac Fortat","Inchide")
         if mandi == 1 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(106) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(106, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 2 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(107) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(107, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 3 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(108) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(108, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 4 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(109) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(109, 59)
               pc.remove_item(27202, 1)
            end
         end         
         if mandi == 5 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(110) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(110, 59)
               pc.remove_item(27202, 1)
            end
         end
         if mandi == 6 and pc.count_item(27202) >= 1 then
            if pc.get_skill_level(111) >= 40 then
               syschat("(RO) Ai deja acesta competenta Perfecta!")
			   syschat("(EN) You have already this competence perfectly!")
            else
               pc.set_skill_level(111, 59)
               pc.remove_item(27202, 1)
            end
         end
      end
   end
end
P.s - In item proto am folosit acelasi querry (ca si pe navicat), imprumutat de la "Cartea transformarii normal".
Ma puteti ajuta, cum sa repar asta, iar cand dai click dreapta pe ea sa apara questul si sa functioneze? Multumesc!
Avatar utilizator
[Tupeu]
Membru de Elita

Membru de Elita
Mesaje: 4101
Membru din: 28 Oct 2015, 16:16
Aprecieri: 35  
Mulţumiri: 2304  
 Contact:
Medalii

Incearca sa pui type de la inel de teleportare.
Nu ma stiu cat era 18 sau 20 si ceva.

[ Postat de pe Android ] Imagine
Pentru acest mesaj, [Tupeu] for the post:
t4zu
Avatar utilizator
F-l-o-r-i-n
Nivel 3

Nivel 3
Mesaje: 320
Membru din: 12 Ian 2018, 14:07
Server: Thrones2
Regat: Chunjo
Aprecieri: 44  
Mulţumiri: 713  
Medalii

pune type 18 la item si subtype 0
Pentru acest mesaj, F-l-o-r-i-n for the post:
t4zu
Avatar utilizator
t4zu
Nivel 3

Nivel 3
Mesaje: 476
Membru din: 16 Iul 2015, 21:31
Server: Doar testez
Regat: Chunjo
Aprecieri: 94  
Mulţumiri: 44  
 Contact:
Medalii

Multumesc! Solutia type 18 si subtype 0.
TC!
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

//# Problemă rezolvată.
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Închis
Răspunsuri
10
Vizualizări
496
Răspunsuri
2
Vizualizări
150
Răspunsuri
8
Vizualizări
421
Răspunsuri
2
Vizualizări
222

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 22 vizitatori