Request LUA SCRIPT Burning Legion Invasion menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Request LUA SCRIPT Burning Legion Invasion

    Hello guys,

    I've made a cool mall and now for my players i want to make a daily quest which you need to protect the mall.

    So. I will create some elite mobs which will attack mall ( never stop ).




    Thanks in advance.

    Request LUA SCRIPT Burning Legion Invasion
  2. #2
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you be a little bit more specific, so that we know what to create.
    What you are asking (as I understand it) is for us to create a never ending script which:
    1. Spawns mobs.
    2. Makes mobs attack mall.
    3. Have player kill 5-10 of em then complete quest.

    But here is what some but some of the information needed to do this:

    What scale: How many mobs do you want attacking the mall.
    Which mobs: What level? What displayid? Equipped weapons?
    Coordinates: Where should they spawn, where should they run too, where should the guards be.
    What triggers the event in the first place?

    Best Regards Minupi

  3. #3
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    150/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function SpawnMonsters()
      PerformInGameSpawn(id, x, y, z, o, faction, time)
    end
    
    CreateLuaEvent(SpawnMonsters, 60000, 0)
    Something like that?

  4. #4
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1. Spawns mobs.
    2. Makes mobs attack mall.
    3. Have player kill 5-10 of em then complete quest.

    But here is what some but some of the information needed to do this:

    What scale: How many mobs do you want attacking the mall.
    Which mobs: What level? What displayid? Equipped weapons?
    Coordinates: Where should they spawn, where should they run too, where should the guards be.
    What triggers the event in the first place?

    Yes. I want to spawn elites which will attack the mall, there will be custom guards.
    And, the quest will say , kill 5 elites to complete.

    Scale -> 3
    Which moobs -> 100 level
    Coordinates
    So. They should be there
    Request LUA SCRIPT Burning Legion Invasion-1z2368n-png

    And should run here where they'll meet the guards
    Request LUA SCRIPT Burning Legion Invasion-67qwz8-png





    --
    StoneHarry.

    function SpawnMonsters()
    PerformInGameSpawn(id, x, y, z, o, faction, time)
    end

    CreateLuaEvent(SpawnMonsters, 60000, 0)

    I need to replace ID with entry NPC ID ?
    X,Y,Z with coordonates where mobs will be ?


    So, the mobs will be in another place, and they will walk until arrive to mall.

    So, i think in the script will be coordonates like
    x,y,z -> where they are
    x,y,z -> where they need to arrive

  5. #5
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Code:
    function SpawnMonsters()
      PerformInGameSpawn(id, x, y, z, o, faction, time)
    end
    
    CreateLuaEvent(SpawnMonsters, 60000, 0)
    Something like that?

    So simple<3!

  6. #6
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yea, ID = npcid
    X, y, z = coordinates.
    Faction = he faction obviously.
    Time = spawn duration of the mob.
    Notice that this does not move them, for that you would need to use the SomeVar:MoveTo method.
    I will explain more, when I am home, and not using the phone.

    Edit: Sorry for double post!
    Last edited by minupii; 04-03-2013 at 07:17 AM.

  7. #7
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot Minupii&Stoneharry. I'm so sorry but i can't give you rep because i does not have..

    function SpawnMonsters()
    PerformInGameSpawn(79002, -3546.46, -906.04, 9.41, o, faction, time)
    end

    CreateLuaEvent(SpawnMonsters, 60000, 0)

    I've replaced id ,and chanched coordinated for wetland. But i have some questions

    What mean that o from " , o, faction, time) "
    faction must be an ID or i can put ENEMY ?
    Time represent sec,min or h ?

    Thanks in advance.

  8. #8
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O = orientation
    Faction must an id, seaech google for faction ids arcemu.

    Rep does not mather:-)

    Regards minupi

  9. #9
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot minupii.

    Time must be in sec/min/or h ?

  10. #10
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1min = 60000, so milliseconds.
    It is no problem, really. Just glad, that I can help.
    I can post the script as I would had made it, when I get home :-)

  11. #11
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nelanaroth View Post
    Thanks a lot minupii.

    Time must be in sec/min/or h ?
    Counters are always in ms...

  12. #12
    minupii's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Sep 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is right, tho you could make a function that auto converts seconds into milliseconds, obviously.
    Last edited by minupii; 04-03-2013 at 07:31 AM.

  13. #13
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here appear an error

    Request LUA SCRIPT Burning Legion Invasion-t983uc-jpg


    Lua script

    function SpawnMonsters()
    PerformInGameSpawn(79002, -3546.46, -906.04, 9.41, 6.28, 168, 120000)
    end

    CreateLuaEvent(SpawnMonsters, 60000, 0)

  14. #14
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    150/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Master674 View Post
    Counters are always in ms...
    TrinityCore likes to do it's own thing and have random values sometimes in seconds and sometimes in ms. Logic, there is none.

    @Nelan, what Lua engine are you using?

    Try changing:

    CreateLuaEvent(SpawnMonsters, 60000, 0)

    to:

    RegisterTimedEvent("SpawnMonsters", 60000, 0)

  15. #15
    Nelanaroth's Avatar Corporal
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Same problem..
    Request LUA SCRIPT Burning Legion Invasion-34s2ixk-png

Page 1 of 2 12 LastLast

Similar Threads

  1. [Lua Script] [Request] LUA Script on game objects
    By Ultradethv2 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 08-10-2010, 10:17 AM
  2. [ArcEmu] [Request]Lua Script for Gameobjects
    By SupernovaHH in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-31-2010, 04:07 PM
  3. [Request] Lua Script Transition
    By B14d3r11 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-04-2009, 04:49 AM
  4. [HELP/Request] LUA Script
    By Babbaa in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 07-29-2008, 07:34 AM
  5. [Request] LUA Scripting
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 12-31-2007, 06:28 PM
All times are GMT -5. The time now is 04:47 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search