LUA on Linux menu

User Tag List

Thread: LUA on Linux

Results 1 to 2 of 2
  1. #1
    swmr1991's Avatar Member
    Reputation
    19
    Join Date
    Jan 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA on Linux

    Ok, i'm running an ArcEmu server on a Linux box. I can get C++ scripts to work fine, but when I try to add a LUA script it doesn't load. I dont get any errors, but during the ArcEmu startup i get this message: libLUAScripting.so : 0x0xc675d28 : v0.106 : delayed load.
    Is it normal for the LUAScripting to have a delayed start? Also, I have the scripts in /bin/scripts/, is this the right place? All of the C++ scripts are in /lib/. I'm using a LUA script that i used on a windows server a few months ago, so I know the script is good.

    The script is:
    Code:
    function Boomkin_Cyclone(pUnit, event)
    	pUnit:FullCastSpellOnTarget(33786, pUnit:GetMainTank())
    end
    
    function Boomkin_Treants(Unit)
    	if Unit:GetHealthPct() < 25 then
    		x = Unit:GetX()
    		y = Unit:GetY()
    		z = Unit:GetZ()
    		o = Unit:GetO()
    		Unit:SendChatMessage(12, 0, "Come my friends!")
    		Unit:SpawnCreature(66678, x+5, y+5, z, o, 21, 360000)
    		Unit:SpawnCreature(66678, x, y, z, o, 21, 360000)
    	end
    end
    
    function Boomkin_Wrath(pUnit, event)
    	local plr = pUnit:GetRandomPlayer(0)
    	if (plr ~= nil) then
    		pUnit:FullCastSpellOnTarget(26985, plr)
    	end
    end
    
    function Boomkin_Entangle(Unit)
    	Unit:CastSpell(20699)
    	Unit:SendChatMessage(12, 0, "Entangled! Bet you're annoyed!")
    end
    
    function Boomkin_Moonfire(pUnit, event)
    	local plr = pUnit:GetRandomPlayer(0)
    	if (plr ~= nil) then
    		pUnit:FullCastSpellOnTarget(20690, plr)
    	end
    end
    
    function Boomkin_Discharge(Unit)
    	Unit:CastSpell(38539)
    end
    
    function Boomkin_OnCombat(Unit, Event)
    	Unit:SendChatMessage (11, 0, "BOOMKIN!")
    	Unit:CastSpell(26992)
    	x = Unit:GetX()
    	y = Unit:GetY()
    	z = Unit:GetZ()
    	o = Unit:GetO()
    	Unit:SpawnCreature(66680, x, y, z, o, 21, 360000)
    	Unit:RegisterEvent("Boomkin_Moonfire",3000, 0)
    	Unit:RegisterEvent("Boomkin_Treants",21000, 0)
    	Unit:RegisterEvent("Boomkin_Wrath",10000, 0)
    	Unit:RegisterEvent("Boomkin_Entangle",40000, 0)
    	Unit:RegisterEvent("Boomkin_Cyclone",21000, 0)
    	Unit:RegisterEvent("Boomkin_Discharge", 18000,0)
    end
    
    function Boomkin_OnLeaveCombat(Unit)
    	Unit:RemoveEvents()
    end
    
    function Boomkin_KilledTarget(Unit)
    	Unit:SendChatMessage(12, 0, "Oh shit, Im sorry, I didn't mean to kill you.  Please forgive me.")
    	Unit:RemoveEvents()
    end
    
    function Boomkin_OnDied(Unit)
    	Unit:SendChatMessage(12, 0, "No, I have failed, forgive me Malfurion!")
    	Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(66677, 1, "Boomkin_OnCombat")
    RegisterUnitEvent(66677, 2, "Boomkin_OnLeaveCombat")
    RegisterUnitEvent(66677, 3, "Boomkin_OnKilledTarget")
    RegisterUnitEvent(66677, 4, "Boomkin_OnDied")

    LUA on Linux
  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)
    Make sure your ascent-world.conf has lua enabled.

Similar Threads

  1. Lua unlocker for Linux Wine?
    By MrHat2 in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 11-04-2015, 06:06 AM
  2. Replies: 0
    Last Post: 03-12-2012, 07:42 PM
  3. linux
    By littledeath in forum Community Chat
    Replies: 4
    Last Post: 05-19-2007, 08:12 AM
  4. Vent+Linux Question
    By zenocide in forum World of Warcraft General
    Replies: 0
    Last Post: 05-14-2007, 10:13 AM
  5. play wow on linux
    By zorelf in forum World of Warcraft Exploits
    Replies: 11
    Last Post: 04-05-2007, 06:32 AM
All times are GMT -5. The time now is 11:11 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