Arcemu Lua script help menu

User Tag List

Results 1 to 2 of 2
  1. #1
    skullwarrier's Avatar Member
    Reputation
    2
    Join Date
    Oct 2012
    Posts
    2
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arcemu Lua script help

    I seem to be having issues with this script.

    Code:
    local hunterspells = {136, 883, 982, 1462, 1515, 2641, 6991}
    local Spells = {201, 202, 264}
    local Items = {97300, 97302, 97303, 97304, 97305}
    
    function OnFirstEnterWorld(event, plr)
    	plr:SetPhase(1)
    	plr:SetStanding(1161, 3000)
    	plr:SetStanding(1163, 0)
    	plr:StartQuest(30000)
    	plr:AddItem(Items, 1)
    	plr:LearnSpells(Spells)
    	
    	
    	
    	--Hunter Beast Spells--
    	pClass = plr:GetPlayerClass()   
            if pClass == "Hunter" then
               plr:LearnSpells(hunterspells)
    		end
    end
    	
    RegisterServerHook(3, OnFirstEnterWorld)

    When I run the server, SetStanding and SetPhase work fine, but everything else doesn't...I'm a tad confused as to why.
    Thanks in advanced.
    Last edited by skullwarrier; 06-26-2017 at 08:07 PM.

    Arcemu Lua script help
  2. #2
    Veritable's Avatar OwnedCore News Correspondent
    Reputation
    326
    Join Date
    Apr 2007
    Posts
    372
    Thanks G/R
    52/123
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well from what you say, i would start with, make sure that the QuestID of 30000 actually exists, and that it is eligible for the race/faction etc.

Similar Threads

  1. Simple LUA Script Help
    By Wolfly in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 09-02-2008, 04:22 PM
  2. LUA Script Help Thread
    By mager1794 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-04-2008, 12:46 AM
  3. LuA Scripting Help
    By Jlp in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 06-27-2008, 03:33 AM
  4. Lua script help and general questions from beginner
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:38 AM
  5. Need LUA Scripting Help ?
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-04-2008, 12:36 PM
All times are GMT -5. The time now is 02:41 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