Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 09:51

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

 

NPC PROBELEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2012
Posts: 29
Received Thanks: 1
Question NPC PROBELEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

hello guys

when i try to open the npc it give me this error

You must register and activate your account in order to view images.



abdonight is offline  
Old   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 526
Received Thanks: 346
The "NPC" is calling an "nil value( no script function!!)" !!!

RappelzProject would have understood it xDD --> Don't cry RappelzProject


MuStA2222 is offline  
Thanks
1 User
Old   #3
 
elite*gold: 0
Join Date: Jun 2012
Posts: 29
Received Thanks: 1
so where i can get it ??

THX MUSTA ( shokran ya akhi )
abdonight is offline  
Old   #4
 
elite*gold: 0
Join Date: Oct 2011
Posts: 38
Received Thanks: 27
You will have to define the contact script in your lua.

Contact scripts start with a code like the following:
Code:
function npc_secroute_contact()
dlg_title("@00000000")
dlg_text("@00000001")

if get_env("game.cash_usable_server") == 0 then
		dlg_menu( "@000000002", "open_market( 'secroute_market' )" )
	else
		dlg_menu( "@000000003", "open_market( 'normal_market' )" )
	end
	dlg_menu( "@90010002", '' )
 
	dlg_show()
end
The code above is just an example on how to write a contact script.
You will have to adjust the values of the string-calls (@number).
The number following the '@' equals the code of a specific string in the dbo.StringResource.
You may also just enter a string by yourself (don't forget the quotation marks).

Modifiy the script as you want, then add the functions name ('npc_secroute_contact()')
to the field 'contact_script' of the npc in the dbo.NPCResource.

Greez,

Ciel
ci4lblFmPW is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »



All times are GMT +2. The time now is 09:51.


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.