![]() |
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. |
doesnt this belong in the help section?
|
It does moved and only warning given.
|
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 |
to askey: thx a lot !
|
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 |
somebody please help me !
|
copy your npcdata from script in cached folder ... i dunno whats wrong in your files
|
copyed already but server crashed... after PETDATA ...
|
| All times are GMT. The time now is 22:35. |