Fix my LUA script. menu

User Tag List

Results 1 to 8 of 8
  1. #1
    [Stefon]'s Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fix my LUA script.

    The name of my Boss is 'Stefon' the ID of it 281994.
    Im not sure what to do to my script so it will work with my boss.
    All I want is my boss when it enters combat is to yell "Burn in Hell"
    Please fix this script so it will work.



    function Stefon_OnCombat (pUnit, Event)
    pUnit:SendChatMessage(12, 0, "Burn in Hell!")
    end
    RegisterUnitEvent(281994, 1, "Stefon_OnCombat")




    And all I do is save that as Stefon.lua and move it into Scripts_Bin?

    Fix my LUA script.
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    scripts, not script_bin

  3. #3
    [Stefon]'s Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is my script still a working script? Did you see any errors in it?

  4. #4
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The map "scripts" is for .lua files

    The map "script_bin" is for .dll files

    And the script_bin must has the same rev compile that your core has.

  5. #5
    [Stefon]'s Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So will the script I wrote work?

  6. #6
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes it should work if you have enables lua in your world conf file.

  7. #7
    [Stefon]'s Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ....lol how do I do that

  8. #8
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ascent-world.conf
    ScriptBackends Lua="1"

Similar Threads

  1. [Lua Script] very nice lua script aint working help me to fix it!
    By TheFrostLord in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 09-06-2010, 11:01 AM
  2. [FIX] This Lua. Script plzzzZ?
    By cello1993 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 05-03-2009, 11:09 AM
  3. Need help fixing some simple lua scripts :-)
    By kaato in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 04-10-2009, 06:11 PM
  4. [Guide] How To: Fix A Lua Script
    By Arthas117 in forum Programming
    Replies: 1
    Last Post: 09-28-2008, 01:01 AM
  5. How to fix this LUA Script???
    By marcosgue in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 02-08-2008, 07:51 AM
All times are GMT -5. The time now is 10:26 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