*Problemă: Nu imi merge sa chem calul. nici horse.get_level nu merge de asemenea
Tipologie server: pvm
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare:
Problema cal
- BeauDeCiuda
-

- Mesaje: 1915
- Membru din: 24 Mar 2014, 16:25
- Server: http://infomanii.ro
- Regat: Chunjo
- Aprecieri: 169
- Mulţumiri: 225
- Contact:
ai bagat questul pentru asta? ai dat reload q dupa ce l-ai bagat?
Da si tu mai multe detalii ca nu avem de unde stii care este cauza ca nu iti funtioneaza tie calul.
Da si tu mai multe detalii ca nu avem de unde stii care este cauza ca nu iti funtioneaza tie calul.
1.Am incercat sa bag la questul welcome :
--horse.set_level(11)
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.ride()
2.Am incercat sa bag si quest in care se cumpara de la Grajdar .
Nu primesc calul de nivelul respectiv si nici nu merge sa il chem
--horse.set_level(11)
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.advance()
--horse.ride()
2.Am incercat sa bag si quest in care se cumpara de la Grajdar .
Nu primesc calul de nivelul respectiv si nici nu merge sa il chem
- Titan
-

- Mesaje: 2783
- Membru din: 01 Iun 2015, 15:09
- Server: In curand.
- Regat: Chunjo
- Aprecieri: 42
- Mulţumiri: 377
- Rezolvări prob.: 3
- Discord: Copiază ID
- Contact:
Vezi că dacă ai și în quest -- în fața lor sunt luate ca și comentarii.
Tot nu merge.
Questul meu arata asa :
quest welcome begin
state start begin
when login begin
if pc.getqf("metin2")== 0 then
pc.setqf( "metin2", 1)
------------------------------
if pc.job == 0 then
pc.give_item2(19,1)
pc.give_item2(11209,1)
pc.give_item2(12209,1)
elseif pc.job == 1 then
pc.give_item2(1009,1)
pc.give_item2(11409,1)
pc.give_item2(12349,1)
elseif pc.job == 2 then
pc.give_item2(19,1)
pc.give_item2(11609,1)
pc.give_item2(12489,1)
elseif pc.job == 3 then
pc.give_item2(7009,1)
pc.give_item2(11809,1)
pc.give_item2(12620,1)
end
------------------------------
pc.change_money(1000000)
pc.give_item2(13009,1)
pc.give_item2(14009,1)
pc.give_item2(15009,1)
pc.give_item2(16009,1)
pc.give_item2(17009,1)
pc.give_item2(71128,1)
pc.give_item2(27112,200)
pc.give_item2(27115,200)
pc.give_item2(70007,1)
pc.give_item2(70038,1)
pc.give_item2(71027,10)
pc.give_item2(71028,10)
pc.give_item2(71029,10)
pc.give_item2(71030,10)
pc.give_item2(71044,10)
pc.give_item2(71045,10)
pc.give_item2(72701,1)
pc.give_item2(72723,1)
pc.give_item2(72727,1)
pc.give_item2(50187,1)
pc.give_item2(50052,1)
horse.set_level(11)
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.ride()
syschat("Bine ai venit pe GoldenAge")
end
end
end
end
Questul meu arata asa :
quest welcome begin
state start begin
when login begin
if pc.getqf("metin2")== 0 then
pc.setqf( "metin2", 1)
------------------------------
if pc.job == 0 then
pc.give_item2(19,1)
pc.give_item2(11209,1)
pc.give_item2(12209,1)
elseif pc.job == 1 then
pc.give_item2(1009,1)
pc.give_item2(11409,1)
pc.give_item2(12349,1)
elseif pc.job == 2 then
pc.give_item2(19,1)
pc.give_item2(11609,1)
pc.give_item2(12489,1)
elseif pc.job == 3 then
pc.give_item2(7009,1)
pc.give_item2(11809,1)
pc.give_item2(12620,1)
end
------------------------------
pc.change_money(1000000)
pc.give_item2(13009,1)
pc.give_item2(14009,1)
pc.give_item2(15009,1)
pc.give_item2(16009,1)
pc.give_item2(17009,1)
pc.give_item2(71128,1)
pc.give_item2(27112,200)
pc.give_item2(27115,200)
pc.give_item2(70007,1)
pc.give_item2(70038,1)
pc.give_item2(71027,10)
pc.give_item2(71028,10)
pc.give_item2(71029,10)
pc.give_item2(71030,10)
pc.give_item2(71044,10)
pc.give_item2(71045,10)
pc.give_item2(72701,1)
pc.give_item2(72723,1)
pc.give_item2(72727,1)
pc.give_item2(50187,1)
pc.give_item2(50052,1)
horse.set_level(11)
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.advance()
horse.ride()
syschat("Bine ai venit pe GoldenAge")
end
end
end
end
quest horse_summon begin
state start begin
function get_horse_summon_prob_pct()
local skill_level=pc.get_skill_level(131)
if skill_level==1 then
return 15
elseif skill_level==2 then
return 20
elseif skill_level==3 then
return 30
elseif skill_level==4 then
return 40
elseif skill_level==5 then
return 50
elseif skill_level==6 then
return 60
elseif skill_level==7 then
return 70
elseif skill_level==8 then
return 80
elseif skill_level==9 then
return 90
elseif skill_level>=10 then
return 100
end
return 10
end
when 50051.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
----"12345678901234567890123456789012345678901234567890"|
say("Nu ai cal;")
say("Du-te la grajdar pentru a face misiunea.")
end
when 50051.use with horse.get_grade()==1 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosi acest obiect,")
say_reward("in aceasta mapa!")
say("")
else
if pc.getsp()>=100 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
say("Calul tau a fost chemat cu succes.")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi Calul!")
say_reward("Mai incearca!")
end
pc.change_sp(-100)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai suficienta mana pentru a chema Calul,")
say_reward("ai nevie de 100 MP!")
end
end
end
when 50051.use with horse.get_grade()==2 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta carte nu poate fi folosita,")
say_reward("foloseste Cartea cailor armati!")
say("")
end
when 50051.use with horse.get_grade()==3 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta cate nu poate fi folosita!")
say_reward("Foloseste Cartea Cailor Amrati!")
say("")
end
when 50052.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai cal!")
say_reward("Du-te la grajdar,")
say_reward("pentru a face misiunea.")
say("")
end
when 50052.use with horse.get_grade()==1 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Acceasta care nu este buna,")
say_reward("Foseste Imaginea de Cal.")
end
when 50052.use with horse.get_grade()==2 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosii acest obiect")
say_reward("In aceasta mapa!")
say("")
else
if pc.getsp()>=200 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Calul tau Armat, a fost chemat cu succes!")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi calul armat!")
say_reward("Mai incearca!")
end
pc.change_sp(-200)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai suficienta mana pentru a chema Calul Armat")
say_reward("ai nevoie de 200 MP!")
say("")
end
end
end
when 50052.use with horse.get_grade()==3 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu poti folosi aceasta carte pentru a chema")
say_reward("Un cal militar ")
say_reward("Foloseste Cartea Cailor Militari!")
say("")
end
when 50053.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu poti folosi aceasta carte,")
say_reward("deoarece nu ai cal!")
say_reward("Du-te la grajdar pentru misiune.")
say("")
end
when 50053.use with horse.get_grade()==1 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta care nu poate fi folosita,")
say_reward("Deoarece nu ai cal militar.")
say_reward("Foloseste Imaginea de cal !")
end
when 50053.use with horse.get_grade()==2 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta carte nu paote fi folosita")
say_reward("Deoarece tu ai cal militar ! ")
say_reward("Foloseste Cartea cailor Armati!")
say("")
end
when 50053.use with horse.get_grade()==3 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosi acest obiect")
say_reward("in aceasta mapa!")
say("")
else
if pc.get_map_index() >= 1100000 and pc.get_map_index() < 1200000 then
syschat("Nu poti chema un animal de calarit in mapa de razboi.")
return
end
if pc.getsp()>=300 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Calul tau Militar, a fost chemat cu succes.")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi calul,")
say_reward("mai incearca.")
end
pc.change_sp(-300)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai destula mana pentru a chema Calul Militar!")
say_reward("Ai nevoie de 300 MP !")
say("")
end
end
end
when 50051.use or 50052.use or 50053.use begin
if horse.is_summon() then
horse.unsummon()
else
end
end
end
state __COMPLETE__ begin
when enter begin
q.done()
end
end
end
state start begin
function get_horse_summon_prob_pct()
local skill_level=pc.get_skill_level(131)
if skill_level==1 then
return 15
elseif skill_level==2 then
return 20
elseif skill_level==3 then
return 30
elseif skill_level==4 then
return 40
elseif skill_level==5 then
return 50
elseif skill_level==6 then
return 60
elseif skill_level==7 then
return 70
elseif skill_level==8 then
return 80
elseif skill_level==9 then
return 90
elseif skill_level>=10 then
return 100
end
return 10
end
when 50051.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
----"12345678901234567890123456789012345678901234567890"|
say("Nu ai cal;")
say("Du-te la grajdar pentru a face misiunea.")
end
when 50051.use with horse.get_grade()==1 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosi acest obiect,")
say_reward("in aceasta mapa!")
say("")
else
if pc.getsp()>=100 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
say("Calul tau a fost chemat cu succes.")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi Calul!")
say_reward("Mai incearca!")
end
pc.change_sp(-100)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai suficienta mana pentru a chema Calul,")
say_reward("ai nevie de 100 MP!")
end
end
end
when 50051.use with horse.get_grade()==2 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta carte nu poate fi folosita,")
say_reward("foloseste Cartea cailor armati!")
say("")
end
when 50051.use with horse.get_grade()==3 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta cate nu poate fi folosita!")
say_reward("Foloseste Cartea Cailor Amrati!")
say("")
end
when 50052.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai cal!")
say_reward("Du-te la grajdar,")
say_reward("pentru a face misiunea.")
say("")
end
when 50052.use with horse.get_grade()==1 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Acceasta care nu este buna,")
say_reward("Foseste Imaginea de Cal.")
end
when 50052.use with horse.get_grade()==2 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosii acest obiect")
say_reward("In aceasta mapa!")
say("")
else
if pc.getsp()>=200 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Calul tau Armat, a fost chemat cu succes!")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi calul armat!")
say_reward("Mai incearca!")
end
pc.change_sp(-200)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai suficienta mana pentru a chema Calul Armat")
say_reward("ai nevoie de 200 MP!")
say("")
end
end
end
when 50052.use with horse.get_grade()==3 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu poti folosi aceasta carte pentru a chema")
say_reward("Un cal militar ")
say_reward("Foloseste Cartea Cailor Militari!")
say("")
end
when 50053.use with horse.get_grade()==0 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu poti folosi aceasta carte,")
say_reward("deoarece nu ai cal!")
say_reward("Du-te la grajdar pentru misiune.")
say("")
end
when 50053.use with horse.get_grade()==1 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta care nu poate fi folosita,")
say_reward("Deoarece nu ai cal militar.")
say_reward("Foloseste Imaginea de cal !")
end
when 50053.use with horse.get_grade()==2 begin
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Aceasta carte nu paote fi folosita")
say_reward("Deoarece tu ai cal militar ! ")
say_reward("Foloseste Cartea cailor Armati!")
say("")
end
when 50053.use with horse.get_grade()==3 begin
if pc.get_map_index() == 113 or pc.get_map_index() == 26 or pc.get_map_index() == 211 then
say_title("Informatie:")
say("")
say_reward("Nu poti folosi acest obiect")
say_reward("in aceasta mapa!")
say("")
else
if pc.get_map_index() >= 1100000 and pc.get_map_index() < 1200000 then
syschat("Nu poti chema un animal de calarit in mapa de razboi.")
return
end
if pc.getsp()>=300 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Calul tau Militar, a fost chemat cu succes.")
say("")
horse.summon()
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai reusit sa chemi calul,")
say_reward("mai incearca.")
end
pc.change_sp(-300)
else
say_title("Informatie:")
say("")
-----------"12345678901234567890123456789012345678901234567890"|
say_reward("Nu ai destula mana pentru a chema Calul Militar!")
say_reward("Ai nevoie de 300 MP !")
say("")
end
end
end
when 50051.use or 50052.use or 50053.use begin
if horse.is_summon() then
horse.unsummon()
else
end
end
end
state __COMPLETE__ begin
when enter begin
q.done()
end
end
end
Răspunsuri
8 Vizualizări
1332
8 Vizualizări
1332
Răspunsuri
3 Vizualizări
431
3 Vizualizări
431
Răspunsuri
3 Vizualizări
411
3 Vizualizări
411
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: sanducatalin1 și 33 vizitatori




