Problema chemare cal

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
xPro
Nivel 1

Nivel 1
Mesaje: 121
Membru din: 15 Mai 2015, 12:48
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Salut , de ceva timp am pus un serverfiles pe un vds , dupa cateva teste , singuru bug pe care l-am gasit este la cal , dau pe carte sa chem calul si nu se intampla nimic.Vreo Rezolvare ?
Avatar utilizator
Gaz3rNr1
Nivel 6

Nivel 6
Mesaje: 983
Membru din: 19 Oct 2015, 19:13
Server: Se lucrează !
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 571  
 Contact:
Medalii

Ai Questul la Imaginea de cal pe care o folosești?? AI nivelul la cal corespunzător cărții?
Nu imi place realitatea, de asta trăiesc în lumea mea !
Afișează semnătura
Avatar utilizator
xPro
Nivel 1

Nivel 1
Mesaje: 121
Membru din: 15 Mai 2015, 12:48
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Questu il am si nivelul la cal e corespunzator cartii .
Avatar utilizator
C.Mihai
Nivel 9

Nivel 9
Mesaje: 1875
Membru din: 26 Mai 2014, 13:57
Server: xGamer
Regat: Chunjo
Aprecieri: 24  
Mulţumiri: 7  
 Contact:
Medalii

Pune alt quest.
Nu iti poti trai viata pentru altii. Trebuie sa faci ceea ce e bine pentru tine, chiar daca astfel ii ranesti pe cei pe care ii iubesti. – Nicholas Sparks
Imagine
Cea mai bună firmă de HOSTING !
Afișează semnătura
Avatar utilizator
MariusExygo
Fost Helper

Fost Helper
Mesaje: 2063
Membru din: 09 Mar 2014, 15:47
Server: WildFantasy
Regat: Jinno
Aprecieri: 156  
Mulţumiri: 226  
  Rezolvări prob.: 4
Discord: Copiază ID
 Contact:
Medalii

Ofera mai multe detalii daca poti, daca nu singura solutie e sa te ajute un tehnician prin teamviewer ca sa-si dea seama exact, asa e cam greu fara prea multe detalii.
Afișează semnătura
Avatar utilizator
xPro
Nivel 1

Nivel 1
Mesaje: 121
Membru din: 15 Mai 2015, 12:48
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Am pus alt quest , dar degeaba , mi-a zis cineva sa schimb si type de la carte,am incercat si asta dar degeaba , alte detali :-?? am pus un npc (20092) care sa dea level 21 cal si cartea cailor armati(50053)...ok pana aici totul bine si frumos pana cand dau click pe carte sa chem calu , dar dau degeaba nu se intampla nimic.
Edit: am urmatoarele erori in syserr :

Cod: Selectaţi tot

