[?]Teach_OnEnterWorld - Help menu

Shout-Out

User Tag List

Results 1 to 10 of 10
  1. #1
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [?]Teach_OnEnterWorld - Help

    Hello

    I have a question:

    How do i activate this LUA script? i have tried to restart the server and rehash, and it doesnt work.
    NOTE: I deleted some text thats not important to show here since the file is so large.

    Code:
    function Teach_OnEnterWorld(event, player)
            if (player:GetPlayerClass() == "Warrior") then
            player:LearnSpell(6673) -- Battle Shout  1
            player:LearnSpell(5242) -- Battle Shout  2
            player:LearnSpell(6192) -- Battle Shout  3
            player:LearnSpell(11549) -- Battle Shout  4
            player:LearnSpell(11550) -- Battle Shout  5
            player:LearnSpell(11551) -- Battle Shout  6
            player:LearnSpell(25289) -- Battle Shout  7
            player:LearnSpell(2048) -- Battle Shout  8
            player:LearnSpell(47436) -- Battle Shout   9
            player:LearnSpell(18499) -- Beserker Rage
            player:LearnSpell(2458) -- Beserker Stance
            player:LearnSpell(2687) -- Bloodrage
            player:LearnSpell(1161) -- Challenging Shout
            player:LearnSpell(100) -- Charge  1
            player:LearnSpell(6178) -- Charge  2
            player:LearnSpell(11578) -- Charge  3
            player:LearnSpell(845) -- Cleave  1
            player:LearnSpell(7369) -- Cleave  2
            player:LearnSpell(11608) -- Cleave  3
            player:LearnSpell(11609) -- Cleave  4
            player:LearnSpell(20569) -- Cleave  5
            player:LearnSpell(25231) -- Cleave  6
            player:LearnSpell(47519) -- Cleave  7
            player:LearnSpell(47520) -- Cleave  8
            player:LearnSpell(469) -- Commanding Shout  1
            player:LearnSpell(47439) -- Commanding Shout  2
            player:LearnSpell(47440) -- Commanding Shout   3
            player:LearnSpell(71) -- Defensive Stance
            player:LearnSpell(1160) -- Demoralizing Shout  1
            player:LearnSpell(6190) -- Demoralizing Shout  2
            player:LearnSpell(11554) -- Demoralizing Shout  3
            player:LearnSpell(11555) -- Demoralizing Shout  4
            player:LearnSpell(11556) -- Demoralizing Shout  5
            player:LearnSpell(25202) -- Demoralizing Shout  6
            player:LearnSpell(25203) -- Demoralizing Shout  7
            player:LearnSpell(47437) -- Demoralizing Shout  8
            player:LearnSpell(676) -- Disarm
            player:LearnSpell(55694) -- Enraged Regeneration
            player:LearnSpell(5308) -- Execute  1
            player:LearnSpell(20658) -- Execute  2
            player:LearnSpell(20660) -- Execute  3
            player:LearnSpell(20661) -- Execute  4
            player:LearnSpell(20662) -- Execute  5
            player:LearnSpell(25234) -- Execute  6
            player:LearnSpell(25236) -- Execute  7
            player:LearnSpell(47470) -- Execute  8
            player:LearnSpell(47471) -- Execute  9
            player:LearnSpell(1715) -- Hamstring
            player:LearnSpell(284) -- Heroic Strike  2
            player:LearnSpell(1608) -- Heroic Strike  4
            player:LearnSpell(11564) -- Heroic Strike  5
            player:LearnSpell(11565) -- Heroic Strike  6
            player:LearnSpell(11566) -- Heroic Strike  7
            player:LearnSpell(11567) -- Heroic Strike  8
            player:LearnSpell(25286) -- Heroic Strike  9
            player:LearnSpell(29707) -- Heroic Strike  10
            player:LearnSpell(30324) -- Heroic Strike  11
            player:LearnSpell(47449) -- Heroic STrike  12
            player:LearnSpell(47450) -- Heroic Strike  13
            player:LearnSpell(57755) -- Heroic Throw
            player:LearnSpell(20252) -- Intercept
            player:LearnSpell(3411) -- Intervene
            player:LearnSpell(5246) -- Intimidating Shout
            player:LearnSpell(694) -- Mocking Blow
            player:LearnSpell(7384) -- Overpower
            player:LearnSpell(6552) -- Pummel
            player:LearnSpell(1719) -- Recklessness
            player:LearnSpell(772) -- Rend  1
            player:LearnSpell(6546) -- Rend  2
            player:LearnSpell(6547) -- Rend  3
            player:LearnSpell(6548) -- Rend  4
            player:LearnSpell(11572) -- Rend  5
            player:LearnSpell(11573) -- Rend  6
            player:LearnSpell(11574) -- Rend  7
            player:LearnSpell(25208) -- Rend  8
            player:LearnSpell(46845) -- Rend  9
            player:LearnSpell(47471) -- Rend  10
            player:LearnSpell(20230) -- Retaliation
            player:LearnSpell(6572) -- Revenge  1
            player:LearnSpell(6574) -- Revenge  2
            player:LearnSpell(7379) -- Revenge  3
            player:LearnSpell(11600) -- Revenge  4
            player:LearnSpell(11601) -- Revenge  5
            player:LearnSpell(25288) -- Revenge  6
            player:LearnSpell(25269) -- Revenge  7
            player:LearnSpell(30357) -- Revenge  8
            player:LearnSpell(57823) -- Revenge   9
            player:LearnSpell(64382) -- Shattering Throw
            player:LearnSpell(72) -- Shield Bash
            player:LearnSpell(2565) -- Shield Block
            player:LearnSpell(23922) -- Shield Slam  1
            player:LearnSpell(23923) -- Shield Slam  2
            player:LearnSpell(23924) -- Shield Slam  3
            player:LearnSpell(23925) -- Shield Slam  4
            player:LearnSpell(25258) -- Shield Slam  5
            player:LearnSpell(30356) -- Shield Slam  6
            player:LearnSpell(47487) -- Shield Slam  7
            player:LearnSpell(47488) -- Shield Slam  8
            player:LearnSpell(871) -- Shield Wall
            player:LearnSpell(1464) -- Slam  1
            player:LearnSpell(8820) -- Slam  2
            player:LearnSpell(11604) -- Slam  3
            player:LearnSpell(11605) -- Slam  4
            player:LearnSpell(25241) -- Slam  5
            player:LearnSpell(25242) -- Slam  6
            player:LearnSpell(47474) -- Slam  7
            player:LearnSpell(47475) -- Slam  8
            player:LearnSpell(23920) -- Spell Reflection
            player:LearnSpell(12678) -- Stance Mastery
            player:LearnSpell(7386) -- Sunder Armor
            player:LearnSpell(355) -- Taunt
            player:LearnSpell(6343) -- Thunder Clap  1
            player:LearnSpell(8198) -- Thunder Clap  2
            player:LearnSpell(8204) -- Thunder Clap  3
            player:LearnSpell(8205) -- Thunder Clap  4
            player:LearnSpell(11580) -- Thunder Clap  5
            player:LearnSpell(11581) -- Thunder Clap  6
            player:LearnSpell(25264) -- Thunder Clap  7
            player:LearnSpell(47501) -- Thunder Clap  8
            player:LearnSpell(47502) -- Thunder Clap  9
            player:LearnSpell(34428) -- Victory Rush
            player:LearnSpell(1680) -- Whirlwind
            end
                   
            if (player:GetPlayerClass() == "Paladin") then
            player:LearnSpell(31884) -- Avenging Wrath
            player:LearnSpell(20217) -- Blessing of Kings
            player:LearnSpell(19740) -- Blessing of Might  1
            player:LearnSpell(19834) -- Blessing of Might  2
            player:LearnSpell(19835) -- Blessing of Might  3
            player:LearnSpell(19836) -- Blessing of Might  4
            player:LearnSpell(10937) -- Blessing of Might  5
            player:LearnSpell(19838) -- Blessing of Might  6
            player:LearnSpell(25291) -- Blessing of Might  7
            player:LearnSpell(27140) -- Blessing of Might  8
            player:LearnSpell(48931) -- Blessing of Might  9
            player:LearnSpell(48932) -- Blessing of Might  10
            player:LearnSpell(19742) -- Blessing of Wisdom  1
            player:LearnSpell(19850) -- Blessing of Wisdom  2
            player:LearnSpell(19852) -- Blessing of Wisdom  3
            player:LearnSpell(19853) -- Blessing of Wisdom  4
            player:LearnSpell(19854) -- Blessing of Wisdom  5
            player:LearnSpell(25290) -- Blessing of Wisdom  6
            player:LearnSpell(48935) -- Blessing of Wisdom  8
            player:LearnSpell(48936) -- Blessing of Wisdom  9
                    local race = player:GetPlayerRace()
                    if race == 10 then
                            player:LearnSpell(34767) -- Summon Charger Horde
                    elseif race == 1 or race == 3 or race == 11 then
                            player:LearnSpell(23214) -- Summon Charger Alliance
                    end
            player:LearnSpell(4987) -- Cleanse
            player:LearnSpell(19746) -- Concentration Aura
            player:LearnSpell(26573) -- Consecration  1
            player:LearnSpell(20116) -- Consecration  2
            player:LearnSpell(20922) -- Consecration  3
            player:LearnSpell(20923) -- Consecration  4
            player:LearnSpell(20924) -- Consecration  5
            player:LearnSpell(27173) -- Consecration  6
            player:LearnSpell(48818) -- Consecration  7
            player:LearnSpell(48810) -- Consecration  8
            player:LearnSpell(32223) -- Crusader Aura
            player:LearnSpell(48942) -- Devotion Aura  10
            player:LearnSpell(19752) -- Divine Intervention
            player:LearnSpell(54428) -- Divine Plea
            player:LearnSpell(498) -- Divine Protection
            player:LearnSpell(642) -- Divine Shield
            player:LearnSpell(879) -- Exorcism  1
            player:LearnSpell(5614) -- Exorcism  2
            player:LearnSpell(5615) -- Exorcism  3
            player:LearnSpell(10312) -- Exorcism  4
            player:LearnSpell(10313) -- Exorcism  5
            player:LearnSpell(10314) -- Exorcism  6
            player:LearnSpell(27138) -- Exorcism  7
            player:LearnSpell(48800) -- Exorcism  8
            player:LearnSpell(48801) -- Exorcism  9
            player:LearnSpell(48947) -- Fire Resistance Aura  5
            player:LearnSpell(19750) -- Flash of Light  1
            player:LearnSpell(19939) -- Flash of Light  2
            player:LearnSpell(19940) -- Flash of Light  3
            player:LearnSpell(19941) -- Flash of Light  4
            player:LearnSpell(19942) -- Flash of Light  5
            player:LearnSpell(19943) -- Flash of Light  6
            player:LearnSpell(27137) -- Flash of Light  7
            player:LearnSpell(48784) -- Flash of Light  8
            player:LearnSpell(48785) -- Flash of Light  9
            player:LearnSpell(48945) -- Frost Resistance Aura  5
            player:LearnSpell(25898) -- Greater Blessing of Kings
            player:LearnSpell(25782) -- Greater Blessing of Might  1
            player:LearnSpell(25916) -- Greater Blessing of Might  2
            player:LearnSpell(27141) -- Greater Blessing of Might  3
            player:LearnSpell(48933) -- Greater Blessing of Might  4
            player:LearnSpell(48934) -- Greater Blessing of Might  5
            player:LearnSpell(25899) -- Greater Blessing of Sanctuary
            player:LearnSpell(25894) -- Greater Blessing of Wisdom  1
            player:LearnSpell(25918) -- Greater Blessing of Wisdom  2
            player:LearnSpell(27143) -- Greater Blessing of Wisdom  3
            player:LearnSpell(48937) -- Greater Blessing of Wisdom  4
            player:LearnSpell(48938) -- Greater Blessing of Wisdom  5
            player:LearnSpell(853) -- Hammer of Justice  1
            player:LearnSpell(5588) -- Hammer of Justice  2
            player:LearnSpell(5589) -- Hammer of Justice  3
            player:LearnSpell(10308) -- Hammer of Justice  4
            player:LearnSpell(24275) -- Hammer of Wrath  1
            player:LearnSpell(24274) -- Hammer of Wrath  2
            player:LearnSpell(24239) -- Hammer of Wrath  3
            player:LearnSpell(27180) -- Hammer of Wrath  4
            player:LearnSpell(48805) -- Hammer of Wrath  5
            player:LearnSpell(48806) -- Hammer of Wrath  6
            player:LearnSpell(1044) -- Hand of Freedom
            player:LearnSpell(1022) -- Hand of Protection  1
            player:LearnSpell(5599) -- Hand of Protection  2
            player:LearnSpell(10278) -- Hand of Protection  3
            player:LearnSpell(62124) -- Hand of Reckoning
            player:LearnSpell(6940) -- Hand of Sacrifice
            player:LearnSpell(1038) -- Hand of Salvation
            player:LearnSpell(639) -- Holy Light  2
            player:LearnSpell(647) -- Holy Light  3
            player:LearnSpell(1026) -- Holy Light  4
            player:LearnSpell(1042) -- Holy Light  5
            player:LearnSpell(3472) -- Holy Light  6
            player:LearnSpell(10328) -- Holy Light  7
            player:LearnSpell(10329) -- Holy Light  8
            player:LearnSpell(25292) -- Holy Light  9
            player:LearnSpell(27135) -- Holy Light  10
            player:LearnSpell(27136) -- Holy Light  11
            player:LearnSpell(48781) -- Holy Light  12
            player:LearnSpell(48782) -- Holy Light  13
            player:LearnSpell(2812) -- Holy Wrath  1
            player:LearnSpell(10318) -- Holy Wrath  2
            player:LearnSpell(27139) -- Holy Wrath  3
            player:LearnSpell(48816) -- Holy Wrath  4
            player:LearnSpell(48817) -- Holy Wrath  5
            player:LearnSpell(53407) -- Judgement of Justice
            player:LearnSpell(20271) -- Judgement of Light
            player:LearnSpell(53408) -- Judgement of Wisdom
            player:LearnSpell(633) -- Lay on Hands  1
            player:LearnSpell(2800) -- Lay on Hands  2     
            player:LearnSpell(10310) -- Lay on Hands  3
            player:LearnSpell(27154) -- Lay on Hands  4
            player:LearnSpell(48788) -- Lay on Hands  5
            player:LearnSpell(1152) -- Purify
            player:LearnSpell(7328) -- Redemption  1
            player:LearnSpell(10322) -- Redemption  2
            player:LearnSpell(10324) -- Redemption  3
            player:LearnSpell(20772) -- Redemption  4
            player:LearnSpell(20773) -- Redemption  5
            player:LearnSpell(48949) -- Redemption  6
            player:LearnSpell(48950) -- Redemption  7
            player:LearnSpell(54043) -- Retribution Aura  7
            player:LearnSpell(31789) -- Righteous Defense
            player:LearnSpell(25780) -- Righteous Fury
            player:LearnSpell(53601) -- Sacred Shield  1
                    local race = player:GetPlayerRace()
                    if race == 10 then
                            player:LearnSpell(2825) -- Seal of Corruption
                    elseif race == 1 or race == 3 or race == 11 then
                            player:LearnSpell(32182) -- Seal of Vengeance
                    end
            player:LearnSpell(20164) -- Seal of Justice
            player:LearnSpell(20165) -- Seal of Light
            player:LearnSpell(21084) -- Seal of Righteousness
            player:LearnSpell(20166) -- Seal of Wisdom
            player:LearnSpell(48943) -- Shadow Resistance Aura  5
            player:LearnSpell(5502) -- Sense Undead
            player:LearnSpell(53600) -- Shield of Righteousness  1
            player:LearnSpell(61411) -- Shield of Righteousness  2
            player:LearnSpell(10326) -- Turn Evil
                    local race = player:GetPlayerRace()
                    if race == 10 then
                            player:LearnSpell(34769) -- Summon Warhorse Horde
                    elseif race == 1 or race == 3 or race == 11 then
                            player:LearnSpell(13819) -- Summon Warhorse Alliance
                    end
            end
                   
            if (player:GetPlayerClass() == "Hunter") then
            player:LearnSpell(3044) -- Arcane Shot  1
            player:LearnSpell(14281) -- Arcane Shot  2
            player:LearnSpell(14281) -- Arcane Shot  2
            player:LearnSpell(14282) -- Arcane Shot  3
            player:LearnSpell(14283) -- Arcane Shot  4
            player:LearnSpell(14284) -- Arcane Shot  5
    -DELETED ALOT HERE-
                   
            if (player:GetPlayerClass() == "Warlock") then
            player:LearnSpell(6366) -- Create Firestone  1
            player:LearnSpell(17951) -- Create Firestone  2
            player:LearnSpell(17952) -- Create Firestone  3
            player:LearnSpell(17953) -- Create Firestone  4
            player:LearnSpell(27250) -- Create Firestone  5
            player:LearnSpell(60219) -- Create Firestone  6
            player:LearnSpell(60220) -- Create Firestone  7
            player:LearnSpell(693) -- Create Soulstone  1
            player:LearnSpell(20752) -- Create Soulstone  2
            player:LearnSpell(20755) -- Create Soulstone  3
            player:LearnSpell(20756) -- Create Soulstone  4
            player:LearnSpell(20757) -- Create Soulstone  5
            player:LearnSpell(27238) -- Create Soulstone  6
            player:LearnSpell(47884) -- Create Soulstone  7
            player:LearnSpell(2362) -- Create Spellstone  1
            player:LearnSpell(17727) -- Create Spellstone  2
            player:LearnSpell(17728) -- Create Spellstone  3
            player:LearnSpell(28172) -- Create Spellstone  4
            player:LearnSpell(47886) -- Create Spellstone  5
            player:LearnSpell(47888) -- Create Spellstone  6
            player:LearnSpell(710) -- Banish  1
            player:LearnSpell(18647) -- Banish  2
            player:LearnSpell(172) -- Corruption  1
            player:LearnSpell(6222) -- Corruption  2
            player:LearnSpell(6223) -- Corruption  3
            player:LearnSpell(7648) -- Corruption  4
            player:LearnSpell(11671) -- Corruption  5
            player:LearnSpell(11672) -- Corruption  6
            player:LearnSpell(25311) -- Corruption  7
            player:LearnSpell(27216) -- Corruption  8
            player:LearnSpell(47812) -- Corruption  9
            player:LearnSpell(47813) -- Corruption  10
            player:LearnSpell(6201) -- Create Healthstone  1
            player:LearnSpell(6202) -- Create Healthstone  2
            player:LearnSpell(5699) -- Create Healthstone  3
            player:LearnSpell(11729) -- Create Healthstone  4
            player:LearnSpell(11730) -- Create Healthstone  5
            player:LearnSpell(27230) -- Create Healthstone  6
            player:LearnSpell(47871) -- Create Healthstone  7
            player:LearnSpell(47878) -- Create Healthstone  8
            player:LearnSpell(980) -- Curse of Agony  1
            player:LearnSpell(1014) -- Curse of Agony  2
            player:LearnSpell(6217) -- Curse of Agony  3
            player:LearnSpell(11711) -- Curse of Agony  4
            player:LearnSpell(11712) -- Curse of Agony  5
            player:LearnSpell(11713) -- Curse of Agony  6
            player:LearnSpell(27218) -- Curse of Agony  7
            player:LearnSpell(47863) -- Curse of Agony  8
            player:LearnSpell(47864) -- Curse of Agony  9
            player:LearnSpell(603) -- Curse of Doom  1
            player:LearnSpell(30910) -- Curse of Doom  2
            player:LearnSpell(47867) -- Curse of Doom  3
            player:LearnSpell(1714) -- Curse of Tongues  1
            player:LearnSpell(11719) -- Curse of Tongues  2
            player:LearnSpell(702) -- Curse of Weakness  1
            player:LearnSpell(1108) -- Curse of Weakness  2
            player:LearnSpell(6205) -- Curse of Weakness  3
            player:LearnSpell(7646) -- Curse of Weakness  4
            player:LearnSpell(11707) -- Curse of Weakness  5
            player:LearnSpell(11708) -- Curse of Weakness  6
            player:LearnSpell(27224) -- Curse of Weakness  7
            player:LearnSpell(30909) -- Curse of Weakness  8
            player:LearnSpell(50511) -- Curse of Weakness  9
            player:LearnSpell(1490) -- Curse of the Elements  1
            player:LearnSpell(11721) -- Curse of the Elements  2
            player:LearnSpell(11722) -- Curse of the Elements  3
            player:LearnSpell(27228) -- Curse of the Elements  4
            player:LearnSpell(47865) -- Curse of the Elements  5
            player:LearnSpell(6789) -- Death Coil  1
            player:LearnSpell(17925) -- Death Coil  2
            player:LearnSpell(17926) -- Death Coil  3
            player:LearnSpell(27223) -- Death Coil  4
            player:LearnSpell(47859) -- Death Coil  5
            player:LearnSpell(47860) -- Death Coil  6
            player:LearnSpell(706) -- Demon Armor  1
            player:LearnSpell(1086) -- Demon Armor  2
            player:LearnSpell(11733) -- Demon Armor  3
            player:LearnSpell(11734) -- Demon Armor  4
            player:LearnSpell(11735) -- Demon Armor  5
            player:LearnSpell(27260) -- Demon Armor  6
            player:LearnSpell(47793) -- Demon Armor  7
            player:LearnSpell(47889) -- Demon Armor  8
            player:LearnSpell(687) -- Demon Skin  1
            player:LearnSpell(696) -- Demon Skin  2
            player:LearnSpell(48018) -- Demonic Circle: Summon
            player:LearnSpell(48020) -- Demonic Circle: Teleport
            player:LearnSpell(132) -- Detect Invisibility
            player:LearnSpell(689) -- Drain Life  1
            player:LearnSpell(699) -- Drain Life  2
            player:LearnSpell(709) -- Drain Life  3
            player:LearnSpell(7651) -- Drain Life  4
            player:LearnSpell(11699) -- Drain Life  5
            player:LearnSpell(11700) -- Drain Life  6
            player:LearnSpell(27219) -- Drain Life  7
            player:LearnSpell(27220) -- Drain Life  8
            player:LearnSpell(47857) -- Drain Life  9
            player:LearnSpell(5138) -- Drain Mana
            player:LearnSpell(1120) -- Drain Soul  1
            player:LearnSpell(8288) -- Drain Soul  2
            player:LearnSpell(8289) -- Drain Soul  3
            player:LearnSpell(11675) -- Drain Soul  4
            player:LearnSpell(27217) -- Drain Soul  5
            player:LearnSpell(47855) -- Drain Soul  6
            player:LearnSpell(23161) -- Dreadsteed
            player:LearnSpell(1098) -- Enslave Demon  1
            player:LearnSpell(11725) -- Enslave Demon  2
            player:LearnSpell(11726) -- Enslave Demon  3
            player:LearnSpell(61191) -- Enslave Demon  4
            player:LearnSpell(126) -- Eye of Kilrogg
            player:LearnSpell(5782) -- Fear  1
            player:LearnSpell(6213) -- Fear  2
            player:LearnSpell(6215) -- Fear  3
            player:LearnSpell(28176) -- Fel Armor  1
            player:LearnSpell(28189) -- Fel Armor  2
            player:LearnSpell(47892) -- Fel Armor  3
            player:LearnSpell(47893) -- Fel Armor  4
            player:LearnSpell(5784) -- Felsteed
            player:LearnSpell(755) -- Health Funnel  1
            player:LearnSpell(3698) -- Health Funnel  2
            player:LearnSpell(3699) -- Health Funnel  3
            player:LearnSpell(3700) -- Health Funnel  4
            player:LearnSpell(11693) -- Health Funnel  5
            player:LearnSpell(11694) -- Health Funnel  6
            player:LearnSpell(11695) -- Health Funnel  7
            player:LearnSpell(27259) -- Health Funnel  8
            player:LearnSpell(47856) -- Health Funnel  9
            player:LearnSpell(1949) -- Hellfire  1
            player:LearnSpell(11683) -- Hellfire  2
            player:LearnSpell(11684) -- Hellfire  3
            player:LearnSpell(27213) -- Hellfire  4
            player:LearnSpell(47823) -- Hellfire  5
            player:LearnSpell(5484) -- Howl of Terror  1
            player:LearnSpell(17928) -- Howl of Terror  2
            player:LearnSpell(348) -- Immolate  1
            player:LearnSpell(707) -- Immolate  2
            player:LearnSpell(1094) -- Immolate  3
            player:LearnSpell(2941) -- Immolate  4
            player:LearnSpell(11665) -- Immolate  5
            player:LearnSpell(11667) -- Immolate  6
            player:LearnSpell(11668) -- Immolate  7
            player:LearnSpell(25309) -- Immolate  8
            player:LearnSpell(27215) -- Immolate  9
            player:LearnSpell(47810) -- Immolate  10
            player:LearnSpell(47811) -- Immolate  11
            player:LearnSpell(29722) -- Incinerate  1
            player:LearnSpell(32231) -- Incinerate  2
            player:LearnSpell(47837) -- Incinerate  3
            player:LearnSpell(47838) -- Incinerate  4
            player:LearnSpell(1454) -- Life Tap  1
            player:LearnSpell(1455) -- Life Tap  2
            player:LearnSpell(1456) -- Life Tap  3
            player:LearnSpell(11687) -- Life Tap  4
            player:LearnSpell(11688) -- Life Tap  5
            player:LearnSpell(11689) -- Life Tap  6
            player:LearnSpell(27222) -- Life Tap  7
            player:LearnSpell(57946) -- Life Tap  8
            player:LearnSpell(5740) -- Rain of Fire  1
            player:LearnSpell(6219) -- Rain of Fire  2
            player:LearnSpell(11677) -- Rain of Fire  3
            player:LearnSpell(11678) -- Rain of Fire  4
            player:LearnSpell(27212) -- Rain of Fire  5
            player:LearnSpell(47819) -- Rain of Fire  6
            player:LearnSpell(47820) -- Rain of Fire  7
            player:LearnSpell(18540) -- Ritual of Doom
            player:LearnSpell(29893) -- Ritual of Souls  1
            player:LearnSpell(58887) -- Ritual of Souls  2
            player:LearnSpell(698) -- Ritual of Summoning
            player:LearnSpell(5676) -- Searing Pain  1
            player:LearnSpell(17919) -- Searing Pain  2
            player:LearnSpell(17920) -- Searing Pain  3
            player:LearnSpell(17921) -- Searing Pain  4
            player:LearnSpell(17922) -- Searing Pain  5
            player:LearnSpell(17923) -- Searing Pain  6
            player:LearnSpell(27210) -- Searing Pain  7
            player:LearnSpell(30459) -- Searing Pain  8
            player:LearnSpell(47814) -- Searing Pain  9
            player:LearnSpell(47815) -- Searing Pain  10
            player:LearnSpell(27243) -- Seed of Corruption  1
            player:LearnSpell(47835) -- Seed of Corruption  2
            player:LearnSpell(47836) -- Seed of Corruption  3
            player:LearnSpell(5500) -- Sense Demons
            player:LearnSpell(695) -- Shadow Bolt  2
            player:LearnSpell(705) -- Shadow Bolt  3
            player:LearnSpell(1088) -- Shadow Bolt  4
            player:LearnSpell(1106) -- Shadow Bolt  5
            player:LearnSpell(7641) -- Shadow Bolt  6
            player:LearnSpell(11659) -- Shadow Bolt  7
            player:LearnSpell(11660) -- Shadow Bolt  8
            player:LearnSpell(11661) -- Shadow Bolt  9
            player:LearnSpell(25307) -- Shadow Bolt  10
            player:LearnSpell(27209) -- Shadow Bolt  11
            player:LearnSpell(47808) -- Shadow Bolt  12
            player:LearnSpell(47809) -- Shadow Bolt  13
            player:LearnSpell(6229) -- Shadow Ward  1
            player:LearnSpell(11739) -- Shadow Ward  2
            player:LearnSpell(11740) -- Shadow Ward  3
            player:LearnSpell(28610) -- Shadow Ward  4
            player:LearnSpell(47890) -- Shadow Ward  5
            player:LearnSpell(47891) -- Shadow Ward  6
            player:LearnSpell(47897) -- Shadowflame  1
            player:LearnSpell(61290) -- Shadowflame  2
            player:LearnSpell(6353) -- Soul Fire  1
            player:LearnSpell(17924) -- Soul Fire  2
            player:LearnSpell(27211) -- Soul Fire  3
            player:LearnSpell(30545) -- Soul Fire  4
            player:LearnSpell(47824) -- Soul Fire  5
            player:LearnSpell(47825) -- Soul Fire  6
            player:LearnSpell(29858) -- Soulshatter
            player:LearnSpell(691) -- Summon Felhunter
            player:LearnSpell(688) -- Summon Imp
            player:LearnSpell(712) -- Summon Succubus
            player:LearnSpell(697) -- Summon Voidwalker
            player:LearnSpell(5697) -- Unending Breath
            end
                   
            if (player:GetPlayerClass() == "Druid") then
            player:LearnSpell(2893) -- Abolish Poison
            player:LearnSpell(1066) -- Aquatic Form
            player:LearnSpell(22812) -- Barkskin
            player:LearnSpell(5211) -- Bash  1
            player:LearnSpell(6798) -- Bash  2
            player:LearnSpell(8983) -- Bash  3
            player:LearnSpell(768) -- Cat Form
            player:LearnSpell(5209) -- Challenging Roar
            player:LearnSpell(1082) -- Claw  1
            player:LearnSpell(3029) -- Claw  2
            player:LearnSpell(5201) -- Claw  3
            player:LearnSpell(9849) -- Claw  4
            player:LearnSpell(9850) -- Claw  5
            player:LearnSpell(27000) -- Claw  6
            player:LearnSpell(48569) -- Claw  7
            player:LearnSpell(48570) -- Claw  8
            player:LearnSpell(8998) -- Cower  1
            player:LearnSpell(9000) -- Cower  2
            player:LearnSpell(9892) -- Cower  3
            player:LearnSpell(31709) -- Cower  4
            player:LearnSpell(27004) -- Cower  5
            player:LearnSpell(48575) -- Cower  6
            player:LearnSpell(8946) -- Cure Poison
            player:LearnSpell(33786) -- Cyclone
            player:LearnSpell(1850) -- Dash  1
            player:LearnSpell(9821) -- Dash  2
            player:LearnSpell(33357) -- Dash  3
            player:LearnSpell(99) -- Demoralizing Roar  1
            player:LearnSpell(1735) -- Demoralizing Roar  2
            player:LearnSpell(9490) -- Demoralizing Roar  3
            player:LearnSpell(9747) -- Demoralizing Roar  4
            player:LearnSpell(9898) -- Demoralizing Roar  5
            player:LearnSpell(26998) -- Demoralizing Roar  6
            player:LearnSpell(48559) -- Demoralizing Roar  7
            player:LearnSpell(48560) -- Demoralizing Roar  8
            player:LearnSpell(9634) -- Dire Bear Form
            player:LearnSpell(5229) -- Enrage
            player:LearnSpell(339) -- Entangling Roots  1
            player:LearnSpell(1062) -- Entangling Roots  2
            player:LearnSpell(5195) -- Entangling Roots  3
            player:LearnSpell(5196) -- Entangling Roots  4
            player:LearnSpell(9852) -- Entangling Roots  5
            player:LearnSpell(9853) -- Entangling Roots  6
            player:LearnSpell(26989) -- Entangling Roots  7
            player:LearnSpell(53308) -- Entangling Roots  8
            player:LearnSpell(770) -- Faerie Fire
            player:LearnSpell(16857) -- Faerie Fire (Feral)
            player:LearnSpell(20719) -- Feline Grace
            player:LearnSpell(16979) -- Feral Charge - Bear
            player:LearnSpell(49376) -- Feral Charge - Cat
            player:LearnSpell(22568) -- Ferocious Bite  1
            player:LearnSpell(22827) -- Ferocious Bite  2
            player:LearnSpell(22828) -- Ferocious Bite  3
            player:LearnSpell(22829) -- Ferocious Bite  4
            player:LearnSpell(31018) -- Ferocious Bite  5
            player:LearnSpell(24248) -- Ferocious Bite  6
            player:LearnSpell(48576) -- Ferocious Bite  7
            player:LearnSpell(48577) -- Ferocious Bite  8
            player:LearnSpell(33943) -- Flight Form
            player:LearnSpell(22842) -- Frenzied Regeneration  1
            player:LearnSpell(21849) -- Gift of the Wild  1
            player:LearnSpell(21850) -- Gift of the Wild  2
            player:LearnSpell(26991) -- Gift of the Wild  3
            player:LearnSpell(48470) -- Gift of the Wild  4
            player:LearnSpell(6795) -- Growl
            player:LearnSpell(5186) -- Healing Touch  2
            player:LearnSpell(5187) -- Healing Touch  3
            player:LearnSpell(5188) -- Healing Touch  4
            player:LearnSpell(5189) -- Healing Touch  5
            player:LearnSpell(6778) -- Healing Touch  6
            player:LearnSpell(8903) -- Healing Touch  7
            player:LearnSpell(9758) -- Healing Touch  8
            player:LearnSpell(9888) -- Healing Touch  9
            player:LearnSpell(9889) -- Healing Touch  10
            player:LearnSpell(25297) -- Healing Touch  11
            player:LearnSpell(26978) -- Healing Touch  12
            player:LearnSpell(26979) -- Healing Touch  13
            player:LearnSpell(48377) -- Healing Touch  14
            player:LearnSpell(48378) -- Healing Touch  15
            player:LearnSpell(2637) -- Hibernate  1
            player:LearnSpell(18657) -- Hibernate  2
            player:LearnSpell(18658) -- Hibernate  3
            player:LearnSpell(16914) -- Hurricane  1
            player:LearnSpell(17401) -- Hurricane  2
            player:LearnSpell(17402) -- Hurricane  3
            player:LearnSpell(27012) -- Hurricane  4
            player:LearnSpell(48467) -- Hurricane  5
            player:LearnSpell(29166) -- Innervate
            player:LearnSpell(33745) -- Lacerate  1
            player:LearnSpell(48567) -- Lacerate  2
            player:LearnSpell(48568) -- Lacerate  3
            player:LearnSpell(33763) -- Lifebloom  1
            player:LearnSpell(48450) -- Lifebloom  2
            player:LearnSpell(48451) -- Lifebloom  3
            player:LearnSpell(22570) -- Maim  1
            player:LearnSpell(49802) -- Maim  2
            player:LearnSpell(33878) -- Mangle (Bear)  1
            player:LearnSpell(33986) -- Mangle (Bear)  2
            player:LearnSpell(33987) -- Mangle (Bear)  3
            player:LearnSpell(48563) -- Mangle (Bear)  4
            player:LearnSpell(48564) -- Mangle (Bear)  5
            player:LearnSpell(33876) -- Mangle (Cat)  1
            player:LearnSpell(33982) -- Mangle (Cat)  2
            player:LearnSpell(33983) -- Mangle (Cat)  3
            player:LearnSpell(48565) -- Mangle (Cat)  4
            player:LearnSpell(48566) -- Mangle (Cat)  5
            player:LearnSpell(1126) -- Mark of the Wild  1
            player:LearnSpell(5232) -- Mark of the Wild  2
            player:LearnSpell(6756) -- Mark of the Wild  3
            player:LearnSpell(5234) -- Mark of the Wild  4
            player:LearnSpell(8907) -- Mark of the Wild  5
            player:LearnSpell(9884) -- Mark of the Wild  6
            player:LearnSpell(9885) -- Mark of the Wild  7
            player:LearnSpell(26990) -- Mark of the Wild  8
            player:LearnSpell(48469) -- Mark of the Wild  9
            player:LearnSpell(6807) -- Maul  1
            player:LearnSpell(6808) -- Maul  2
            player:LearnSpell(6809) -- Maul  3
            player:LearnSpell(8972) -- Maul  4
            player:LearnSpell(9745) -- Maul  5
            player:LearnSpell(9880) -- Maul  6
            player:LearnSpell(9881) -- Maul  7
            player:LearnSpell(26996) -- Maul  8
            player:LearnSpell(48479) -- Maul  9
            player:LearnSpell(48480) -- Maul  10
            player:LearnSpell(8921) -- Moonfire  1
            player:LearnSpell(8924) -- Moonfire  2
            player:LearnSpell(8925) -- Moonfire  3
            player:LearnSpell(8926) -- Moonfire  4
            player:LearnSpell(8927) -- Moonfire  5
            player:LearnSpell(8928) -- Moonfire  6
            player:LearnSpell(8929) -- Moonfire  7
            player:LearnSpell(9833) -- Moonfire  8
            player:LearnSpell(9834) -- Moonfire  9
            player:LearnSpell(9835) -- Moonfire  10
            player:LearnSpell(26987) -- Moonfire  11
            player:LearnSpell(26988) -- Moonfire  12
            player:LearnSpell(48462) -- Moonfire  13
            player:LearnSpell(48463) -- Moonfire  14
            player:LearnSpell(16689) -- Nature's Grasp  1
            player:LearnSpell(16810) -- Nature's Grasp  2
            player:LearnSpell(16811) -- Nature's Grasp  3
            player:LearnSpell(16812) -- Nature's Grasp  4
            player:LearnSpell(16813) -- Nature's Grasp  5
            player:LearnSpell(17329) -- Nature's Grasp  6
            player:LearnSpell(27009) -- Nature's Grasp  7
            player:LearnSpell(53312) -- Nature's Grasp  8
            player:LearnSpell(50464) -- Nourish  1
            player:LearnSpell(9005) -- Pounce  1
            player:LearnSpell(9823) -- Pounce  2
            player:LearnSpell(9827) -- Pounce  3
            player:LearnSpell(27006) -- Pounce  4
            player:LearnSpell(49803) -- Pounce  5
            player:LearnSpell(5215) -- Prowl  1
            player:LearnSpell(6783) -- Prowl  2
            player:LearnSpell(9913) -- Prowl  3
            player:LearnSpell(1822) -- Rake  1
            player:LearnSpell(1823) -- Rake  2
            player:LearnSpell(1824) -- Rake  3
            player:LearnSpell(9904) -- Rake  4
            player:LearnSpell(27003) -- Rake  5
            player:LearnSpell(48573) -- Rake  6
            player:LearnSpell(48574) -- Rake  7
            player:LearnSpell(6785) -- Ravage  1
            player:LearnSpell(6787) -- Ravage  2
            player:LearnSpell(9866) -- Ravage  3
            player:LearnSpell(9867) -- Ravage  4
            player:LearnSpell(27005) -- Ravage  5
            player:LearnSpell(48578) -- Ravage  6
            player:LearnSpell(48579) -- Ravage  7
            player:LearnSpell(20484) -- Rebirth  1
            player:LearnSpell(20739) -- Rebirth  2
            player:LearnSpell(20742) -- Rebirth  3
            player:LearnSpell(20747) -- Rebirth  4
            player:LearnSpell(20748) -- Rebirth  5
            player:LearnSpell(26994) -- Rebirth  6
            player:LearnSpell(48477) -- Rebirth  7
            player:LearnSpell(8936) -- Regrowth  1
            player:LearnSpell(8938) -- Regrowth  2
            player:LearnSpell(8939) -- Regrowth  3
            player:LearnSpell(8940) -- Regrowth  4
            player:LearnSpell(8941) -- Regrowth  5
            player:LearnSpell(9750) -- Regrowth  6
            player:LearnSpell(9856) -- Regrowth  7
            player:LearnSpell(9857) -- Regrowth  8
            player:LearnSpell(9858) -- Regrowth  9
            player:LearnSpell(26980) -- Regrowth  10
            player:LearnSpell(48442) -- Regrowth  11
            player:LearnSpell(48443) -- Regrowth  12
            player:LearnSpell(774) -- Rejuvenation  1
            player:LearnSpell(1058) -- Rejuvenation  2
            player:LearnSpell(1430) -- Rejuvenation  3
            player:LearnSpell(2090) -- Rejuvenation  4
            player:LearnSpell(2091) -- Rejuvenation  5
            player:LearnSpell(3627) -- Rejuvenation  6
            player:LearnSpell(8910) -- Rejuvenation  7
            player:LearnSpell(9839) -- Rejuvenation  8
            player:LearnSpell(9840) -- Rejuvenation  9
            player:LearnSpell(9841) -- Rejuvenation  10
            player:LearnSpell(25299) -- Rejuvenation  11
            player:LearnSpell(26981) -- Rejuvenation  12
            player:LearnSpell(26982) -- Rejuvenation  13
            player:LearnSpell(48440) -- Rejuvenation  14
            player:LearnSpell(48441) -- Rejuvenation  15
            player:LearnSpell(2782) -- Remove Curse
            player:LearnSpell(50769) -- Revive  1
            player:LearnSpell(50768) -- Revive  2
            player:LearnSpell(50767) -- Revive  3
            player:LearnSpell(50766) -- Revive  4
            player:LearnSpell(50765) -- Revive  5
            player:LearnSpell(50764) -- Revive  6
            player:LearnSpell(50763) -- Revive  7
            player:LearnSpell(1079) -- Rip  1
            player:LearnSpell(9492) -- Rip  2
            player:LearnSpell(9493) -- Rip  3
            player:LearnSpell(9752) -- Rip  4
            player:LearnSpell(9894) -- Rip  5
            player:LearnSpell(9896) -- Rip  6
            player:LearnSpell(27008) -- Rip  7
            player:LearnSpell(49799) -- Rip  8
            player:LearnSpell(49800) -- Rip  9
            player:LearnSpell(62600) -- Savage Defense
            player:LearnSpell(52610) -- Savage Roar  1
            player:LearnSpell(5221) -- Shred  1
            player:LearnSpell(6800) -- Shred  2
            player:LearnSpell(8992) -- Shred  3
            player:LearnSpell(9829) -- Shred  4
            player:LearnSpell(9830) -- Shred  5
            player:LearnSpell(27001) -- Shred  6
            player:LearnSpell(27002) -- Shred  7
            player:LearnSpell(48571) -- Shred  8
            player:LearnSpell(48572) -- Shred  9
            player:LearnSpell(2908) -- Soothe Animal  1
            player:LearnSpell(8955) -- Soothe Animal  2
            player:LearnSpell(9901) -- Soothe Animal  3
            player:LearnSpell(26995) -- Soothe Animal  4
            player:LearnSpell(2912) -- Starfire  1
            player:LearnSpell(8949) -- Starfire  2
            player:LearnSpell(8950) -- Starfire  3
            player:LearnSpell(8951) -- Starfire  4
            player:LearnSpell(9875) -- Starfire  5
            player:LearnSpell(9876) -- Starfire  6
            player:LearnSpell(25298) -- Starfire  7
            player:LearnSpell(26986) -- Starfire  8
            player:LearnSpell(48464) -- Starfire  9
            player:LearnSpell(48465) -- Starfire  10
            player:LearnSpell(40120) -- Swift Flight Form
            player:LearnSpell(779) -- Swipe (Bear)  1
            player:LearnSpell(780) -- Swipe (Bear)  2
            player:LearnSpell(769) -- Swipe (Bear)  3
            player:LearnSpell(9754) -- Swipe (Bear)  4
            player:LearnSpell(9908) -- Swipe (Bear)  5
            player:LearnSpell(26997) -- Swipe (Bear)  6
            player:LearnSpell(48561) -- Swipe (Bear)  7
            player:LearnSpell(48562) -- Swipe (Bear)  8
            player:LearnSpell(62078) -- Swipe (Cat)  1
            player:LearnSpell(18960) -- Teleport: Moonglade
            player:LearnSpell(467) -- Thorns  1
            player:LearnSpell(782) -- Thorns  2
            player:LearnSpell(1075) -- Thorns  3
            player:LearnSpell(8914) -- Thorns  4
            player:LearnSpell(9756) -- Thorns  5
            player:LearnSpell(9910) -- Thorns  6
            player:LearnSpell(26992) -- Thorns  7
            player:LearnSpell(53307) -- Thorns  8
            player:LearnSpell(5217) -- Tiger's Fury  1
            player:LearnSpell(6793) -- Tiger's Fury  2
            player:LearnSpell(9845) -- Tiger's Fury  3
            player:LearnSpell(9846) -- Tiger's Fury  4
            player:LearnSpell(50212) -- Tiger's Fury  5
            player:LearnSpell(50213) -- Tiger's Fury  6
            player:LearnSpell(5225) -- Track Humanoids
            player:LearnSpell(740) -- Tranquility  1
            player:LearnSpell(8918) -- Tranquility  2
            player:LearnSpell(9862) -- Tranquility  3
            player:LearnSpell(9863) -- Tranquility  4
            player:LearnSpell(26983) -- Tranquility  5
            player:LearnSpell(48446) -- Tranquility  6
            player:LearnSpell(48447) -- Tranquility  7
            player:LearnSpell(783) -- Travel Form
            player:LearnSpell(5177) -- Wrath  2
            player:LearnSpell(5178) -- Wrath  3
            player:LearnSpell(5179) -- Wrath  4
            player:LearnSpell(5180) -- Wrath  5
            player:LearnSpell(6780) -- Wrath  6
            player:LearnSpell(8905) -- Wrath  7
            player:LearnSpell(9912) -- Wrath  8
            player:LearnSpell(26984) -- Wrath  9
            player:LearnSpell(26985) -- Wrath  10
            player:LearnSpell(48459) -- Wrath  11
            player:LearnSpell(48461) -- Wrath  12
            end
    end
     
    RegisterServerHook(3, "Teach_OnEnterWorld")
    I use ArcEmu "Xantons 3.3.2"

    How can i activate this?

    [?]Teach_OnEnterWorld - Help
  2. #2
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm pretty sure you need LuaHypArc or something like that if you want server hooks to work in lua. You sure arcemu-world.exe is showing that the file loaded successfully?
    Life Puzzler WoW - Website | Forums

  3. #3
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Gastricpenguin View Post
    I'm pretty sure you need LuaHypArc or something like that if you want server hooks to work in lua. You sure arcemu-world.exe is showing that the file loaded successfully?
    Thanks for the epic fast support Gastricpenguin
    I am pretty new to LUA or private servers generally.
    1# - So LuaHypArc is something like a software to download?
    2# - And no, it shows ""Table worldbroadcast loads failed,so BCSystem disabled d already""

  4. #4
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I figured it out but couldnt install SVN since they doesnt support my core or something

  5. #5
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your using ManGOS yes?

    You cant use .Lua in ManGOS. ArcEmu is what you need to use.




  6. #6
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kiev View Post
    Your using ManGOS yes?

    You cant use .Lua in ManGOS. ArcEmu is what you need to use.
    Yes i use Arcemu got a solution for me ?

  7. #7
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take this piece of code:
    Code:
    if (GetLuaEngine() ~= "LuaHypArc") then
    print("LuaEngine: Did not load '<Your Scripts Name Here>' script - LuaHypArc not Installed.")	print("LuaEngine: Please visit Forums: [LuaEngine] LuaHypArc | WoW-V.com for more information.")print("LuaEngine: Did not load 'Server Hook Events' script - LuaHypArc not Installed.\nLuaEngine: Please visit http://luahyparc.zapto.org/]http://luahyparc.zapto.org/ for more information.")
    else
    And place it in the bottom of your script.
    Then after the "Else" you put your ServerHook functions.
    For example:

    Code:
    if (GetLuaEngine() ~= "LuaHypArc") then
    print("LuaEngine: Did not load 'Server Hook Event' script - LuaHypArc not Installed.")	print("LuaEngine: Please visit Forums: [LuaEngine] LuaHypArc | WoW-V.com for more information.")print("LuaEngine: Did not load 'Server Hook Events' script - LuaHypArc not Installed.\nLuaEngine: Please visit http://luahyparc.zapto.org/]http://luahyparc.zapto.org/ for more information.")
    else
    	RegisterServerHook(16, "ReloadLua")
    	RegisterServerHook(15, "IceCrownPvPDisable")
    end
    If you do have LuaHypArc installed then it wont say anything and execute your scripts.
    If you don't have LuaHypArc though then it will show a message in your Server CMD window that says: "LuaEngine: Did not load 'Server Hook Event' scripts - LuaHypArc not Installed."

    So that way you can see if you have it or not.

  8. #8
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by AngelSandy View Post
    Take this piece of code:
    Code:
    if (GetLuaEngine() ~= "LuaHypArc") then
    print("LuaEngine: Did not load '<Your Scripts Name Here>' script - LuaHypArc not Installed.")	print("LuaEngine: Please visit Forums: [LuaEngine] LuaHypArc | WoW-V.com for more information.")print("LuaEngine: Did not load 'Server Hook Events' script - LuaHypArc not Installed.\nLuaEngine: Please visit http://luahyparc.zapto.org/]http://luahyparc.zapto.org/ for more information.")
    else
    And place it in the bottom of your script.
    Then after the "Else" you put your ServerHook functions.
    For example:

    Code:
    if (GetLuaEngine() ~= "LuaHypArc") then
    print("LuaEngine: Did not load 'Server Hook Event' script - LuaHypArc not Installed.")	print("LuaEngine: Please visit Forums: [LuaEngine] LuaHypArc | WoW-V.com for more information.")print("LuaEngine: Did not load 'Server Hook Events' script - LuaHypArc not Installed.\nLuaEngine: Please visit http://luahyparc.zapto.org/]http://luahyparc.zapto.org/ for more information.")
    else
    	RegisterServerHook(16, "ReloadLua")
    	RegisterServerHook(15, "IceCrownPvPDisable")
    end
    If you do have LuaHypArc installed then it wont say anything and execute your scripts.
    If you don't have LuaHypArc though then it will show a message in your Server CMD window that says: "LuaEngine: Did not load 'Server Hook Event' scripts - LuaHypArc not Installed."

    So that way you can see if you have it or not.
    Thank you so much for the efforth, i will try this and reply how it went

  9. #9
    Dormex's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nothing happend in the world.exe thou.

  10. #10
    Eldrak's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Go into your world.conf and Search for Lua. Then turn Lua on.

Similar Threads

  1. Help WoW Fish-Bot
    By Eliteplague in forum World of Warcraft General
    Replies: 2
    Last Post: 12-10-2024, 05:46 PM
  2. HELP: Gold Scam Exploit
    By GoldDragon in forum World of Warcraft General
    Replies: 11
    Last Post: 01-23-2007, 07:26 PM
  3. Banner Ad Redesign help
    By Matt in forum Community Chat
    Replies: 57
    Last Post: 07-08-2006, 08:40 PM
  4. Hit points and talent points? Please help
    By hankusdankus in forum World of Warcraft General
    Replies: 6
    Last Post: 05-04-2006, 02:00 PM
  5. bot help
    By xwhitedeathx in forum World of Warcraft General
    Replies: 3
    Last Post: 05-01-2006, 03:50 AM
All times are GMT -5. The time now is 08:31 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