Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides

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
  #16  
Old 07-14-2009
Hap-Ki-Do Master's Avatar
Hap-Ki-Do Master is offline.
Contributor
  
 
Join Date: Oct 2007
Location: Earth...
Posts: 485
Reputation: 102
Points: 4,962, Level: 7
Points: 4,962, Level: 7 Points: 4,962, Level: 7 Points: 4,962, Level: 7
Level up: 52%, 438 Points needed
Level up: 52% Level up: 52% Level up: 52%
Activity: 29.4%
Activity: 29.4% Activity: 29.4% Activity: 29.4%

Nice.

:O I already posted in this guide woops
__________________
[Only registered and activated users can see links. ]

Last edited by Hap-Ki-Do Master; 07-22-2009 at 12:54 AM.
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #17  
Old 07-15-2009
blackfang500's Avatar
blackfang500 is offline.
Knight-Champion
  
 
Join Date: Apr 2007
Location: In your head.
Posts: 480
Reputation: 35
Points: 2,548, Level: 4
Points: 2,548, Level: 4 Points: 2,548, Level: 4 Points: 2,548, Level: 4
Level up: 64%, 252 Points needed
Level up: 64% Level up: 64% Level up: 64%
Activity: 4.3%
Activity: 4.3% Activity: 4.3% Activity: 4.3%

VERY nice, I read most of it and I'll finish it later, this may motivate me to make my server again. x3 goes without saying.
__________________
Reply With Quote
  #18  
Old 08-04-2009
Haldir is offline.
New User
  
 
Join Date: May 2008
Posts: 10
Reputation: 2
I've one question: Unit:RegisterEvent("Creature_CastSpell", 1000, 0(1))
What's 0 or 1, in the end. What's that for? I can't get it, help to noob please
Btw nice guide, +rep
Edit: And one more, what's the difference between Unit and pUnit?

Last edited by Haldir; 08-04-2009 at 05:49 AM.
Reply With Quote
  #19  
Old 08-04-2009
gudon is offline.
New User
  
 
Join Date: Jun 2008
Posts: 3
Reputation: 1
does this tutorial really work? im sick of these fly by nights
Reply With Quote
  #20  
Old 08-04-2009
Vision1000's Avatar
Vision1000 is online.
Contributor
  
 
Join Date: Jun 2008
Location: can of duh
Posts: 102
Nominated 12 Times in 4 Posts
Reputation: 102
Points: 1,022, Level: 2
Points: 1,022, Level: 2 Points: 1,022, Level: 2 Points: 1,022, Level: 2
Level up: 25%, 378 Points needed
Level up: 25% Level up: 25% Level up: 25%
Activity: 2.6%
Activity: 2.6% Activity: 2.6% Activity: 2.6%

Quote:
Originally Posted by Haldir View Post
I've one question: Unit:RegisterEvent("Creature_CastSpell", 1000, 0(1))
What's 0 or 1, in the end. What's that for? I can't get it, help to noob please
Btw nice guide, +rep
Edit: And one more, what's the difference between Unit and pUnit?
The 0/1 stands for how many times "Creature_CastSpell" will get called on.

If you put in 0, it will call "Creature_CastSpell" And execute any code within "Creature_CastSpell"s function every second, until stopped with the command (Unit:RemoveEvents()). If you put in a 1, it means it will only be called upon once, executing the code within "Creature_CastSpell" just once. If you change it to a 2, it will call upon the function twice. And so on.
Reply With Quote
  #21  
Old 08-05-2009
WarOwner is offline.
New User
  
 
Join Date: Aug 2009
Posts: 4
Reputation: 2
Points: 41, Level: 1
Points: 41, Level: 1 Points: 41, Level: 1 Points: 41, Level: 1
Level up: 11%, 359 Points needed
Level up: 11% Level up: 11% Level up: 11%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Great repack!
Reply With Quote
  #22  
Old 08-05-2009
Haldir is offline.
New User
  
 
Join Date: May 2008
Posts: 10
Reputation: 2
Thanks vision!!!! x2
Reply With Quote
  #23  
Old 08-05-2009
Heliumz's Avatar
Heliumz is offline.
Master Sergeant
  
 
Join Date: Jun 2009
Posts: 84
Reputation: 13
Points: 219, Level: 1
Points: 219, Level: 1 Points: 219, Level: 1 Points: 219, Level: 1
Level up: 55%, 181 Points needed
Level up: 55% Level up: 55% Level up: 55%
Activity: 2.6%
Activity: 2.6% Activity: 2.6% Activity: 2.6%

Thank you!
Amazing detailed guide
Reply With Quote
  #24  
Old 08-05-2009
Haldir is offline.
New User
  
 
Join Date: May 2008
Posts: 10
Reputation: 2
Eh, need help again..
I want to spawn 3 npcs and then make them move to X Y Z coords, each npc will have its own coords. Can someone tell me how to do it? I know how to spawn, but don't know how to make them move not together.
I've no idea how to do it, please help somebody. If i'll do it like this, will it work or not?
function Spawn(Unit1,Unit2,Unit3, Event)
Unit1:SpawnCreature(NPCID,X,Y,Z,O,FactionID,duratation)
Unit2:SpawnCreature(NPCID,X,Y,Z,O,FactionID,duratation)
Unit3:SpawnCreature(NPCID,X,Y,Z,O,FactionID,duratation)
Unit1:MoveTo(X,Y,Z,O)
Unit2:MoveTo(X,Y,Z,O)
Unit3:MoveTo(X,Y,Z,O)

