Adding npc

12/11/2018 21:44 Kokoli5#1
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
12/12/2018 01:21 NosParty#2
search list npc item mob ecct
and open mapnpc create new npc :lul:
mapnpcid insert in shop !
12/12/2018 03:10 Itachi-Senpai#3
Quote:
Originally Posted by NosParty View Post
search list npc item mob ecct
and open mapnpc create new npc :lul:
mapnpcid insert in shop !
Holy shit i didnt understand one thing that you write:wutface::wutface:
12/12/2018 07:40 Saber none#4
Quote:
Originally Posted by Kokoli5 View Post
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
for what do you even need packetlogger? You have the Position command ingame. However its as simple as it sounds like, go to the database and look how the other npc´s are added then you basically just need to look at the parameters in your datatabse.
12/12/2018 10:35 erixor#5
You have a few tables in the database that allows you to do so.

MapNpc table : Allows you to add a npc with a specific dialog type/vnum/position

Shop table : Allows you to create a shop from an existing mapNpc

ShopItem/Shopskill : Allows you to add items/skills to your shop
12/12/2018 22:21 BuLLeT_tRaiN#6
Quote:
Originally Posted by Kokoli5 View Post
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:[Only registered and activated users can see links. Click Here To Register...])
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:[Only registered and activated users can see links. Click Here To Register...])
In Name you enter the Name that will be shown for the Shop. (e.g: Here the name of the shop is fairies)[Only registered and activated users can see links. Click Here To Register...]
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:[Only registered and activated users can see links. Click Here To Register...])
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 [Only registered and activated users can see links. Click Here To Register...]

Here's the list: (It's not mine! I only translated it and added some stuff. ^^)
[Only registered and activated users can see links. Click Here To Register...]

I hope i was able to help you :D 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.:mofo:

For any specific questions add me on Discord:

Kazumi#9142
12/13/2018 08:14 Saber none#7
Quote:
Originally Posted by BuLLeT_tRaiN View Post
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:[Only registered and activated users can see links. Click Here To Register...])
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:[Only registered and activated users can see links. Click Here To Register...])
In Name you enter the Name that will be shown for the Shop. (e.g: Here the name of the shop is fairies)[Only registered and activated users can see links. Click Here To Register...]
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:[Only registered and activated users can see links. Click Here To Register...])
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 [Only registered and activated users can see links. Click Here To Register...]

Here's the list: (It's not mine! I only translated it and added some stuff. ^^)
[Only registered and activated users can see links. Click Here To Register...]

I hope i was able to help you :D 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.:mofo:

For any specific questions add me on Discord:

Kazumi#9142
I mean its really cool that you put so much effort into that, but actually its really easy to understand how this works, you basically just need to be able to understand english.

Btw since you put that much effort in it you could make a new epvp thread just for that in order to make "Database ralted newbis" know what every column stands for.
12/13/2018 09:28 BuLLeT_tRaiN#8
Quote:
Originally Posted by mix0067@ View Post
I mean its really cool that you put so much effort into that, but actually its really easy to understand how this works, you basically just need to be able to understand english.

Btw since you put that much effort in it you could make a new epvp thread just for that in order to make "Database ralted newbis" know what every column stands for.
Yea i know but obviously there are ppl that dont understand this^^