[Help] Lua Error (eof) menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    Moffeman's Avatar Contributor

    Reputation
    277
    Join Date
    Sep 2007
    Posts
    731
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Lua Error (eof)

    First of all, yes its strange that a contrib asks for help, but i just started to learn lua scripting, but now i get an error that says:

    LuaEngine: VileFamiliarTrash.lua:7: 'eof' expected near 'end'

    Whats the problem?

    Here is the lua script btw:

    function VileFamiliar_Firebolt(Unit, event, miscunit, misc)
    print "Vile Familiar casts Firebolt"
    Unit:FullCastSpellOnTarget(7799,Unit:GetMainTank())
    Unit:SendChatMessage(12, 0, "Burn? No, DIE!")
    end
    Unit:RegisterEvent("VileFamiliar_Firebolt", 4000, 0)
    end
    RegisterUnitEvent(444333, 1, "VileFamiliar_Combat")
    Have i done anything wrong? Please fix it for me. +Rep will be given.

    [Help] Lua Error (eof)
  2. #2
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    function Vilefamiliar_Firebolt(Unit, event, miscunit, misc)
    print "Vilefamiliar Firebolt"
    Unit:FullCastSpellOnTarget(7799, Unit:GetMainTank())
    end

    function Vilefamiliar(unit, event, miscunit, misc)
    print "Vilefamiliar"
    unit:RegisterEvent("Vilefamiliar_Firebolt",4000,0)
    end

    RegisterUnitEvent(444333, 1, "Vilefamiliar")

    Try that hon,, Ill get on l8r btw
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  3. #3
    Moffeman's Avatar Contributor

    Reputation
    277
    Join Date
    Sep 2007
    Posts
    731
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, it works. +Rep for you!

  4. #4
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe, thx hon
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

Similar Threads

  1. [LUA] Help, keep getting LUA error :(
    By goplay1 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 03-18-2010, 02:53 AM
  2. [help] Lua Teleporter Error!!
    By Hyldran0 in forum WoW EMU Questions & Requests
    Replies: 11
    Last Post: 12-16-2008, 01:06 PM
  3. [Help] lua error
    By Corosive720 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 09-20-2008, 06:39 PM
  4. [Help] LUA boss script error.
    By arthars1 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 06-09-2008, 08:23 PM
  5. [HELP] Lua DLL Error
    By Rouslan in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-12-2008, 02:02 PM
All times are GMT -5. The time now is 10:28 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