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]Creating boss and his fight!
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]Creating boss and his fight!
(#1)
Old
Kazard123's Avatar
Kazard123 is Offline
Corporal
Rep Power: 1
Reputation: 8
Kazard123 is an unknown quantity at this point
 
Posts: 21
Join Date: Mar 2008
[GUIDE]Creating boss and his fight! - 06-28-2008

First i would like to say credits to this go to me!

I. Ok go to[Only registered and activated users can see links. ] and create a npc vendor. Select some display id and entry id just writte anything i will be able to change it in sql file... And download thing u have made
II. Now open ur SQLyog/Navicat/heidisql w/e u use and execute stuff u made and save it... now go to your Creature_names in ascent stuff and find the npc u created
Code:
Entry: Put this w/e u want make 99999 mostly :D
Name: Here u put your main name like My server owns!
SubName: Here goes text under name put everything u want
Info_str: U best put 0 here
Flags1: This is stuff he will be beast, critter, humanoid... idk id's now
Type:This is the code you need to change, as we're doing a demon we put 3 over here.
Family: Sub category for type, i.e determinates if mob is spider,wolf etc. Leave it 0
Rank: Determinates is mob normal, rare,elite, world boss. As we like to have boss and it works this way we put number 3 here. (to spawn elite, boss is determinated later)
unk4: leave it as it is
spelldataid: Leave it as it is
male_displayid: To make a boss you need to know how it'll look like. As we're doing corrupted demon hunter we put Akielsh display ID here (16164 is the ID)
female_displayid: Use the same id as above, 16164
male_displayid2: leave it as it is
female_displayid2: leave it as it is
unkown_float1: put this 1
unkown_float2: put this 2
civilian: put this 0 as we don't want boss react as normal civilian
leader: put this 0. We don't make boss fight with several mobs now
Now close the creature_names after you've made sure everything is as it should be and you've saved your work.
Open up your creature_proto. This tab should be lcoated in same DB as the creature_names tab was.

First after you've opened the tab find your way to last page. Scroll down to bottom and make a new row (At navicat with + mark). Now start filling the lines:
Code:
Entry: The same entry you put on the creature_names tab
Minlevel: Minium level of the mob, as for bosses it's advised to put 2 levels more than the level cap is, so if we have level 70 lvl cap we put the boss as 72
Maxlevel: We don't want boss to scale the levels, put this as 72 too
Faction: Something with creatures is good here, put 14 as it's for normal creatures
Minhealth: This is important: Do not make too hard boss, use your brains! Because if one makes 20k mil. hp for boss and makes it hit hard and fast it's unstoppable. I putted 1,8 mil. hp as I want to create 5 man boss with t6 gearr.
Maxhealth:This can be equal to minhelath but can't be below, I putted 1,8 mil hp
Mana: This is needed if your boss casts spells, put something like 90k because we don't want the boss look like weak if he losess mana from single spell.
Scale: Determinates how big boss is, 1 is around the size of human, I put here 5,7
NPCFlags: Is same as in creature_names, leave it as 0
Attacktime: How fast you want your boss hit, the time is determinated in milliseconds so if you want the boss hit every 5th sec put 5000 or if you want him to hit every 1,5 min, put 90000
Attacktype: I don't know what this stands for, leave it as 0 if you want
mindamage: How high amount damage boss hits to the 0 armor minium, I put 3,4k
maxdamage: How high amount damage boss hits on the 0 armor maxium, I put 
5K
From here to mountdsiplayid, leave them 0
Code:
equipmodel1: I want boss hit with twinblades, I put their display ID here (45479)
equipinfo1: I have no idea where these come from but if you want a boss to hit with 1h weapon put 50267138
equipslot1: No idea, jsut put 768
Now boss has 1h on his main hand, if you want it to hit with two weapons fill the equipslot2 lines.
Respawntime: INdicates when boss will spawn back after it's killed in milliseconds. I put 72000 (1 min 12 seconds)
Armor: This DOES NOT mean the armor, it indicates the agility of the boss, so leave it 0 if you want boss to be hittable
Resistance1: Holy resistance
Resistance2: Arcane resistance
Resistance3: Nature resistance
Resistance4: Fire resistance
Resistance5: Shdaow resistance
Combatreach: How far away the boss can attack you, put 1 as it's good for this size boss
bounding_radious: How far away the boss will spot you, leave it 1 (50 will make it spot you before you see it)
auras: put 0
Boss: Well, we're making a boss os let's put 1 here (0=not true, 1=true)
money: Amount of money boss carries and is lootable in the end, I put 10000 (1g)
Rest you can leave as they are. Well done we're done with SQL edit!

III: Spawning the boss and creating waypoints
This is small thing to add and doesn't really affect the gameplay anyhow. Spawn your boss with its entry (Did you remember to resttart your server or reload creature_names and creature_proto?) where you like it to appear. To add waypoints type .waypoint add while targeting the boss and standing there where you want the boss want to move.
Below list of commands you need to know to use this chapter:

.npc spawn #EntryID 1
.waypoint add
.waypoint remove

IV. Now creating lua the hard part
This is the script i made but i didnt wanted to make another so i just copied this. If u dont like spells i put you can change them. and fill text to your wish!


Code:
function phase_1(pUnit, Event)
 if pUnit:GetHealthPct() < 99 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "Ur text goes here")
  pUnit:FullCastSpellOnTarget(47248,Unit:GetMainTank())
  pUnit:PlaySoundToSet(12505)
  pUnit:RegisterEvent("phase_2",1000, 0)
 end
end

function phase_2(pUnit, Event)
 if pUnit:GetHealthPct() < 98 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "UR TEXT HERE")
  pUnit:FullCastSpellOnTarget(39023,Unit:GetMainTank())
  pUnit:PlaySoundToSet(12506)
  pUnit:RegisterEvent("phase_3",1000, 0)
 end
