Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.06.2005, 06:48   #1
ozz
Архивный участник
 
Join Date: Apr 2005
Posts: 21
Default Creating new NPC for trading.

Hi ppl !

I want to ask one serious question for me and for others (i hope so)

question is:

How i can make absolutely new NPC for game to do with him anithing what i want ?

I'm trying to create new NPC with my own idea to trade C Grade things in Giran town, but i can see only a little building like a travel shelter...

Somebody can tell me how i can do NEW NPC for my big project ?

thx... sorry for my English.
ozz is offline  
Old 22.06.2005, 08:13   #2
Virexor
Архивный участник
 
Join Date: May 2005
Posts: 81
Default

doesnt this belong in the help section?
Virexor is offline  
Old 22.06.2005, 08:37   #3
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

It does moved and only warning given.
paul is offline  
Old 22.06.2005, 22:53   #4
askey
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

long (not very long :wink: ) :

npcdata.txt
....
npc_begin merchant <your_id> [<your npc name>] .... npc_ai={[<your npc name>];{[fnHi] = [<your npc name>.htm]}}...npc_end
....

npc_pch.txt
...
[<your npc name>] = 1000000+<your_id>
...

npcpos.txt
*read Livid instructions

ai.obj
...
class <your npc name> : merchant_for_cgrade
class_end
...

in <your npc name>.htm
...
<a action="bypass -h multisell?id=??????">Show me your multisell </a>
...
* replace ????? with your multisell id

Remember to add your npc on client-side npcgrp.txt, npcname-e.txt
askey is offline  
Old 23.06.2005, 09:42   #5
ozz
Архивный участник
 
Join Date: Apr 2005
Posts: 21
Default

to askey: thx a lot !
ozz is offline  
Old 24.06.2005, 06:52   #6
ozz
Архивный участник
 
Join Date: Apr 2005
Posts: 21
Default

not working for me

to askey: i done all what you say... but when my server is starting, he stopped after petdata skript and taking error like this:

0x004affd0 unable to write memory stack 0x3188ff60...

and crashes... what happened ? Strange thing... if i try to add any NPC Warrior it's work fine, but if i try to add merchant class it's crashed... o_O
ozz is offline  
Old 24.06.2005, 06:54   #7
ozz
Архивный участник
 
Join Date: Apr 2005
Posts: 21
Default

somebody please help me !
ozz is offline  
Old 24.06.2005, 16:51   #8
askey
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

copy your npcdata from script in cached folder ... i dunno whats wrong in your files
askey is offline  
Old 27.06.2005, 09:17   #9
ozz
Архивный участник
 
Join Date: Apr 2005
Posts: 21
Default

copyed already but server crashed... after PETDATA ...
ozz is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:26.