Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 10:05

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

 

[HowTo] Custom NPCs

Reply
 
Old   #46
 
elite*gold: 0
Join Date: Dec 2011
Posts: 24
Received Thanks: 1
Quote:
Originally Posted by rpz View Post
...
at the moment i am keeping my self busy with changeing the appearance of a NPC...
Saw that it is the same problem as with the NPC names...
didn't spend much time for it yet so I'll betther keep my stupid questions for me... for now ^^
if I try to change the appeariance through the database (NPC Resource),
it don't take effect...
in the table NPC Resource I can only change the the position of the npc, contact_script-name... but not the appeariance
may anyone tell me why there are splitting like face, hair_id, weapon_id... although my changes in this splitting don't take effect?
in my oppinion should the appeariance of an NPC be stored in the client resource... like the like the stringresouce is (!PWS)3rDAd3O'`dU+O}deN)

i cheked the client recource twice and I didn't find a file were I can change the apperiance of a NPC...
if there is such a file... may you tell me the name of it?

Also i am playing with the mind that some tables are made for easyer exporting client ressource files like this tool do...

you can chnage the npc names (and more) in you database and this tool create a client ressource file (!PWS)3rDAd3O'`dU+O}deN) out of it.

Thank you ALL



rpz is offline  
Old   #47
 
elite*gold: 0
Join Date: Jun 2010
Posts: 573
Received Thanks: 161
There are many DBs on the serverside with no purpose. maybe those are left-over cause their were serverside before but as is said: Many things which are clientsided are in the server two. Maybe for GamGuard issues.


haxti is offline  
Old   #48
 
elite*gold: 0
Join Date: Nov 2011
Posts: 7
Received Thanks: 0
i was wondering if any one would like to make a youtube video and guide me though if not its ok i understand u dont have time to show people what to do all the time. This is my first server i really would like to add custum npcs, auto buffs, and add a logo to my server once i log in so it isnt just a buch of differnt letters popping up, if u can be any help to this PLASE PLEASE help me i would really appreciate it thank you for ur time...
gilbertc is offline  
Old   #49
 
elite*gold: 0
Join Date: Jul 2012
Posts: 44
Received Thanks: 14
Cool

hey guys i have little problem on put skin on npc look..

and npc script i use is cube .. if i use it on horizon npc cube apperece right but on hv no can put skin cube why?

Code:
Use Arcadia

Go

/* Add Npc Hv Center 4 - cube jin denom hector */

