Tutorials & Stuff! This is a discussion on Mangos custom NPC vendors in the Tutorials & Stuff!; Description: you need to make a new creature first (creature_template table) with the following syntax :
Code:
insert into creature_template values
... |
 Mangos custom NPC vendors |
|
|
|
Da Boss!
|
|
My Mood:
|
|
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Join Date: Apr 2004
Location: Brooklyn, NY
|
|
|
Mangos custom NPC vendors -
January 5th, 2007
you need to make a new creature first (creature_template table) with the following syntax :
Code:
insert into creature_template values
(ID, Model, 0, 'name', 'subname', minlevel, maxlevel, minhealth, maxhealth, 1000, 1001, 18055, 1080, 16388, '1.35', 0, 'mindamage', 'maxdamage', 100, 1600, 1760, 0, 0, 0, '1.3', 0, '2', 0, 0, 0, 0, '57.728', '79.376', 100, '2.31', 7, 0, 138936390, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, '', 0, '');
change the bold stuff to what you want. make sure the ID is something high like 100000+
then add items to him using following :
Code:
insert into npc_vendor values
(ID, ItemID, 0, 0);
ID is same as above NPC id
|
 |
 Re: Mangos custom NPC vendors |
|
|
|
Private
|
|
|
|
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2007
|
|
|
Re: Mangos custom NPC vendors -
February 3rd, 2007
Dude....more info? I'm like: :KPsForum-001 (278):
How do u place the vendor?  Or, where does it appear?
|
 |
 Re: Mangos custom NPC vendors |
|
|
|
Da Boss!
|
|
My Mood:
|
|
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Join Date: Apr 2004
Location: Brooklyn, NY
|
|
|
Re: Mangos custom NPC vendors -
February 3rd, 2007
just do thatwhereever you want your NPC. replace [ID] with the ID you picked in the first part.
|
 |
 Re: Mangos custom NPC vendors |
|
|
|
Da ''New'' Boss
|
|
|
|
Posts: 2,041
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2007
Location: Usa
|
|
|
Re: Mangos custom NPC vendors -
February 3rd, 2007
11502, |Yeah but i dont care not like i'm using this for anything...|, 0, ' I_Eat_Noobs', ' The_Noob_Killer', 1, 255, 100, 99999999, 1000, 1001, 18055, 1080, 16388, '1.35', 0, ' 15000000', '500000000', 100, 1600, 1760, 0, 0, 0, '1.3', 0, '2', 0, 0, 0, 0, '57.728', '79.376', 100, '2.31', 7, 0, 138936390, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, '', 0, '');[/code]
Pretty good huh 
Last edited by Dakota911; February 3rd, 2007 at 13:10..
|
 |
 Re: Mangos custom NPC vendors |
|
|
|
Lance Corporal
|
|
|
|
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2007
Location: At Heerhugowaard. In the netherlands
|
|
|
Re: Mangos custom NPC vendors -
February 3rd, 2007
Actually, Half. You miss one part, The MODEL.
The ID isn't based on text but on numbers. So Ragnaros wouldn't be correct.
~Eoni
Things should be made as simple as possible, and not simpler. - Albert Einstein
Eoni-Fire Gaming style: 'Boom.. HEADSHOT'
|
 |
 Re: Mangos custom NPC vendors |
|
|
|
Da ''New'' Boss
|
|
|
|
Posts: 2,041
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2007
Location: Usa
|
|
|
Re: Mangos custom NPC vendors -
February 3rd, 2007
Quote:
Originally Posted by Eoni
Actually, Half. You miss one part, The MODEL.
The ID isn't based on text but on numbers. So Ragnaros wouldn't be correct.
~Eoni
|
i'm just messing around...
|
 |
|
|
|
Private
|
|
|
|
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
|
|
|
6 Days Ago
ehmm.. do u think u could make som vendors and put em in a link or something couse its sooo boring making them x3
|
 |
|
|
|
Da Boss!
|
|
My Mood:
|
|
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Join Date: Apr 2004
Location: Brooklyn, NY
|
|
|
6 Days Ago
i tend to doubt it. check your DB forums people post custom stuff there. also im not one for "emulator nao" poeple who want an emulator handed to them. this is for a learning project. learn something by making it.
|
 |
|