Jump to content
ZidSliverr

QUEST PROBLEMS WHEN WORKING

Recommended Posts

Good afternoon, a while ago I read and learned to create missions with the forum guide of @Angelix, after several tests and errors, it seems that it appears in the NPC But now I have other errors / problems, I hope you can help me

1. The name of the search shows "Unknown search name".
2. When you get the item "4319" It always shows "0/5" on the screen but when you go to the NPC of the quest you can complete it even though "0/5" is displayed
3. In the QUEST2 (KillMonster) If it shows "1/1" on the screen but when you go to the NPC of the quest you can not "Complete it"

3. I receive the following errors on the screen

-TriggerProc: incorrect function notification or trigger does not have any action notice! ID = 54465

-CCharMission :: Killware: the mission management function [TriggerProcc] could not return!

>>> Here is the code inside MissionScript07 // NpcScript08.lua

PSD: Help pls @Joah
 

>>> NpcScript08.lua <<<<<<
 

function AtrapandoCaracoles()

----ATRAPANDO CARACOLES-Barba_roja

	DefineMission( 12000, "Atrapando Caracoles", 12001 )
	
	MisBeginTalk( "<t>Ahooy Pirata!, Esos moluscos an sobrepoblado las bordes de Argent City nesesitamos reducir su numero, aunque el  Cocinero quiere sus capazones! en fin tu solo matalos!" )
	MisBeginCondition(NoMission, 12001)
	MisBeginAction(AddMission, 12001)
	MisBeginAction(AddTrigger, 120011, TE_GETITEM, 4319, 5 )
	MisCancelAction(ClearMission, 12001)
	
	MisNeed(MIS_NEED_ITEM, 4319, 5, 10, 5)
	
	MisResultTalk( "<t>Menos mal que pudiste con eso sabandija, ahora te dare tu recompenza, ... no tendras algo de Ron?")
	MisHelpTalk( "<t>Estan en las puertas, te digo un secreto? El Gran rey Almeja(Great King Clam) anda cerca Grrrrrrr!.")
	MisResultCondition(HasMission, 12001)
	MisResultCondition(HasItem, 4319, 5)
    MisResultAction(TakeItem, 4319, 5 )
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
	MisResultAction(GiveItem, 262, 1, 1)
	MisResultAction(ClearMission, 12001 )	
	InitTrigger()
	TriggerCondition(1, IsItem, 4319)	
	TriggerAction(1, AddNextFlag, 12001, 10, 5)
	RegCurTrigger(120011)

end
AtrapandoCaracoles() --定义任务后结束时必须调用该函数	
------------------------------

function AtrapandoCaracolesP2()
    DefineMission( 2024, "Rebirth Stone", 2024 )
    MisBeginTalk( "Hola quiero Que vallas a matar a sPIRIT dragon." ) 
    MisBeginCondition(NoMission, 2024)  
    MisBeginAction(AddMission, 2024)    
    MisBeginAction(SetFlag, 2024, 1)
    MisBeginAction(AddTrigger, 20241, TE_KILL, 103, 1 )
    MisCancelAction(ClearMission, 2024)
	
    MisNeed(MIS_NEED_KILL, 103, 1, 10, 1)
 --   MisPrize(MIS_PRIZE_ITEM, 262, 1, 1)
 --   MisPrizeSelAll()
    MisResultTalk("Grasias por aver matado a <rBlack dragon> toma tu premio.")
    MisHelpTalk("No as terminado tu mision ve a matar a <rBlack dragon>.")
 --   MisResultCondition(NoRecord, 2024)
    MisResultCondition(HasMission, 2024)
    MisResultCondition(HasFlag, 2024, 14)
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
    MisResultAction(ClearMission, 2024)
	
    InitTrigger()
    TriggerCondition(1, IsMonster, 103)   
    TriggerAction(1, AddNextFlag, 2024, 10, 1)
    RegCurTrigger(20241)
end
AtrapandoCaracolesP2() --

 

>>>>NpcScript07 <<<<<<

 

function Barba_roja()
    Talk( 1, "BarbaRoja: Aaaaaahoooy! Marinero de agua  dulce, preparate para las aventuras que se acontecen, este mundo ah de cambiar pronto HO-Ho-ho.." )
    Text (1, "Aventuras y Botines?", JumpPage, 2)			
     Talk (2, "Grrrrr!,Asi que crees que estas listo     sabandija de tierra?")	
     Text (1, "Arrr! vuelve luego", CloseTalk)
	
 AddNpcMission (12000)
 AddNpcMission (2024)
 end

