Need somone to help me get Boss scripts working. menu

User Tag List

Results 1 to 15 of 15
  1. #1
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need somone to help me get Boss scripts working.

    Ok some people may know i have a problem getting my LUA script to work for my mobs. It works fine for objects i.e making portals but bosses wont do anything.
    Here is my script

    function cor_HealthCheckA(Unit)
    if Unit:GetHealthPct() < 66 and Didthat == 0 then
    x = Unit:GetX()
    y = Unit:GetY()
    z = Unit:GetZ()
    Unit:SpawnCreature(519203, x, y, z, 0, 17, 60000);
    Unit:SpawnCreature(519203, x, y, z, 0, 17, 60000);
    Didthat = 1
    else
    end
    end

    function cor_HealthCheckB(Unit)
    if Unit:GetHealthPct() < 33 and Didthat == 1 then
    Unit:FullCastSpell(14204)
    x = Unit:GetX()
    y = Unit:GetY()
    z = Unit:GetZ()
    Unit:SpawnCreature(519203, x, y, z, 0, 17, 60000);
    Unit:SpawnCreature(519203, x, y, z, 0, 17, 60000);
    Didthat = 2
    else
    end
    end


    function cor(unit, event, miscunit, misc)
    print "Anzu"
    unit:RegisterEvent("cor_HealthCheckA",1000,0)
    unit:RegisterEvent("cor_HealthCheckB",1000,0)
    end

    function Speak_OnCombat(Unit, Event)
    print "enter combat"
    Unit:SendChatMessage(11, 0, "You Dare Defile Me?!?!")
    end

    RegisterUnitEvent(150001,1,"cor")
    RegisterUnitEvent(150001,1,"Speak_OnCombat")
    Im looking for somone to try and help me fix this. As server is only in development i will give GM Access to somone to try and help me fix it. Or if anyone spots an error please post it. As you see on the on combat ive set it to print enter combat to the ascent box. And it works when i enter combat it come sup but the boss doesnt say anything or doesnt do the spells.

    Any help will be appreciated,
    Controlsx2

    Need somone to help me get Boss scripts working.
  2. #2
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think you need to Register all events here. RegisterUnitEvent(150001,1,"cor")
    RegisterUnitEvent(150001,1,"Speak_OnCombat") :P i dont know much but i can do something..
    and i dont think that you can write 2 difrent names in the "Cor" and "Speak"... :S
    Last edited by Brutal Pink Panther; 05-07-2008 at 10:30 AM.

  3. #3
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Usuly The problem is that the boss has to much HP.
    Cheese Cake?

  4. #4
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    all those must be same.. i think so :P

  5. #5
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Snailz View Post
    Usuly The problem is that the boss has to much HP.
    What is the highest ?

  6. #6
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My boss has 500,000 hp there are lots of bosses in real wow with that much so i dont think tahts a problem

  7. #7
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My boss has 500,000 hp there are lots of bosses in real wow with that much so i dont think tahts a problem
    Real wow is Much dieffrent than emu.
    I would suggest something max of 300k
    Cheese Cake?

  8. #8
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Btw. What is the main problem?

    Is it gust Not working at all?. Please tell me you wait till he has 66% until you see.
    Cheese Cake?

  9. #9
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not working at all. And ive had testers in (with full tier 6) doing a normal run taking him from 100% to 0% and nothing happens. also the boss doesnt drop the loot ive assigned for it in SQL

  10. #10
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Neitehr does instances 2nd boss which has around 2mil healt ill try downing health and upping armor now. See if it makes a difference.

    I gave him 100k hp and still doesnt work
    Last edited by controlsx2; 05-07-2008 at 10:58 AM.

  11. #11
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kay. (Filler)
    Cheese Cake?

  12. #12
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really hate the fact their not working ruined my idea for some cool instances.

  13. #13
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    W00T Fixed! dont ask my how i done it i changed script around abit and now it works yay

  14. #14
    mrsunhill's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you see in your ascent.exe when testing the LUA in-game you will see a message if the lua is corrupt :P

  15. #15
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ye the LUA wasnt corrupt. i checked that

Similar Threads

  1. [H] I need to get this script work on my AutoIt3
    By kagutsuchi in forum Diablo 3 Bots Questions & Requests
    Replies: 0
    Last Post: 07-09-2012, 07:42 AM
  2. Can someone help me get BGs to work
    By onesbronson in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 07-17-2008, 07:08 PM
  3. [HELP] Cant get PVP Scripts to work(REPOST)
    By Darksid in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 07-04-2008, 01:16 PM
  4. Help with getting MPQ's working.
    By Imucancer in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 06-23-2008, 07:09 PM
  5. need help to get my addons working
    By fiskerfisk in forum World of Warcraft General
    Replies: 13
    Last Post: 11-19-2007, 07:21 AM
All times are GMT -5. The time now is 04:55 AM. 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