end
 
function phase_3(pUnit, Event)
 if pUnit:GetHealthPct() < 97 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "UR TEXT HERE!")
  pUnit:PlaySoundToSet(12507)
  pUnit:FullCastSpellOnTarget(28627,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(38533,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(38533,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(38533,Unit:GetMainTank())
  pUnit:RegisterEvent("phase_4",1000, 0)
 end
end
 
function phase_4(pUnit, Event)
 if pUnit:GetHealthPct() < 50 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "UR TEXT HERE!")
  pUnit:PlaySoundToSet(12508)
  pUnit:FullCastSpellOnTarget(45664,Unit:GetMainTank())
  pUnit:RegisterEvent("phase_5",1000, 0)
 end
end
 
function phase_5(pUnit, Event)
 if pUnit:GetHealthPct() < 20 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "UR TEXT HERE!")
  pUnit:PlaySoundToSet(12509)
  pUnit:FullCastSpellOnTarget(40343,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(48441,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(512,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(25442,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(17668,Unit:GetMainTank())
  pUnit:FullCastSpellOnTarget(40876,Unit:GetMainTank())
  pUnit:RegisterEvent("phase_6",1000, 0)
 end
end


function phase_6(pUnit, Event)
 if pUnit:GetHealthPct() < 01 then
  pUnit:RemoveEvents();
  pUnit:SendChatMessage(14, 0, "UR TEXT HERE")
  pUnit:PlaySoundToSet(12510)
  pUnit:FullCastSpellOnTarget(44998,Unit:GetMainTank())
  pUnit:RegisterEvent("phase_7",1000, 0)
 end
end

function phase_7(pUnit, Event)
 if pUnit:GetHealthPct() < 100 then
  pUnit:RemoveEvents();        
  pUnit:CastSpell(46474)
 end
end

-- The OnKill and OnCombat stuff... Emerge is with this to...
function Kil_OnKill (pUnit, Event)
	pUnit:SendChatMessage(14, 0, "UR TEXT HERE")
	pUnit:PlaySoundToSet(12501)
end

function Kil_EnterCombat (pUnit, Event)
	pUnit:SendChatMessage(14, 0, "UR TEXT HERE")
	pUnit:PlaySoundToSet(12500)
	pUnit:CastSpell(35177)
end

function boss_start(pUnit, Event)
 pUnit:RegisterEvent("phase_1",1000, 0)
 end


RegisterUnitEvent(25320, 1, "Kil_EnterCombat")
RegisterUnitEvent(25320, 1, "boss_start")
RegisterUnitEvent(25320, 3, "Kil_OnKill")
Reply With Quote

Donate to remove ads.
(#2)
Old
darkmagishin's Avatar
darkmagishin is Offline
Master Sergeant
Rep Power: 1
Reputation: 10
darkmagishin is on a distinguished road
 
Posts: 94
Join Date: May 2008
Location: los angeles, ca
06-28-2008

sweet, thanks for the guide. by any chance do you know one in c++?


Reply With Quote
(#3)
Old
Kazard123's Avatar
Kazard123 is Offline
Corporal
Rep Power: 1
Reputation: 8
Kazard123 is an unknown quantity at this point
 
Posts: 21
Join Date: Mar 2008
06-29-2008

hmm i could try
its wouldnt be any difference
Reply With Quote
(#4)
Old
Shinyobject is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
Shinyobject is an unknown quantity at this point
 
Posts: 3
Join Date: Jun 2008
07-09-2008

how do you attach this script to your boss? or did i miss something?

nvm, figured it out =)

great guide!


Last edited by Shinyobject; 07-09-2008 at 02:38 PM.
Reply With Quote
(#5)
Old
yggdrassill is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
yggdrassill is an unknown quantity at this point
 
Posts: 4
Join Date: Jul 2008
07-09-2008

nice tut :P
Reply With Quote
(#6)
Old
Muruk 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
Muruk is an unknown quantity at this point
 
Posts: 45
Join Date: Mar 2008
07-11-2008

Hey by any chance, could you tell me what repack you were using, or how long ago your lua script was made. Because the CastSpellOnTarget(---, pUnit:GetMainTank())...or any of those doesnt seem to work with the AC Ultimate Repack.

I have tried it a few times but it just comes up with an error or it just casts on themself...
Reply With Quote
(#7)
Old
virgil85 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
virgil85 is an unknown quantity at this point
 
Posts: 7
Join Date: Feb 2008
07-11-2008

Hey mate ..
I don't get how to attach the Lua script .......
I have no idea how to do it /cry read over the guide a copule of the times and I didn't find anything that could help me out with the scrip ;(

Hope I get an answer
Reply With Quote
(#8)
Old
Ezikielth 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: 1
Ezikielth is an unknown quantity at this point
 
Posts: 22
Join Date: Aug 2007
07-26-2008

Good guide but I hate pUnit, I think that someone (surely not myself) should make a Unit: guide
Reply With Quote
(#9)
Old
MuffinInvasion's Avatar
MuffinInvasion is Offline
Contributor
Rep Power: 2
Reputation: 108
MuffinInvasion will become famous soon enoughMuffinInvasion will become famous soon enough
 
Posts: 371
Join Date: May 2007
Location: int Main
07-27-2008

Quote:
Originally Posted by virgil85 View Post
Hey mate ..
I don't get how to attach the Lua script .......
I have no idea how to do it /cry read over the guide a copule of the times and I didn't find anything that could help me out with the scrip ;(

Hope I get an answer
Just put the script in your "Scripts" folder then restart the server.....


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