MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides

Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides
Reload this Page Guide: How to creatre Custom npc's
Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
Guide: How to creatre Custom npc's
(#1)
Old
theowner is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 2
theowner is an unknown quantity at this point
 
Posts: 53
Join Date: May 2007
Location: Look behind you...
Wow Guides Guide: How to creatre Custom npc's - 06-17-2008

Contents of this Guide:
1.) What this guide is about
2.) The SQL queries
3.) Step by Step guide on how to make a custom npc

1.) What this Guide is about
Hey guys! This guide is all about how to make a Custom npc for your World of Warcraft private server. In this guide you will learn two things. The first is what an SQL query is, and how to use SQL queries to make Custom npcs. (This is my first guide, sorry if its not the best).

2.) The SQL queries
So, some of you people out there might be wondering what an SQL Query is? Well an SQL query is very simple, it is a command that inserts information into your database. SQL queries can be used for more that creating npcs. They can create custom quests, custom items, custom game objects, etc. So basically if you ever want to have a custom server that you made, you need to know how to form and utilize SQL queries.

3.) Step by Step guide on creating a custom NPC
So after all the boring stuff we finally get to creating a custom npc . This guide will be about making a custom ELITE raid mob.

So we will start by opening a blank word document and typing this in
"INSERT INTO `creature_proto`
" (without the RED Quotation marks)
This command is the starting point for any query. This command tells the SQL server to insert the following information into the database.

Now add a space and type the following
"VALUES" without the red quotes. Now your Query should look this "INSERT INTO `creature_proto` VALUES"

