How to make custom NPC help pls..

12/14/2009 13:50 vici0us#1
I was wondering if you can help me with my problem. im trying to set up a server for my friends and i to play. I wanted to know how to make a custom npc that sells the stuffs which i want him to sell.

Any help will be highly appreciated!

Thanks in advance.:handsdown:
05/09/2010 06:31 jamessimpler#2
I am wondering about this too... Have been looking/searching through and through but still no possible answer. Hopefully someone here will be kind enough to show us or point us to the right direction of where to look or edit. I know it got something to do with "NpcQuest.SData" but....
05/09/2010 08:22 Banker1173#3
search npcquest.sdata file for the merchant you want to edit, search for the item type and ID in hex that you want to change, and change. Some merchants have have some blank spots available, they will have 00 in the spot if they have blank spots available.
05/09/2010 14:48 jamessimpler#4
Thanks for the info Banker :)

However there is more to this than just edit npcquest.sdata. Allow me to add. Please correct me if I am wrong (I am a learning nub too). NPCQuest.sdata is a special files that contained all the available "NPC"s to your client.

To edit the existing NPC including items they r selling, just follow what Banker just mention (there is a thread here teaching how to edit), but if you wanna add new NPC (on a permanent basis) you need to add the NPC into the Map files at the server side (yet to prove this theory). To do this, you need a Map Editor (called is svmaptool_v1 which you can search it here in this forum). Now the Map Editor is (if not mistaken) in Chinese. So if for those who using English OSes, you will see only ???? character for most of the menu, etc.

To add the NPC you need 2 more info:

1: The name of the NPC
2: Exact Location (x:y) of where you want the NPC to be place.

However I also see that there is another another map (folder) inside the data.saf. Now this is the real test, which provide what? I mean do we edit the Map files inside the World Folder of the data.saf (which I doubt it becoz this provide only the visual side of it) or the Map Files at the Maps Folder of the PServer. I will write my finding here soon. Wish me luck.

Quote:
Originally Posted by Banker1173 View Post
search npcquest.sdata file for the merchant you want to edit, search for the item type and ID in hex that you want to change, and change. Some merchants have have some blank spots available, they will have 00 in the spot if they have blank spots available.
05/09/2010 21:44 Banker1173#5
You are correct James...I believe you need to add them to server side, however if the map files are different than what's in the data.saf file, it causes the swimming effect, but i'm not sure as I'm using an english OS and the map editor is all ????. I haven't been able to figure out how to save the changes that i've made. Good luck
05/10/2010 04:29 KaliKid#6
The data.saf you see in the client files are merely what the player sees and is not where the npc is added. The npc must be added on server side in the .svmap files. And just like, I've gotten as far as Banker trying to save the changes and get error messages. If you change your regional language on your OS to Chinese, the text is readable. I can't speak or read Chinese lol but it's a step up from seeing boxes. Still working on it though.
05/10/2010 18:18 jamessimpler#7
My problem is the same.. I gotten as far as Kalikid and Banker as well but only can open old map. Somehow the newer map i am not able to open using the svmaptool. something about Range Error. I guess we may need the newer svmaptool. I even tried to check the hex on the map but couldnt make sense out of the code. Although I managed to find the NPC inside the Map, but information such as axis:x,y,z i couldn't find or how to change them yet...
05/12/2010 19:42 omegaam#8
thx