Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 23:03

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

Advertisement



NPC PROBELEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Discussion on NPC PROBELEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE within the Rappelz Private Server forum part of the Rappelz category.

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

abdonight is offline  
Old 07/05/2012, 20:38   #2

 
Musta²'s Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 542
Received Thanks: 424
The "NPC" is calling an "nil value( no script function!!)" !!!

RappelzProject would have understood it xDD --> Don't cry RappelzProject
Musta² is offline  
Thanks
1 User
Old 07/05/2012, 21:02   #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 07/05/2012, 21:22   #4
 
ci4lblFmPW's Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 38
Received Thanks: 28
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




All times are GMT +1. The time now is 23:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.