Need a fix for this script menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Arugos's Avatar Member
    Reputation
    14
    Join Date
    Jun 2007
    Posts
    247
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After some try i changed a few things and now it look like that
    but again i still get an error!I hope that one is easyer to fix tho , could someone tell me what to change if i get this error : calling 'RegisterEvent' on bad self <Unit Expected, got table>

    function Onyxia_Firenova(Unit)
    Unit:CastSpell(37371)
    end
    function Onyxia_Coneoffire(Unit)
    Unit:CastSpell(36876)
    end
    function Onyxia_Fieryblast(Unit)
    Unit:CastSpell(38382)
    end
    function Onyxia_Thickskin(Unit)
    Unit:CastSpell(43823)
    end
    function Onyxia_Burningwish(Unit)
    Unit:CastSpell(18789)
    end
    function Onyxia_Burningrage(Unit)
    Unit:CastSpell(38771)
    end
    function Onyxia_OnCombat(Unit, Event)
    Unit:SendChatMessage (11, 0, "You killed me once,now i am back and i wont let it happen again!")
    end
    function Onyxia_OnKill(Unit, event)
    Unit:SendChatMessage(12,0,"You gonna fail!")
    end
    function Onyxia_OnDied(Unit)
    Unit:SendChatMessage(12,0,"No....not again!!!")
    Unit:RemoveEvents()
    end
    function Onyxia_OnLeaveCombat(Unit)
    Unit:SendChatMessage(12,0,"I will be waiting...!")
    Unit:RemoveEvents()
    end
    Unit:RegisterEvent("Onyxia_Firenova",50000, 0)
    Unit:RegisterEvent("Onyxia_Coneoffire",30000, 0)
    Unit:RegisterEvent("Onyxia_Fieryblast",25000, 0)
    Unit:RegisterEvent("Onyxia_Thickskin",500, 0)
    Unit:RegisterEvent("Onyxia_Burningwish",40000, 0)
    Unit:RegisterEvent("Onyxia_Burningrage",25000, 0)
    RegisterUnitEvent(111112, 1,"Onyxia_OnCombat")
    RegisterUnitEvent(111112, 3,"Onyxia_OnKill")
    RegisterUnitEvent(111112, 4,"Onyxia_OnDied")
    RegisterUnitEvent(111112, 2,"Onyxia_OnLeaveCombat")

    Need a fix for this script
  2. #17
    Arugos's Avatar Member
    Reputation
    14
    Join Date
    Jun 2007
    Posts
    247
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nvm i fixed my prob with help from none because none really helped..

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Need Mangos expert for this one
    By fireguild1 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-05-2009, 04:12 PM
  2. [Help] i need Lua help with this script...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 03-03-2008, 03:45 PM
  3. Ascent need a fix for 2.3.2 ...
    By moreniu in forum World of Warcraft Emulator Servers
    Replies: 28
    Last Post: 01-13-2008, 04:40 AM
  4. Need Helm fix for Human Male > BE Male
    By Dhagon in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-27-2007, 05:31 AM
All times are GMT -5. The time now is 10:21 AM. 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