Boss Script menu

Shout-Out

User Tag List

Thread: Boss Script

Results 1 to 11 of 11
  1. #1
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Boss Script

    Hello!
    I have made a custom boss, Arthas to my server and I want him to cast spells.
    I want him to cast this Frostbolt (Frostbolt - Spell - World of Warcraft)
    But when I tried him he just casted it on himself...
    I've tried with Unit:FullCastSpellOnTarget(55802, Unit:GetMainTank()) and CastSpellOnTarget(55802, Unit:GetMainTank()) and just Castspell((55802).
    I think it should be the first one...
    But I cant get it to work!

    Any Ideas?

    Boss Script
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    What Lua engine are you using?
    The best one i've found so far is Lua AppArc or something but it only supports ArcEmu.
    The default Aspire engine and Sun++ that I tried were completly rubbish last time I tried it (yesterday) as barely any of the commands were working properly.

  3. #3
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How/where can I see wich Lua engine I'm using? xD

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Well, did you use a repack or compile your own server? Whats the file called as well in your script bin? (It will be LuaScripting.dll or ArcScripting.dll etc)

  5. #5
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used a 3.0.8 repack I found, its Arcemu. I have both ArcScriptEventScripts.dll and LUAScripting.dll

  6. #6
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    ArcScriptEventScripts.dll is event scripts, mainly darkmoon fair.
    LuaScripting.dll is the scripting engine, I think thats AppArc.
    If it's not working (first one on your ideas) then it's something wrong with your script not that part

  7. #7
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Post the entire scriptz

    I live in a shoe

  8. #8
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function Arthas_OnCombat(Unit, Event)
    Unit:SendChatMessage(14, 0, "Hehehe! I am the Lich King, Nothing can stop me")
    Unit:RegisterEvent("Arthas_Spell1", 60000, 6)
    end

    function Arthas_Spell1(Unit, Event)
    Unit:FullCastSpellOnTarget(55802, Unit:GetMainTank())
    Unit:SendChatMessage(14, 0, "Die!!!")
    end

    function Arthas_OnLeaveCombat(Unit, Event)
    Unit:RemoveEvents()
    end

    function Arthas_OnKilledTarget(Unit, Event)
    end

    function Arthas_OnDied(Unit, Event)
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(95087, 1, "Arthas_OnCombat")
    RegisterUnitEvent(95087, 2, "Arthas_OnLeaveCombat")
    RegisterUnitEvent(95087, 3, "Arthas_OnKilledTarget")
    RegisterUnitEvent(95097, 4, "Arthas_OnDied")

  9. #9
    Mircast's Avatar Member
    Reputation
    14
    Join Date
    Sep 2008
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zimonken View Post
    function Arthas_OnCombat(Unit, Event)
    Unit:SendChatMessage(14, 0, "Hehehe! I am the Lich King, Nothing can stop me")
    Unit:RegisterEvent("Arthas_Spell1", 60000, 6)
    end

    function Arthas_Spell1(Unit, Event)
    Unit:FullCastSpellOnTarget(55802, Unit:GetMainTank())
    Unit:SendChatMessage(14, 0, "Die!!!")
    end

    function Arthas_OnLeaveCombat(Unit, Event)
    Unit:RemoveEvents()
    end

    function Arthas_OnKilledTarget(Unit, Event)
    end

    function Arthas_OnDied(Unit, Event)
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(95087, 1, "Arthas_OnCombat")
    RegisterUnitEvent(95087, 2, "Arthas_OnLeaveCombat")
    RegisterUnitEvent(95087, 3, "Arthas_OnKilledTarget")
    RegisterUnitEvent(95097, 4, "Arthas_OnDied")
    It looks fine to me, try
    Code:
    Unit:GetRandomPlayer(0))
    See if that makes a difference.

  10. #10
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice it worked, thank you!
    Just a small problem, he will one-shot all except the tank :P
    but nvm...
    Last edited by zimonken; 02-19-2009 at 03:18 PM.

  11. #11
    Mircast's Avatar Member
    Reputation
    14
    Join Date
    Sep 2008
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zimonken View Post
    Nice it worked, thank you!
    Just a small problem, he will one-shot all except the tank :P
    but nvm...
    If you need any help with scripting or would like me to read your script for faults.

    Add me on my messenge

    [email protected]

Similar Threads

  1. [HELP] Lua boss script not working-solutions?
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 03-21-2008, 08:19 AM
  2. LUA Boss Script
    By Lindoz12 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-04-2008, 02:45 PM
  3. LUA Boss Script Help
    By neurothymia in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-05-2008, 02:57 PM
  4. Lua Boss Script Problems!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-22-2008, 08:59 PM
  5. [Ascent] Boss Scripts help
    By n0t5ew in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-24-2007, 03:04 PM
All times are GMT -5. The time now is 04:52 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search