INSERT [dbo].[NPCResource] ([id], [text_id], [name_text_id], [race_id], [sexsual_id], [x], [y], [z], [face], [local_flag], [is_periodic], [begin_of_period], [end_of_period], [face_x], [face_y], [face_z], [model_file], [hair_id], [face_id], [body_id], [weapon_item_id], [shield_item_id], [clothes_item_id], [helm_item_id], [gloves_item_id], [boots_item_id], [belt_item_id], [mantle_item_id], [necklace_item_id], [earring_item_id], [ring1_item_id], [ring2_item_id], [motion_id], [is_roam], [roaming_id], [standard_walk_speed], [standard_run_speed], [walk_speed], [run_speed], [attackable], [offensive_type], [spawn_type], [chase_range], [regen_time], [level], [stat_id], [attack_range], [attack_speed_type], [hp], [mp], [attack_point], [magic_point], [defence], [magic_defence], [attack_speed], [magic_speed], [accuracy], [avoid], [magic_accuracy], [magic_avoid], [ai_script], [contact_script], [texture_group]) VALUES (11701, 100011700, 105011700, 99, 0, 222223, 20402, 0, 270, 0, 0, CAST(0x00008EAC00000000 AS DateTime), CAST(0x00008EAC00000000 AS DateTime), -10, -25, 18, N'Pr3dSpItem', 10104, 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, 0, 0, 0, N'0', N'NPC_Pr3dSpItem_contact()', -1)
INSERT [dbo].[NPCResource] ([id], [text_id], [name_text_id], [race_id], [sexsual_id], [x], [y], [z], [face], [local_flag], [is_periodic], [begin_of_period], [end_of_period], [face_x], [face_y], [face_z], [model_file], [hair_id], [face_id], [body_id], [weapon_item_id], [shield_item_id], [clothes_item_id], [helm_item_id], [gloves_item_id], [boots_item_id], [belt_item_id], [mantle_item_id], [necklace_item_id], [earring_item_id], [ring1_item_id], [ring2_item_id], [motion_id], [is_roam], [roaming_id], [standard_walk_speed], [standard_run_speed], [walk_speed], [run_speed], [attackable], [offensive_type], [spawn_type], [chase_range], [regen_time], [level], [stat_id], [attack_range], [attack_speed_type], [hp], [mp], [attack_point], [magic_point], [defence], [magic_defence], [attack_speed], [magic_speed], [accuracy], [avoid], [magic_accuracy], [magic_avoid], [ai_script], [contact_script], [texture_group]) VALUES (11702, 100011655, 105011655, 99, 0, 222133, 20349, 0, 270, 0, 0, CAST(0x00008EAC00000000 AS DateTime), CAST(0x00008EAC00000000 AS DateTime), -10, -25, 18, N'Pr3dPetSk', 10104, 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, 0, 0, 0, N'0', N'NPC_Pr3dPetSk_contact()', -1)
INSERT [dbo].[NPCResource] ([id], [text_id], [name_text_id], [race_id], [sexsual_id], [x], [y], [z], [face], [local_flag], [is_periodic], [begin_of_period], [end_of_period], [face_x], [face_y], [face_z], [model_file], [hair_id], [face_id], [body_id], [weapon_item_id], [shield_item_id], [clothes_item_id], [helm_item_id], [gloves_item_id], [boots_item_id], [belt_item_id], [mantle_item_id], [necklace_item_id], [earring_item_id], [ring1_item_id], [ring2_item_id], [motion_id], [is_roam], [roaming_id], [standard_walk_speed], [standard_run_speed], [walk_speed], [run_speed], [attackable], [offensive_type], [spawn_type], [chase_range], [regen_time], [level], [stat_id], [attack_range], [attack_speed_type], [hp], [mp], [attack_point], [magic_point], [defence], [magic_defence], [attack_speed], [magic_speed], [accuracy], [avoid], [magic_accuracy], [magic_avoid], [ai_script], [contact_script], [texture_group]) VALUES (11703, 100011599, 105011599, 99, 0, 222222, 20293, 0, 180, 0, 0, CAST(0x00008EAC00000000 AS DateTime), CAST(0x00008EAC00000000 AS DateTime), -10, -25, 18, N'Pr3dShopDeco', 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, 0, 0, 0, 0, N'0', N'NPC_Pr3dShopDeco_contact()', -1)
INSERT [dbo].[NPCResource] ([id], [text_id], [name_text_id], [race_id], [sexsual_id], [x], [y], [z], [face], [local_flag], [is_periodic], [begin_of_period], [end_of_period], [face_x], [face_y], [face_z], [model_file], [hair_id], [face_id], [body_id], [weapon_item_id], [shield_item_id], [clothes_item_id], [helm_item_id], [gloves_item_id], [boots_item_id], [belt_item_id], [mantle_item_id], [necklace_item_id], [earring_item_id], [ring1_item_id], [ring2_item_id], [motion_id], [is_roam], [roaming_id], [standard_walk_speed], [standard_run_speed], [walk_speed], [run_speed], [attackable], [offensive_type], [spawn_type], [chase_range], [regen_time], [level], [stat_id], [attack_range], [attack_speed_type], [hp], [mp], [attack_point], [magic_point], [defence], [magic_defence], [attack_speed], [magic_speed], [accuracy], [avoid], [magic_accuracy], [magic_avoid], [ai_script], [contact_script], [texture_group]) VALUES (11704, 100011227, 105011227, 99, 0, 222314, 20347, 0, 260, 0, 0, CAST(0x00008EAC00000000 AS DateTime), CAST(0x00008EAC00000000 AS DateTime), 3, -6, 17, N'Pr3dMasterC', 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, 0, 0, 0, 0, N'0', N'NPC_Pr3dMasterC_contact()', -1)

Go
any can tell me why it no work on flea and horizon npc cube work?
Attached Images
File Type: jpg Capture.jpg (25.8 KB, 155 views)


prodx is offline  
Old   #50
 
elite*gold: 0
Join Date: Aug 2012
Posts: 1
Received Thanks: 0
well this will be interesting just downloaded 7.4 server and files i want to try this somewhat of a noob at editing resource so this will be a challenge but i want to learn so when im ready any patience with me would be good also i downloaded the custom laucher package i want to use it for my server plus some other private rappelz servers like tournament rappelz and elite rappelz
Gildereth is offline  
Old   #51
 
elite*gold: 0
Join Date: Jul 2012
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by Saelt View Post
I have enable the npc, set X, Y, but when i double-click on, nothing happen :0 x) got an idea ?
Quote:
Originally Posted by Xijezu View Post
You forgot this.
Quote:
Originally Posted by Saelt View Post
No thats the problem. I've got an idea, i'm testing it .
Thx for this.
Quote:
Originally Posted by Saelt View Post
Thx it is working
Hey guys,

I'm having the same problem as this guy, tho I did everything correct. (I think) he solved it, but didnt add how O.O

I selected a NPC in dbo.npcresource with flag NOT 0, set it to 0, edited the X & Y coordinate and edited the contact script to: NPC_custom_one_contact()

then i picked a .lua (npc_buff.lua) and made this function:

