Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 00:01

  • Please register to post and access all features, it's quick, easy and FREE!

 

I need Help Please !

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 0
I need Help Please !

welcome

i need help in add cards creatures in store NPC ( creature cards trader )

i want add card death tyrant card empty in my NPC store



standbay is offline  
Old   #2
 
elite*gold: 0
Join Date: Aug 2010
Posts: 3
Received Thanks: 0
Hi , I've make a pnj in Hv who trade tamming pet ..
Code:
   --============================================================
   --             <<<<<< pet tamé  NPC >>>>>>
   --============================================================
function NPC_Pet_Tam_init()
	cprint( "Pet tamé" )
	set_npc_name(  "pet tamé"  )
end

function purchase_pet(id)
	--local gold = get_value( "gold" )
	--set_value( "gold", gold - 1000000 )
    --update_gold_chaos()
	insert_item(id, 1, 1, 1, -2147483648)
end
 
function NPC_Pet_Tam()

	dlg_title( "" )
	dlg_text( "Une petite envie d'avoir un pet ... " )

	dlg_menu("Pet unique - free ", 'pet_unique()' )
	dlg_menu("Pet legendaire - free ", 'pet_legend()' )
	dlg_menu("Pet rare - free ", 'pet_rare()' )
	dlg_menu("Pet commun-rare - free ", 'pet_crare()' )

	dlg_menu( "Aurevoir", '' )
	dlg_show()
 
end

function pet_unique()
	
	dlg_text_without_quest_menu( "Besoin d'un pet unique ? " )

	dlg_menu("Carbuncle lvl 1 - Free ", 'purchase_pet( 540049 )' )
	dlg_menu("Dragon lvl 1 - Free ", 'purchase_pet( 540037 )' )
	dlg_menu("Tyran de la mort lvl 1 - Free ", 'purchase_pet( 540069 )' )
	
	dlg_menu( "Autre question ?", 'NPC_Pet_Tam()' )
	dlg_show()

end

function pet_legend()
	
	dlg_text_without_quest_menu("Besoin d'un pet legendaire ?")
	
	dlg_menu("Genie Mystique lvl 1 - Free ", 'purchase_pet( 540063 )' )
	dlg_menu("Genie lvl 1 - Free ", 'purchase_pet( 540061 )' )
	dlg_menu("Cerbere lvl 1 - Free ", 'purchase_pet( 540036 )' )
	
	dlg_menu( "Autre question ?", 'NPC_Pet_Tam()' )
	dlg_show()
end

function pet_rare()
	
	dlg_text_without_quest_menu("Besoin d'un pet rare ?")
	
	dlg_menu("Eimus lvl 1 - Free ", 'purchase_pet( 540055 )' )
	dlg_menu("Tafarie lvl 1 - Free ", 'purchase_pet( 540059 )' )
	dlg_menu("Ange lvl 1 - Free ", 'purchase_pet( 540013 )' )
	dlg_menu("Centaure lvl 1 - Free ", 'purchase_pet( 540010 )' )
	dlg_menu("Kainen lvl 1 - Free ", 'purchase_pet( 540071 )' )
	dlg_menu("Joker lvl 1 - Free ", 'purchase_pet( 540070 )' )
	
	dlg_menu( "Autre question ?", 'NPC_Pet_Tam()' )
	dlg_show()
end

function pet_crare()
	
	dlg_text_without_quest_menu("Besoin d'un pet rare ?")
	
	dlg_menu("Salamandre lvl 1 - Free ", 'purchase_pet( 540012 )' )
	dlg_menu("Homme-Faucon lvl 1 - Free ", 'purchase_pet( 540045 )' )
	dlg_menu("Harpie lvl 1 - Free ", 'purchase_pet( 540052 )' )
	dlg_menu("Licorne Noire lvl 1 - Free ", 'purchase_pet( 540067 )' )
	dlg_menu("Licorne Blanche lvl 1 - Free ", 'purchase_pet( 540065 )' )
	
	dlg_menu( "Autre question ?", 'NPC_Pet_Tam()' )
	dlg_show()
end

function pet_commun()
	
	dlg_text_without_quest_menu("Besoin d'un pet rare ?")
	
	dlg_menu("Loup lvl 1 - Free ", 'purchase_pet( 540053 )' )
	dlg_menu("Squelette	lvl 1 - Free ", 'purchase_pet( 540109 )' )
	dlg_menu("Cracken lvl 1 - Free ", 'purchase_pet( 540057 )' )
	dlg_menu("Sirene lvl 1 - Free ", 'purchase_pet( 540043 )' )
	dlg_menu("Fee Bleue lvl 1 - Free ", 'purchase_pet( 540042 )' )
	dlg_menu("Fee Rouge lvl 1 - Free ", 'purchase_pet( 540041 )' )
	dlg_menu("Yeti lvl 1 - Free ", 'purchase_pet( 540039 )' )
	dlg_menu("Orc lvl 1 - Free ", 'purchase_pet( 540038 )' )
	
	dlg_menu( "Autre question ?", 'NPC_Pet_Tam()' )
	dlg_show()
end
Add this code in your NPC Merchant_Etc (e711e712dccb2680b678e4496717677d) .lua script ..

And in your database, in NPC_ressource , choose one npc where the flag is not 0 .. change is flag by 0 and choose coord X,Y for place the pnj where you want . exemple coord X : 223642 and coord Y :20012 will place the npc near the npc Breeder Neville in HV ..

And finally , for this new pnj change his contact script to this NPC_Pet_Tam().

May be its not the better method .. I'm a neebie ^^

Sorry for my english , i'm french

PS: you can modify the text of the pnj because I wrote in french..

I hope this can help you


I don't know how to change npc name


psylow07 is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 389
Received Thanks: 289
Strange2010 is offline  
Old   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 0
Tanks psylow07


standbay is offline  
Old   #5
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 0
no add in this code


standbay is offline  
Reply



« Previous Thread | Next Thread »



All times are GMT +2. The time now is 00:01.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.