1.png.40d0a3740949fff4c9dac197ac0c5c0c.png2.png.69a712f9f98e6fdef0e21b5a9a1ad98d.png3.png.f18d0ea93d8f9066fcca5bcbec0d69a5.png4.png.ce59aa171a924032431c8d90af99f221.png5.png.e812b91632be22868b426d44202088c5.png6.png.b725d36f41872384fe32e5f4afe85f16.png7.png.b51f5a909a682a49d901fc97f2d38af6.png

 

Edited by ZidSliverr

Share this post


Link to post
Share on other sites

hi,

 

for the first problem

20 hours ago, ZidSliverr said:

Good afternoon, a while ago I read and learned to create missions with the forum guide of @Angelix, after several tests and errors, it seems that it appears in the NPC But now I have other errors / problems, I hope you can help me

1. The name of the search shows "Unknown search name".
2. When you get the item "4319" It always shows "0/5" on the screen but when you go to the NPC of the quest you can complete it even though "0/5" is displayed
3. In the QUEST2 (KillMonster) If it shows "1/1" on the screen but when you go to the NPC of the quest you can not "Complete it"

3. I receive the following errors on the screen

-TriggerProc: incorrect function notification or trigger does not have any action notice! ID = 54465

-CCharMission :: Killware: the mission management function [TriggerProcc] could not return!

>>> Here is the code inside MissionScript07 // NpcScript08.lua

PSD: Help pls @Joah
 

>>> NpcScript08.lua <<<<<<
 


function AtrapandoCaracoles()

----ATRAPANDO CARACOLES-Barba_roja

	DefineMission( 12000, "Atrapando Caracoles", 12001 )
	
	MisBeginTalk( "<t>Ahooy Pirata!, Esos moluscos an sobrepoblado las bordes de Argent City nesesitamos reducir su numero, aunque el  Cocinero quiere sus capazones! en fin tu solo matalos!" )
	MisBeginCondition(NoMission, 12001)
	MisBeginAction(AddMission, 12001)
	MisBeginAction(AddTrigger, 120011, TE_GETITEM, 4319, 5 )
	MisCancelAction(ClearMission, 12001)
	
	MisNeed(MIS_NEED_ITEM, 4319, 5, 10, 5)
	
	MisResultTalk( "<t>Menos mal que pudiste con eso sabandija, ahora te dare tu recompenza, ... no tendras algo de Ron?")
	MisHelpTalk( "<t>Estan en las puertas, te digo un secreto? El Gran rey Almeja(Great King Clam) anda cerca Grrrrrrr!.")
	MisResultCondition(HasMission, 12001)
	MisResultCondition(HasItem, 4319, 5)
    MisResultAction(TakeItem, 4319, 5 )
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
	MisResultAction(GiveItem, 262, 1, 1)
	MisResultAction(ClearMission, 12001 )	
	InitTrigger()
	TriggerCondition(1, IsItem, 4319)	
	TriggerAction(1, AddNextFlag, 12001, 10, 5)
	RegCurTrigger(120011)

end
AtrapandoCaracoles() --定义任务后结束时必须调用该函数	
------------------------------

function AtrapandoCaracolesP2()
    DefineMission( 2024, "Rebirth Stone", 2024 )
    MisBeginTalk( "Hola quiero Que vallas a matar a sPIRIT dragon." ) 
    MisBeginCondition(NoMission, 2024)  
    MisBeginAction(AddMission, 2024)    
    MisBeginAction(SetFlag, 2024, 1)
    MisBeginAction(AddTrigger, 20241, TE_KILL, 103, 1 )
    MisCancelAction(ClearMission, 2024)
	
    MisNeed(MIS_NEED_KILL, 103, 1, 10, 1)
 --   MisPrize(MIS_PRIZE_ITEM, 262, 1, 1)
 --   MisPrizeSelAll()
    MisResultTalk("Grasias por aver matado a <rBlack dragon> toma tu premio.")
    MisHelpTalk("No as terminado tu mision ve a matar a <rBlack dragon>.")
 --   MisResultCondition(NoRecord, 2024)
    MisResultCondition(HasMission, 2024)
    MisResultCondition(HasFlag, 2024, 14)
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
    MisResultAction(ClearMission, 2024)
	
    InitTrigger()
    TriggerCondition(1, IsMonster, 103)   
    TriggerAction(1, AddNextFlag, 2024, 10, 1)
    RegCurTrigger(20241)