Quote:
function NPC_custom_one_contact()
dlg_title( "customnpc" )
dlg_text( "hello" )
dlg_menu( "Menu", 'open_market("lalalalala")' )
dlg_menu( "close", '' )
end
when i login the npc is where i wanted him, but when i double click nothing happens. no error in chat window nothing.

anyone knows why ? O.O
rappelz4u is offline  
Old   #52
 
elite*gold: 0
Join Date: Oct 2011
Posts: 275
Received Thanks: 265
Quote:
function NPC_custom_one_contact()
dlg_title( "customnpc" )
dlg_text( "hello" )
dlg_menu( "Menu", 'open_market("lalalalala")' )
dlg_menu( "close", '' )
dlg_show()
end
maybe you forgot that line
→Striker← is offline  
Old   #53
 
elite*gold: 0
Join Date: Jul 2012
Posts: 5
Received Thanks: 0
YES worked, thanks mate !!
rappelz4u is offline  
Old   #54
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 0
Hello,

i've a question about a .lua code.
in an .lua-function of an NPC_Event_** there is this code

Code:
	dlg_title("@90605648")
	dlg_text("@90605672")
so i think 90605648 is a string_code for the dbo.StringResource

if i search this code (90605648) the dbo.StringResource.value is ??? ????

(in another Resource db)
if i search this code (90605648) the dbo.StringResource_de.value there is no entry

Now my question:

How can i change the text which is linked behind 90605648

Edit:
And where can i find it?

Or is the only way to set the text of a character in the Lua like:

Code:
dlg_text("I am just a NPC text")
asthos is offline  
Old   #55
 
elite*gold: 0
Join Date: Jun 2013
Posts: 22
Received Thanks: 0
It's not the only way but it's much simpler
Minotaurus-Rappelz is offline  
Old   #56
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 0
Ok sry it was too late and i had to look first at these 2 links,
for updating my string.Resource:



with using the Database Manager by Raskim


hm but now i am not shure if i edit a value in the DB if this is then editing the text of my server.
I think i have to edit this at the client, but how?
adjust me if i'm wrong.
asthos is offline  
Old   #57
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,004
Received Thanks: 960
If you make edits in the DB for most tables you then need to create a new rdb for the client.

Raskim's database manager can do most of the rdbs but the string resource has a lot of functions in the skill tool tips that may have to be edited manually.

Last I knew the database manager still caused client errors if you exported the string resource rdb to the client.

You do not have to reference a string number in the lua file like that though, you can also use your second method where you just quote the text...

dlg_text("I am just a NPC text")

And that will be your text.
ThunderNikk is offline  
Old   #58
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Quote:
Originally Posted by thndr View Post
If you make edits in the DB for most tables you then need to create a new rdb for the client.

Raskim's database manager can do most of the rdbs but the string resource has a lot of functions in the skill tool tips that may have to be edited manually.

Last I knew the database manager still caused client errors if you exported the string resource rdb to the client.

You do not have to reference a string number in the lua file like that though, you can also use your second method where you just quote the text...

dlg_text("I am just a NPC text")

And that will be your text.
Nope, the error's were caused of wrong importing way. :P
TheOnlyOneRaskim is offline  
Thanks
1 User
Old   #59
 
elite*gold: 0
Join Date: Jun 2011
Posts: 26
Received Thanks: 4
Lua Editor

I have search in this site a Lua Editor But i not find, anyone can pass one link work to me? Ty all =)
8holyavenger8 is offline  
Old   #60
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,004
Received Thanks: 960
Quote:
Originally Posted by 8holyavenger8 View Post
I have search in this site a Lua Editor But i not find, anyone can pass one link work to me? Ty all =)
Notepad or Notepad++ (Better)


ThunderNikk is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
5165 Custom NPCS
How do you make a npc talk in 5165 source? I know how to edit the face type, mech type etc. But where do you go to make them talk. :) Thanks in...
3 Replies - CO2 PServer - Discussions / Questions
Custom Items,Maps,Npcs?
Hallo wollt mehrere sachen auf einmal fragen ;) 1. wie setz ich ein warp npc auf ... der in allen dungens/towers warp 2.wie fuege ich Custom...
17 Replies - Ragnarok Online PServer Hosting
[Question] Custom NPCs
Hey sorry I can't really read german and I couldnt translate with babelfish what Alasami wrote because it's an image. But could someone guide me on...
0 Replies - Flyff PServer - Discussions / Questions
WoW, Mangos: custom NPCs?
Mangos, Rev 5966, WoW 2.4.2 Creating a custom NPC using the WoW Model Viewer My idea in short: 1.) create a NPC after my fancy 2.) save and...
0 Replies - WoW PServer Hosting
How can i put Custom NPCs GM shops in my server?
Hello, i have made my server work fine now. How can i put custom GM shops and Npc's buffers files? can anyone show me and tell me correctly how can...
4 Replies - Lin2 Private Server



All times are GMT +2. The time now is 10:05.


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.