Now after this type a space then type the following in...
('EntryID', 'MinLevel', 'Maxlevel', 'Faction', 'MinHealth', 'Maxhealth', 'Mana', 'Scale', 'Npc flags', 'Attack time', 'Attack Type', 'Mindamage', 'Maxdamage', 'Rangedattacktime', 'RangedMindamage', 'RangedMaxdamage', 'MountdisplayId', 'EquipModel1', 'Equipinfo1', 'EquipSlot1', 'EquipModel2', 'EquipInfo2', 'EquipSlot2', 'Equipmodel3', 'Equipinfo3', 'EquipSlot3', 'Respawntime', 'Armour', 'Resistance1', '
Resistance2', 'Resistance3', 'Resistance4', 'Resistance5', 'Resistance6', 'Combatreach', 'Bounding Radius', 'Auras', 'Boss', 'Money', 'Invisibilitytype', 'Deathstate', 'walkspeed', 'Runspeed', 'Flyspeed', 'Extraa9flags');

Now I'm 100% sure that 99% of the people looking at this are going, WTF?

Do not worry, I will explain it all to you The following is a list of what all of these mean, if I do not explain something LEAVE IT AT 0. If you leave anything simply blank, when you try to use this it will not work!
Okay, now back to buisness
EntryId: Replace this with the entryId you wish your custom npc to have!
MinLevel: The minimum level your npc, If your minimum level is 69 and your maximum is 71 every time you spawn it it could be level 69, 70 or 71.
MaxLevel: The Maximum level of your custom Npc
Faction: The faction of your npc, if you want your NPC to be friendly to everyone put its faction at 35! If you want your NPC to be hostile to everyone put the faction as 46!
MinHealth: The minimum health of your NPC
Maxhealth: The maximum health of your NPC
Mana: The mana of your npc
Scale: The scale of your npc, the bigger the number the bigger your npc is! (Dont make it over scale 10 or players will have problems attacking the npc, and it will lag the server)
AttackTime: The attack time of your npc, the attack time is in MS. Therefore 1000=1 second. so if you want the attack time of your NPC to be 3, the attack time would be 3000
MinDamage: The minimum damage of your npc (Take into account the fact that 60%-70% of this damage can be negated by a druid or a warrior in tanking gear)
MaxDamage: The maximum damage of your npc
Rangedattacktime: Same as attack time
Rangedmindamage: The same as Min damage
Rangedmaxdamage: The same as Max damage
MountDisplayid: This is the display id of the creature you want them to mount, look through your database or look around the forums to get the displayids of some mounts.
EquipModel1: The displayid of the weapon you want your NPC to be holding
EquipModel2: The same as EquipModel1
EqupModel3: The same as Equipmodel1
RespawnTime: How long it takes for the NPC to respawn. This Value is in MS meaning if you want it to respawn in one minute the respawn time would be 60000!
Armour: The armour value of the NPC, works the same as player armour does.
Resitance1-Resitance6: Leave blank, sometimes they bug the script
CombatReach: How far the NPC can reach in combat, set the Value of combatreach to 1 if you want it to be like a normal NPC
BoundingRadius: Leave at 1
Auras: Spell Id of an Aura. Go to [Only registered and activated users can see links. ] to find spell Id's If you don't want any leave it at 0
Boss: If you want the Npc to be a boss set this to 1, if you dont set it to 0
Money: The ammount of money the NPC drops in copper (Take into consideration the Money drop rate on your server)
Walkspeed: The walk speed of the NPC, the standard walk speed of an NPC is 2.5
Runspeed: The run speed of the NPC, the standard run speed of an NPC is 8, so it can outrun players.
Flyspeed: The flyspeed of the NPC, the standard fly speed of an npc is 14.

Now that thats done I will give you an example of what my Query for Necro knight looks SO FAR
INSERT INTO `creature_proto` VALUES ('234242', '72', '72', '46', '40000', '40000', '0', '1.5', '0', '1450', '0', '7000', '13000', '0', '0', '0', '0', '45509', '0', '256', '0', '0', '0', '0', '0', '0', '360000', '25000', '0', '0', '0', '1', '0', '0', '1', '1', '0', '1', '154', '0', '0', '2.5', '8', '14', '0');
I know what most of you are thinking, "So far! Isn't this it?"
Well guess what! It's not! We still need to add another part to the file
Now Below that Query insert another one...

"INSERT INTO `creature_names` VALUES ('EntryId', 'Name', 'Subname', 'Info_str', 'Flags', 'Type', 'Family', 'Rank', 'Unk_4', 'Spell_id_date', 'Maledisplayid1', 'Femaledisplayid1', 'Maledisplayid2', 'femaledisplayid2', 'Unkown_float1', 'Unkown_float2', 'Civilian', 'Leader');" Without the red quotes

EntryId: Same as you used in Creature_proto
Name: Name of your NPC
Subname: The name that goes underneath your npcs name, very much similar to Guilds.
Info_str: LEAVE BLANK! Dont put a zero or anything, simply leave it blank, this is the only VALUE that you can do this with
Flags: I normally leave them blank, it just complicates things.
Type: Determines whether your NPC is a beast, humanoid, undead, etc.
1 = Beast
2 = Dragonkin
3 = Demon
4 = Elemental
5 = Giant
6 = Undead
7 = Humanoid
8 = Critter
9 = Mechanical
10 = Not Specified
11 = Totem
Rank: Determines if the Npc is a boss, rare, or an elite, 1 = an elite 2 = rare, 3 = Boss.
Family: leave at 0
Maledisplayid : This is where you put the displayid of the NPC, if the displayid is male put it here
Femaledisplayid: If the displayid is female put it here
Civilian: Leave at 0
Leader: leave at 0

So once your done your file should look like this

INSERT INTO `creature_proto` VALUES ('234242', '72', '72', '46', '40000', '40000', '0', '1.5', '0', '1450', '0', '7000', '13000', '0', '0', '0', '0', '45509', '0', '256', '0', '0', '0', '0', '0', '0', '360000', '25000', '0', '0', '0', '1', '0', '0', '1', '1', '0', '1', '154', '0', '0', '2.5', '8', '14', '0');
INSERT INTO `creature_names` VALUES ('234242', 'Necro Warrior', 'Servant of Arthas', '', '0', '6', '0', '1', '0', '0', '11396', '0', '0', '0', '1.15', '1', '0', '0');

(feel free to copy that Query and use it on your server )

Now once your done save it as a .SQL file, open up your database click on the right click on the ascent folder and click "Execute Batch". After your done do .reload creature_proto and .reload creature_names. Then spawn your creature

Thanks for reading, this is my first guide.

No one can copy this guide.






Reply With Quote

Donate to remove ads.
Omg Thx!
(#2)
Old
Sambah is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
Sambah is an unknown quantity at this point
 
Posts: 5
Join Date: Jun 2008
Omg Thx! - 06-19-2008

Thank you so much! I'm trying to create my own funserver and i tried to edit the NPC DB but it didn't work! This guide helped so much! If i could give rep i would. Well, now i'm off to find out how to make custom tele npc's, any idea how?
Reply With Quote
(#3)
Old
itachiu37's Avatar
itachiu37 is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 2
itachiu37 is an unknown quantity at this point
 
Posts: 44
Join Date: Jan 2008
06-29-2008

dude i have a problem i cant save it as SQl cos i dont have that option what can i do please?
Reply With Quote
(#4)
Old
theowner is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 2
theowner is an unknown quantity at this point
 
Posts: 53
Join Date: May 2007
Location: Look behind you...
06-29-2008

? I dont know how you couldnt save it as an sql, in notepad or word when you save it, as a name put blahblah.sql
Reply With Quote
(#5)
Old
Shichiroi's Avatar
Shichiroi is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 2
Shichiroi is an unknown quantity at this point
 
Posts: 22
Join Date: May 2008
07-01-2008

Well, if you have HeidiSQL... dunno from others... But it doesn't matter where you save it. Since when you have the code ready, go to the ascent query and paste the code there... then press F9 and it's in... Though it will not be there instantly, you need to restart server or reload the database thingies.
Reply With Quote
Reply

Donate to remove ads.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328