Last edited by Haldir; 08-05-2009 at 09:31 AM.
Reply With Quote
  #25  
Old 08-06-2009
-Jebus Fist-'s Avatar
-Jebus Fist- is offline.
Contributor
  
 
Join Date: Mar 2008
Location: On uranus
Posts: 797
Reputation: 237
Points: 5,467, Level: 8
Points: 5,467, Level: 8 Points: 5,467, Level: 8 Points: 5,467, Level: 8
Level up: 7%, 1,033 Points needed
Level up: 7% Level up: 7% Level up: 7%
Activity: 20.1%
Activity: 20.1% Activity: 20.1% Activity: 20.1%

I think you need to have Another npc that spawns them, you can also have an item. But then youd have to go ingame.
To the place where you want the minions to spawn. And write .gps and then use that info.

Quote:
local Unit1 = ID -- Put ID's for the units on these 'locals'
local Unit2 = ID
local Unit3 = ID

function despawn(Unit, Event)
pUnit = ID -- This is the ID for the npc that spawns creatures.
x = pUnit:GetX() -- Gets the X where the npc stands.
y = pUnit:GetY() -- Gets the Y where the npc stands.
z = pUnit:GetZ() -- Gets the Z where the npc stands.
o = pUnit:GetO() -- Gets the O where the npc stands.
pUnit:RegisterEvent("Next_Step", 1, 0) -- New event
end

function Next_Step(Unit, Event)
pUnit:SpawnCreature(Unit1, x + 4, y, z, o, Faction, Duration) -- Spawns creature at the same position as the summon npc, only +4 x
pUnit:SpawnCreature(Unit2, x + 7, y, z, o, Faction, Duration) -- Spawns creature at the same position as the summon npc, only +7 x
pUnit:SpawnCreature(Unit3, x + 1, y, z, o, Faction, Duration) -- Spawns creature at the same position as the summon npc, only +1 x
pUnit:despawn() -- Despawns the summon npc.
end
Hope this works.

Good guide, mate. Im reading it now. ^^ Ill be repping you later.
__________________

Last edited by -Jebus Fist-; 08-06-2009 at 05:23 AM.
Reply With Quote
  #26  
Old 08-06-2009
Haldir is offline.
New User
  
 
Join Date: May 2008
Posts: 10
Reputation: 2
Thx jebus, +rep
Reply With Quote
  #27  
Old 08-06-2009
Haldir is offline.
New User
  
 
Join Date: May 2008
Posts: 10
Reputation: 2
Oh, and how to make them move in diff spots?
Reply With Quote
  #28  
Old 08-06-2009
-Jebus Fist-'s Avatar
-Jebus Fist- is offline.
Contributor
  
 
Join Date: Mar 2008
Location: On uranus
Posts: 797
Reputation: 237
Points: 5,467, Level: 8
Points: 5,467, Level: 8 Points: 5,467, Level: 8 Points: 5,467, Level: 8
Level up: 7%, 1,033 Points needed
Level up: 7% Level up: 7% Level up: 7%
Activity: 20.1%
Activity: 20.1% Activity: 20.1% Activity: 20.1%

This script will only make the npc move from its current position.

Change the red. You can change it to like.
pUnit = MoveTo(x + 5, y - 5, z, o)

Code:
function Move(Unit, Event)
pUnit = ID -- The id of the creature you want to move
x = pUnit:GetX() -- Gets the X where the npc stands.
y = pUnit:GetY() -- Gets the Y where the npc stands.
z = pUnit:GetZ() -- Gets the Z where the npc stands.
o = pUnit:GetO() -- Gets the O where the npc stands.
pUnit = MoveTo(x, y, z, o)
end
__________________
Reply With Quote
  #29  
Old 08-11-2009
myran2 is offline.
New User
  
 
Join Date: Dec 2008
Posts: 81
Reputation: 4
Points: 405, Level: 1
Points: 405, Level: 1 Points: 405, Level: 1 Points: 405, Level: 1
Level up: 1%, 495 Points needed
Level up: 1% Level up: 1% Level up: 1%
Activity: 0.7%
Activity: 0.7% Activity: 0.7% Activity: 0.7%

This is great, Thanks!
also, +rep !
Reply With Quote
  #30  
Old 08-12-2009
Wheeze201's Avatar
Wheeze201 is offline.
Lieutenant Commander
  
 
Join Date: Apr 2007
Posts: 626
Reputation: 51
Points: 2,273, Level: 4
Points: 2,273, Level: 4 Points: 2,273, Level: 4 Points: 2,273, Level: 4
Level up: 25%, 527 Points needed
Level up: 25% Level up: 25% Level up: 25%
Activity: 0.3%
Activity: 0.3% Activity: 0.3% Activity: 0.3%

More and more lua guides popping up but i like this one!
It's massive and colorful.

+rep
__________________
Server ad's in sigs have to be approved by an admin.
Reply With Quote
Reply

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



All times are GMT -4. The time now is 04:27 PM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1

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 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493