Results 1 to 9 of 9
-
28-05-10, 02:47 PM #1
[Trinitycore2] How to create a vendor [3.3.3]
Register to remove this adDimman's "How to create a vendor for TC2 tutorial".
1: Open up a new text document with Notepad/wordpad/word. etc
2: Paste the following template in
Code:INSERT INTO creature_template VALUES ('NPCENTRY', '0', '0', '0', '0', '0', 'DISPLAYID', '0', '0', '0', 'NAME', 'SUBNAME', '', '0', '60', '60', '0', '35', '35', '128', '1', '1.4286', '1', '0', '100', '100', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '', '0');NPCENTRY= Npc id, the number you are going to use when your going to spawn the npc.
DISPLAYID= The model of the npc. (You can find display ids \here/ credits: wow-v)
Ex: Stormwind guard display id = 3167NAME= The npc/vendors name.SUBNAME= The subname of the npc/vendor (will be below the name (guildname on characters)
3: use the "save as" feautere in your text editor and save it as:
FILENAME.sql
Save as type: All files
4: Execute the sql into the "world" database.
5: Make a copy of the SQL file you just made and delete all the text inside and replace it with:
ITEMID = Item you want the vendor to sell (ID) check wowhead.Code:INSERT INTO npc_vendor VALUES ('NPCENTRY','0','ITEMID',0,'0',0); INSERT INTO npc_vendor VALUES ('NPCENTRY','0','ITEMID',0,'0',0); INSERT INTO npc_vendor VALUES ('NPCENTRY','0','ITEMID',0,'0',0); INSERT INTO npc_vendor VALUES ('NPCENTRY','0','ITEMID',0,'0',0); INSERT INTO npc_vendor VALUES ('NPCENTRY','0','ITEMID',0,'0',0);
NPCENTRY = The ID of the NPC you created before.No touching please.
-
30-05-10, 12:01 PM #2
Nice,

Just got my pc back
-
31-05-10, 01:25 PM #3
-
30-06-10, 09:01 AM #4Beginner

- Join Date
- Jun 2010
- Posts
- 22
- Rep Power
- 16
- Reputation
- 1
added.
-
09-07-10, 05:32 PM #5
I give up need to ask. Where the hell do you execute this you say in to the "world" where in the databas? i was following your guide but it was to advanced to i found this: How to create custom npc on Mangos - Reaper-X scroll down to: Creating new entry for custom NPC. That is the part i dont understand WHERE to execute in to the databas...
-
13-07-10, 01:54 AM #6Beginner

- Join Date
- Jun 2010
- Posts
- 6
- Rep Power
- 16
- Reputation
- 3
Very nice !!
-
16-07-10, 09:04 AM #7
-
04-08-10, 06:48 AM #8
-
09-01-12, 01:15 PM #9Beginner

- Join Date
- Jan 2012
- Posts
- 16
- Rep Power
- 15
- Reputation
- 1
Register to remove this adThanks A lot i need much this guide and now i find xD Thank you!






Reply With Quote