SYSERR: Oct 24 15:46:33 :: RunState: LUA_ERROR: [string "horse"]:44: attempt to call field `advance' (a nil value)
SYSERR: Oct 24 15:46:33 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 15:46:45 :: RunState: LUA_ERROR: [string "horse"]:23: attempt to call field `advance' (a nil value)
SYSERR: Oct 24 15:46:45 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 16:12:55 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:58 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:58 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:19 :: RunState: LUA_ERROR: [string "horse"]:1: attempt to call field `get_grade' (a nil value)
SYSERR: Oct 24 16:13:19 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:36 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:36 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:45 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:46 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 1 and pc . countitem ( "50051" ) < 1])
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 2 and pc . countitem ( "50052" ) < 1])
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 3 and pc . countitem ( "50053" ) < 1itari .." ) 
say ( "" ) 
Avatar utilizator
MariusExygo
Fost Helper

Fost Helper
Mesaje: 2063
Membru din: 09 Mar 2014, 15:47
Server: WildFantasy
Regat: Jinno
Aprecieri: 156  
Mulţumiri: 226  
  Rezolvări prob.: 4
Discord: Copiază ID
 Contact:
Medalii

xPro scrie:Am pus alt quest , dar degeaba , mi-a zis cineva sa schimb si type de la carte,am incercat si asta dar degeaba , alte detali :-?? am pus un npc (20092) care sa dea level 21 cal si cartea cailor armati(50053)...ok pana aici totul bine si frumos pana cand dau click pe carte sa chem calu , dar dau degeaba nu se intampla nimic.
Edit: am urmatoarele erori in syserr :

Cod: Selectaţi tot

SYSERR: Oct 24 15:46:33 :: RunState: LUA_ERROR: [string "horse"]:44: attempt to call field `advance' (a nil value)
SYSERR: Oct 24 15:46:33 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 15:46:45 :: RunState: LUA_ERROR: [string "horse"]:23: attempt to call field `advance' (a nil value)
SYSERR: Oct 24 15:46:45 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 16:12:55 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:57 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:58 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:12:58 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:19 :: RunState: LUA_ERROR: [string "horse"]:1: attempt to call field `get_grade' (a nil value)
SYSERR: Oct 24 16:13:19 :: WriteRunningStateToSyserr: LUA_ERROR: quest horse.start click
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:32 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:33 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:34 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:35 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:36 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:13:36 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:45 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:46 :: UseItemEx: Item type NONE Cartea Cailor Militari
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 1 and pc . countitem ( "50051" ) < 1])
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 2 and pc . countitem ( "50052" ) < 1])
SYSERR: Oct 24 16:14:48 :: IsScriptTrue: LUA ScriptRunError (code:1 src:[return horse . get_grade ( ) == 3 and pc . countitem ( "50053" ) < 1itari .." ) 
say ( "" ) 

Ai quest bubuit( ceea ce inseamna ca s-a oprit functionarea sa la un anumit punct ) + ai schimbat si type de la item ceea ce rezulta intr-o eroare.
Afișează semnătura
Avatar utilizator
FantasyWork
Nivel 1

Nivel 1
Mesaje: 96
Membru din: 23 Oct 2015, 13:49
Regat: Shinsoo
Aprecieri: 1  
Mulţumiri: 2  
Medalii

Stiu problema, ma omorat pana am gasit rezolvarea din intamplare :) am stat cam 2h sa imi dau seama ca era asa simplu.

In primul rand, asigurate ca ai mobul : 20109 in tabelul mob_proto.
Daca nu ai, ia poftim :
INSERT INTO `mob_proto` VALUES ('20109', 'Cal Negru', 0x42757A20416E6B617369, '5', '1', '0', '1', '', '', '0', '', 'STUN,SLOW,CURSE,TERROR', '0', '', '2', '0', '0', '0', '0', '0', '0', '120', '3', '1', '0', '0', '10', '4', '100', '100', '0', '2000', '150', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
In item_proto server , trebuie sa ai type 18 la Cartea calului militar ( 50513 ).

Cat despre quest.. server,
Acesta, ar trebuii sa fie suficient :
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 20349.chat."Imaginea calului pierduta. " with horse.get_grade()==1 and pc.countitem("50051")<1 begin
say_title("Grajdar: ")
say("Dupa cum vad, ")
say("þi-ai pierdut Imaginea Calului. ")
local b=select("Vreau alta noua ", "Nu ma intereseaza ")
if 1==b then
if pc.money>=10000 then
pc.changemoney(-10000)
say_title("Grajdar: ")
say("Aici este noua ta imagine de cal. ")
say("Sper sa nu o mai pierzi. ")
pc.give_item2("50051", 1)
else
say_title("Grajdar: ")
say("Nu ai destui Yang. ")
end
elseif 2==b then
else
say("UNKNOWN BUTTON ["..b.."]")
end
end
when 20349.chat."Cartea Arme si Cai pierduta. " with horse.get_grade()==2 and pc.countitem("50052")<1 begin
say_title("Grajdar: ")
say("Dupa cum vad, ")
say("þi-ai pierdut Cartea Arme si Cai. ")
local b=select("Vreau alta noua ", "Nu ma intereseaza ")
if 1==b then
if pc.money>=50000 then
pc.changemoney(-50000)
say_title("Grajdar: ")
say("Aici este noua ta Carte Arme si Cai. ")
say("Sper sa nu o mai pierzi. ")
pc.give_item2("50052", 1)
else
say_title("Grajdar: ")
say("Nu ai destui Yang. ")
end
elseif 2==b then
else
say("UNKNOWN BUTTON ["..b.."]")
end
end
when 20349.chat."Cartea Armata si Cai pierduta. " with horse.get_grade()==3 and pc.countitem("50053")<1 begin
say_title("Grajdar: ")
say("Dupa cum vad,")
say("þi-ai pierdut Cartea Armata si Cai.")
local b=select("Vreau alta noua ", "Nu ma intereseaza ")
if 1==b then
if pc.money>=100000 then
pc.changemoney(-100000)
say_title("Grajdar: ")
say("Aici este noua ta Carte Armata si Cai. ")
say("Sper sa nu o mai pierzi. ")
pc.give_item2("50053", 1)
else
say_title("Grajdar: ")
say("Nu ai destui Yang. ")
end
elseif 2==b then
else
say("UNKNOWN BUTTON ["..b.."]")
end
end
when 50051.use with horse.get_grade()==0 begin
say_title("Grajdar: ")
say("Nu deþii un cal! ")
end
when 50051.use with horse.get_grade()==1 begin
if pc.getsp()>=100 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then

horse.summon()
else
chat("Armasarul nu a putut fi strigat.")
end
pc.change_sp(-100)
else
say_title("Informaþie: ")
say("Nu ai destule MP. Îþi trebuie minim 100 MP")
say("pentru a chema calul. ")
end
end
when 50051.use with horse.get_grade()==2 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50051.use with horse.get_grade()==3 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50052.use with horse.get_grade()==0 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50052.use with horse.get_grade()==1 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50052.use with horse.get_grade()==2 begin
if pc.getsp()>=200 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then
horse.summon()
else
chat("Armasarul nu a putut fi strigat.")
end
pc.change_sp(-200)
else
say_title("Informaþie: ")
say("Nu ai destule MP. Îþi trebuie minim 200 MP")
say("pentru a chema calul. ")
end
end
when 50052.use with horse.get_grade()==3 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50053.use with horse.get_grade()==0 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50053.use with horse.get_grade()==1 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50053.use with horse.get_grade()==2 begin
say_title("Informaþie: ")
say("Ai folosit imaginea de chemare a calului gresita. ")
end
when 50053.use with horse.get_grade()==3 begin
if pc.getsp()>=300 then
if number(1, 100)<=horse_summon.get_horse_summon_prob_pct() then

horse.summon()
else
chat("Armasarul nu a putut fi strigat.")
end
pc.change_sp(-300)
else
say_title("Informaþie: ")
say("Nu ai destule MP. Îþi trebuie minim 300 MP")
say("pentru a chema calul. ")
end
end
end
state __COMPLETE__ begin
when enter begin
q.done()
end
end
end
Sper ca te-am ajutat,
Cu Stima,
FantasyWork
Imagine
- Tehnician Metin2 [ Avansat ]
- Designer [ Mediu ]
- Quester Lua [ Mediu ]
- Mapper [ Avansat ]
Afișează semnătura
Avatar utilizator
Pietonu'
Nivel 7

Nivel 7
Mesaje: 1351
Membru din: 18 Mar 2015, 13:47
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 52  
Medalii

Inactiv Arhivat!
Imagine
Afișează semnătura
Închis
Răspunsuri
10
Vizualizări
1465
Răspunsuri
2
Vizualizări
278
Răspunsuri
4
Vizualizări
322
Răspunsuri
10
Vizualizări
1252

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

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