end
AtrapandoCaracolesP2() --

 

>>>>NpcScript07 <<<<<<

 


function Barba_roja()
    Talk( 1, "BarbaRoja: Aaaaaahoooy! Marinero de agua  dulce, preparate para las aventuras que se acontecen, este mundo ah de cambiar pronto HO-Ho-ho.." )
    Text (1, "Aventuras y Botines?", JumpPage, 2)			
     Talk (2, "Grrrrr!,Asi que crees que estas listo     sabandija de tierra?")	
     Text (1, "Arrr! vuelve luego", CloseTalk)
	
 AddNpcMission (12000)
 AddNpcMission (2024)
 end

1.png.40d0a3740949fff4c9dac197ac0c5c0c.png2.png.69a712f9f98e6fdef0e21b5a9a1ad98d.png3.png.f18d0ea93d8f9066fcca5bcbec0d69a5.png4.png.ce59aa171a924032431c8d90af99f221.png5.png.e812b91632be22868b426d44202088c5.png6.png.b725d36f41872384fe32e5f4afe85f16.png7.png.b51f5a909a682a49d901fc97f2d38af6.png

 

 

my friend explore in client files

 

scripts/lua/mission/missioninfo.lua

 

AddMisData(	MISSION_ID	,	MISSION_NAME	,1)

for the second problem I think that will help try it and let me know if It didn't =)

function AtrapandoCaracoles()

----ATRAPANDO CARACOLES-Barba_roja

	DefineMission( 12000, "Atrapando Caracoles", 12001 )
	
	MisBeginTalk( "<t>Ahooy Pirata!, Esos moluscos an sobrepoblado las bordes de Argent City nesesitamos reducir su numero, aunque el  Cocinero quiere sus capazones! en fin tu solo matalos!" )
	MisBeginCondition(NoMission, 12001)
	MisBeginAction(AddMission, 12001)
	MisBeginAction(AddTrigger, 120011, TE_GETITEM, 4319, 5 )
	MisCancelAction(ClearMission, 12001)
	
	MisNeed(MIS_NEED_ITEM, 4319, 5, 10, 5)
	
	MisResultTalk( "<t>Menos mal que pudiste con eso sabandija, ahora te dare tu recompenza, ... no tendras algo de Ron?")
	MisHelpTalk( "<t>Estan en las puertas, te digo un secreto? El Gran rey Almeja(Great King Clam) anda cerca Grrrrrrr!.")
	MisResultCondition(HasMission, 12001)
	MisResultCondition(HasItem, 4319, 14)
    MisResultAction(TakeItem, 4319, 5 )
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
	MisResultAction(GiveItem, 262, 1, 1)
	MisResultAction(ClearMission, 12001 )	
	InitTrigger()
	TriggerCondition(1, IsItem, 4319)	
	TriggerAction(1, AddNextFlag, 12001, 10, 5)
	RegCurTrigger(120011)

end
AtrapandoCaracoles() --定义任务后结束时必须调用该函数	
------------------------------

function AtrapandoCaracolesP2()
    DefineMission( 2024, "Rebirth Stone", 2024 )
    MisBeginTalk( "Hola quiero Que vallas a matar a sPIRIT dragon." ) 
    MisBeginCondition(NoMission, 2024)  
    MisBeginAction(AddMission, 2024)    
    MisBeginAction(SetFlag, 2024, 1)
    MisBeginAction(AddTrigger, 20241, TE_KILL, 103, 1 )
    MisCancelAction(ClearMission, 2024)
	
    MisNeed(MIS_NEED_KILL, 103, 1, 10, 1)
 --   MisPrize(MIS_PRIZE_ITEM, 262, 1, 1)
 --   MisPrizeSelAll()
    MisResultTalk("Grasias por aver matado a <rBlack dragon> toma tu premio.")
    MisHelpTalk("No as terminado tu mision ve a matar a <rBlack dragon>.")
 --   MisResultCondition(NoRecord, 2024)
    MisResultCondition(HasMission, 2024)
    MisResultCondition(HasFlag, 2024, 10)
	MisResultAction(AddExp, 50, 50 )
	MisResultAction(AddMoney, 500, 500 )
    MisResultAction(ClearMission, 2024)
	
    InitTrigger()
    TriggerCondition(1, IsMonster, 103)   
    TriggerAction(1, AddNextFlag, 2024, 10, 1)
    RegCurTrigger(20241)
end
AtrapandoCaracolesP2() --

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...