KingPin's Forum
 
K.P.s.N. Register vbBux / KPs Mall Bugs Blogs FAQ Search Today's Posts Mark Forums Read Donate
Go Back   KingPin's Forum > KP's Network Forum > Tutorials & Stuff!
Reload this Page Mangos custom NPC vendors
 


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 ...

Reply
 
LinkBack Thread Tools
Mangos custom NPC vendors
(#1 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
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

 
Reply With Quote
Revenue Shared Ads
Re: Mangos custom NPC vendors
(#2 (permalink))
Old
lunarion is Offline
Private
Points: 811, Level: 7 Points: 811, Level: 7 Points: 811, Level: 7
Activity: 0% Activity: 0% Activity: 0%
lunarion is an unknown quantity at this point
 
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2007
Exclamation 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?
 
Reply With Quote
Re: Mangos custom NPC vendors
(#3 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
Join Date: Apr 2004
Location: Brooklyn, NY
Re: Mangos custom NPC vendors - February 3rd, 2007

Quote:
.addspw [ID]
just do thatwhereever you want your NPC. replace [ID] with the ID you picked in the first part.
 
Reply With Quote
Re: Mangos custom NPC vendors
(#4 (permalink))
Old
Dakota911's Avatar
Dakota911 is Offline
Da ''New'' Boss
Points: 2,196, Level: 13 Points: 2,196, Level: 13 Points: 2,196, Level: 13
Activity: 0% Activity: 0% Activity: 0%
Dakota911 is an unknown quantity at this point
 
 
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..
 
Reply With Quote
Re: Mangos custom NPC vendors
(#5 (permalink))
Old
Eoni's Avatar
Eoni is Offline
Lance Corporal
Points: 1,365, Level: 10 Points: 1,365, Level: 10 Points: 1,365, Level: 10
Activity: 0% Activity: 0% Activity: 0%
Eoni is on a distinguished road
 
 
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

 
Reply With Quote
Re: Mangos custom NPC vendors
(#6 (permalink))
Old
Dakota911's Avatar
Dakota911 is Offline
Da ''New'' Boss
Points: 2,196, Level: 13 Points: 2,196, Level: 13 Points: 2,196, Level: 13
Activity: 0% Activity: 0% Activity: 0%
Dakota911 is an unknown quantity at this point
 
 
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 View Post
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...
 
Reply With Quote
(#7 (permalink))
Old
xxWickedGamerxx is Offline
Private
Points: 45, Level: 1 Points: 45, Level: 1 Points: 45, Level: 1
Activity: 2% Activity: 2% Activity: 2%
xxWickedGamerxx is an unknown quantity at this point
 
 
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
 
Reply With Quote
(#8 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
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.
 
Reply With Quote
Revenue Shared Ads