Quote:
Originally Posted by Kokoli5
Hello, I would like to apologize if this is bad section, but my problem or rather the question is if anyone know about a tutorial which show how to add npc / shop to the game without the help of packetlogger ... Thanks for the reply
|
First of all you will go into the MapNpc Table in your DB.
There you will add a new Record or edit an already existing one.
In
MapNpcId you will add the next number after the last record (if its a new one) otherwise keep the old. (e.g. if the last one is 15600 you will enter 15601)
In
Dialog you just put 449 for a Shop Npc (e.g:

)
If you want other stuff like gambling or so just check the already existing npcs and check them ingame what happens when you speak with them. If you dont want the players to speak with the NPC just set it to 0.
Effects are cool but if you want effects then go do $Effect and test all the ids and check what you think is cool and add it there.
For
EffectDelay you put in 4750
IsDisabled you set to 0.
IsMoving just set to 0 if its a shop or smth. You can set it to 1 if the NPC has moving animations otherwise it will be invisible while moving.
IsSitting 0 for no and 1 for yes as always. I am NOT sure if every npc has a sitting animation.
In
MapId enter the MapId obviously. (e.g: Nosville is 1 and Nosville Meadows is 2)
In
MapX and MapY you enter the coordinates. For that you use
$Position ingame and there you have your MapID MapX and MapY.
In
NpcVNum you enter the MonsterID thats gonna be your NPC. For that just look into you ID_List

If you dont have an Item List i will link the tool at the end.
If you decided to make a Shop and not a roaming NPC you will head over to the
Shop Table now.
Here you will see 5 columns:
ShopId just add the next Number after the last one just as you did for MapNpcId.
In
MapNpcId you enter the MapNpcId of the Npc you just created before.
For
MenuType you can look up the list at the end. It defines what different shops your shop will have. (e.g:

)
In
Name you enter the Name that will be shown for the Shop. (e.g: Here the name of the shop is fairies)
ShopType is one of the most important things. This will decide what Options the Shop will have (like SP Upgrading, Buying Items, Gambling, Perfection etc.). I will add a list of alot of different types at the end
After you are done here you want to add items to your shop. This will be done in the Table
ShopItem.
ShopItemId is handled like
ShopId and
MapNpcId.
For
Color just add a 0.
ItemVNum is gonna be the Item the shop will sell.
Rare is obviously the rare it will have.
In
ShopId you enter the ShopId of the Shop that you set in the Table
Shop.
Slot is the Slot in the Shops Inventory (starting at 0 from left to right then go 1 down again from left to right. e.g:

)
For
Type i'm not really sure. I guess its 10 for Weapons 11 for Armour and 16 for Ressis 12 for Arrows and idk what else. Just find it out yourself. (Go to existing Shops and check the ItemVNum, search the VNUM in your itemlist and you will see what type that item is.
Upgrade is obviously for the upgrade level. You can also add Ressis that are already S1/2/3/4/5/6 but i am not sure if you have to put it in upgrades or rare (but i guess its upgrade). In the shop they will be shown as S0 but if you buy them they are S5.
Last but not least you want to edit the prices for the items. To do so you will go to the Table
Item and look for the VNUM of the item and then scroll to the right until you get the the
Price coloumn. there you can just enter the price and you are done
ID List Creator by IceTrailer
Here's the list: (It's not mine! I only translated it and added some stuff. ^^)
I hope i was able to help you

If anyone wants to correct something just tell me and i'll edit this. If you want i can also create a new thread for this.
For any specific questions add me on Discord:
Kazumi#9142