ArcEmu: World.exe Can't Load Lua Scripts. - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

World.exe Can't Load Lua Scripts.

#1 User is offline   YuckFou 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 01-October 12
  • Gender:Male
  • Location:The Netherlands.
  • Server OS:Windows

Posted 01 October 2012 - 12:48 PM

Hi,

In my world.exe I get these 2 errors:
[10-01-2012][19:45][Arcemu]LuaEngine: loading scripts\user.lua failed.(could not load)
[10-01-2012][19:45][Arcemu] [ERR] ..\..\..\code\src\scripts\src\LuaEngine\LUAEngine.cpp:92 report scripts\user.lua:178: 'end' expected (to close 'function' at line 10) near 'elseif'

I don't know what to do.
0

#2 User is offline   Grimnir 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 03-November 11
  • Gender:Male
  • Server OS:Linux

Posted 01 October 2012 - 01:45 PM

It tells you that the script

Quote

scripts\user.lua

can't be loaded because there's an error in this script on line 178.
If you don't need this script you can remove the script or ignore it but if you need it you could just post it and we see what we can do(probably fix it).
0

#3 User is offline   YuckFou 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 01-October 12
  • Gender:Male
  • Location:The Netherlands.
  • Server OS:Windows

Posted 01 October 2012 - 02:13 PM

View PostGrimnir, on 01 October 2012 - 01:45 PM, said:

It tells you that the script

can't be loaded because there's an error in this script on line 178.
If you don't need this script you can remove the script or ignore it but if you need it you could just post it and we see what we can do(probably fix it).


Okay. I changed the script and now it does work and get loaded.
The problem now is that wow.exe does't automatically seem to load the script.
I must type 'reloadscripts' in order for the script to work, is there a way to get around it?
0

#4 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 01 October 2012 - 03:10 PM

View PostYuckFou, on 01 October 2012 - 02:13 PM, said:

Okay. I changed the script and now it does work and get loaded.
The problem now is that wow.exe does't automatically seem to load the script.
I must type 'reloadscripts' in order for the script to work, is there a way to get around it?

That doesn't make much sense.
Are you sure you are not getting any error on startup ( regarding your script ).
Can you post your Lua script so others can try it too?
"The demand for free goods is infinite."
0

#5 User is offline   Zuel 

  • Member
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 11-November 11
  • Gender:Male
  • Server OS:Windows

Posted 02 October 2012 - 12:11 AM

View Postdfighter, on 01 October 2012 - 03:10 PM, said:

Can you post your Lua script so others can try it too?


do this ^ or people can't really help you, as your not making sense...
0

#6 User is offline   YuckFou 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 01-October 12
  • Gender:Male
  • Location:The Netherlands.
  • Server OS:Windows

Posted 02 October 2012 - 04:16 AM

I have tested the script, and it's working fine. What I'm trying to say is that the wow.exe simply doesn't load ALL of my custom scripts when it starts up.
--[[********************************************** ** Script created by: Ahkrir (Junnesejer / Mera)** ** Fully editable, but do not edit:             ** ** tables / quaries / strings (if exist)        ** ** Spells only have to be learned once          ** ** Spells don't have to be learned twice/more   ** ************************************************** ]]  function OnFirstEnterWorld(event, player) if(player:GetPlayerClass() == "Warrior") then         player:LearnSpell(47436) -- Battle Shout  [Rank 9]         player:LearnSpell(18499) -- Beserker Rage         player:LearnSpell(2458) -- Beserker Stance         player:LearnSpell(2687) -- Bloodrage         player:LearnSpell(1161) -- Challenging Shout         player:LearnSpell(11578) -- Charge [Rank 3]         player:LearnSpell(47520) -- Cleave [Rank 8]         player:LearnSpell(47440) -- Commanding Shout  [Rank 3]         player:LearnSpell(71) -- Defensive Stance         player:LearnSpell(47437) -- Demoralizing Shout [Rank 8]         player:LearnSpell(676) -- Disarm         player:LearnSpell(55694) -- Enraged Regeneration         player:LearnSpell(47471) -- Execute [Rank 9]         player:LearnSpell(1715) -- Hamstring 		player:UnlearnSpell(78) -- Heroic Strike [Rank 1]         player:LearnSpell(47450) -- Heroic Strike [Rank 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(47471) -- Rend [Rank 10]         player:LearnSpell(20230) -- Retaliation         player:LearnSpell(57823) -- Revenge  [Rank 9]         player:LearnSpell(64382) -- Shattering Throw         player:LearnSpell(72) -- Shield Bash         player:LearnSpell(2565) -- Shield Block         player:LearnSpell(47488) -- Shield Slam [Rank 8]         player:LearnSpell(871) -- Shield Wall         player:LearnSpell(47475) -- Slam [Rank 8]         player:LearnSpell(23920) -- Spell Reflection         player:LearnSpell(12678) -- Stance Mastery         player:LearnSpell(7386) -- Sunder Armor         player:LearnSpell(355) -- Taunt         player:LearnSpell(47502) -- Thunder Clap [Rank 9]         player:LearnSpell(34428) -- Victory Rush         player:LearnSpell(1680) -- Whirlwind elseif(player:GetPlayerClass() == "Paladin") then         player:LearnSpell(31884) -- Avenging Wrath         player:LearnSpell(20217) -- Blessing of Kings         player:LearnSpell(48932) -- Blessing of Might [Rank 10]         player:LearnSpell(48936) -- Blessing of Wisdom [Rank 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(48810) -- Consecration [Rank 8]         player:LearnSpell(32223) -- Crusader Aura         player:LearnSpell(48942) -- Devotion Aura [Rank 10]         player:LearnSpell(19752) -- Divine Intervention         player:LearnSpell(54428) -- Divine Plea         player:LearnSpell(498) -- Divine Protection         player:LearnSpell(642) -- Divine Shield         player:LearnSpell(48801) -- Exorcism [Rank 9]         player:LearnSpell(48947) -- Fire Resistance Aura [Rank 5]         player:LearnSpell(48785) -- Flash of Light [Rank 9]         player:LearnSpell(48945) -- Frost Resistance Aura [Rank 5]         player:LearnSpell(25898) -- Greater Blessing of Kings         player:LearnSpell(48934) -- Greater Blessing of Might [Rank 5]         player:LearnSpell(25899) -- Greater Blessing of Sanctuary         player:LearnSpell(48938) -- Greater Blessing of Wisdom [Rank 5]         player:LearnSpell(10308) -- Hammer of Justice [Rank 4]         player:LearnSpell(48806) -- Hammer of Wrath [Rank 6]         player:LearnSpell(1044) -- Hand of Freedom         player:LearnSpell(10278) -- Hand of Protection [Rank 3]         player:LearnSpell(62124) -- Hand of Reckoning         player:LearnSpell(6940) -- Hand of Sacrifice         player:LearnSpell(1038) -- Hand of Salvation         player:LearnSpell(48782) -- Holy Light [Rank 13]         player:LearnSpell(48817) -- Holy Wrath [Rank 5]         player:LearnSpell(53407) -- Judgement of Justice         player:LearnSpell(20271) -- Judgement of Light         player:LearnSpell(53408) -- Judgement of Wisdom         player:LearnSpell(48788) -- Lay on Hands [Rank 5]         player:LearnSpell(1152) -- Purify         player:LearnSpell(48950) -- Redemption [Rank 7]         player:LearnSpell(54043) -- Retribution Aura [Rank 7]         player:LearnSpell(31789) -- Righteous Defense         player:LearnSpell(25780) -- Righteous Fury         player:LearnSpell(53601) -- Sacred Shield [Rank 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 [Rank 5]         player:LearnSpell(5502) -- Sense Undead         player:LearnSpell(61411) -- Shield of Righteousness [Rank 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 elseif(player:GetPlayerClass() == "Hunter") then         player:LearnSpell(49045) -- Arcane Shot [Rank 11]         player:LearnSpell(13161) -- Aspect of the Beast         player:LearnSpell(5118) -- Aspect of the Cheetah         player:LearnSpell(61847) -- Aspect of the Dragonhawk [Rank 2]         player:LearnSpell(27044) -- Aspect of the Hawk [Rank 8]         player:LearnSpell(13163) -- Aspect of the Monkey         player:LearnSpell(13159) -- Aspect of the Pack         player:LearnSpell(34074) -- Aspect of the Viper         player:LearnSpell(49071) -- Aspect of the Wild [Rank 4]         player:LearnSpell(1462) -- Beast Lore         player:LearnSpell(883) -- Call Pet         player:LearnSpell(62757) -- Call Stabled Pet         player:LearnSpell(5116) -- Concussive Shot         player:LearnSpell(19263) -- Deterrence         player:LearnSpell(781) -- Disengage         player:LearnSpell(2641) -- Dismiss Pet         player:LearnSpell(20736) -- Distracting Shot [Rank 1]         player:LearnSpell(6197) -- Eagle Eye         player:LearnSpell(49067) -- Explosive Trap [Rank 6]         player:LearnSpell(1002) -- Eyes of the Beast         player:LearnSpell(6991) -- Feed Pet         player:LearnSpell(5384) -- Feign Death         player:LearnSpell(1543) -- Flare         player:LearnSpell(14311) -- Freezing Trap [Rank 3]         player:LearnSpell(13809) -- Frost Trap         player:LearnSpell(53338) -- Hunter's Mark [Rank 5]         player:LearnSpell(49056) -- Immolation Trap [Rank 8]         player:LearnSpell(34026) -- Kill Command         player:LearnSpell(61006) -- Kill Shot [Rank 3]         player:LearnSpell(53271) -- Master's Call         player:LearnSpell(48990) -- Mend Pet [Rank 10]         player:LearnSpell(34477) -- Misdirection         player:LearnSpell(53339) -- Mongoose Bite [Rank 6]         player:LearnSpell(49048) -- Multi-Shot [Rank 8]         player:LearnSpell(3045) -- Rapid Fire         player:LearnSpell(48996) -- Raptor Strike [Rank 11]         player:LearnSpell(982) -- Revive Pet         player:LearnSpell(14327) -- Scare Beast [Rank 3]         player:LearnSpell(3043) -- Scorpid Sting         player:LearnSpell(49001) -- Serpent Sting [Rank 12]         player:LearnSpell(34600) -- Snake Trap         player:LearnSpell(49052) -- Steady Shot [Rank 4]         player:LearnSpell(1515) -- Tame Beast         player:LearnSpell(1494) -- Track Beasts         player:LearnSpell(19878) -- Track Demons         player:LearnSpell(19879) -- Track Dragonkin         player:LearnSpell(19880) -- Track Elementals         player:LearnSpell(19882) -- Track Giants         player:LearnSpell(19885) -- Track Hidden         player:LearnSpell(19883) -- Track Humanoids         player:LearnSpell(19884) -- Track Undead         player:LearnSpell(19801) -- Tranquilizing Shot         player:LearnSpell(3034) -- Viper Sting         player:LearnSpell(58434) -- Volley [Rank 6]         player:LearnSpell(2974) -- Wing Clip         player:GossipComplete() end -- End Hunter Spells   --[Rogue Spells]-- if (intid == 53) then         player:LearnSpell(48691) -- Ambush [Rank 10]         player:LearnSpell(48657) -- Backstab [Rank 12]         player:LearnSpell(2094) -- Blind         player:LearnSpell(1833) -- Cheap Shot         player:LearnSpell(31224) -- Cloak of Shadows         player:LearnSpell(48674) -- Deadly Throw [Rank 3]         player:LearnSpell(2836) -- Detect Traps         player:LearnSpell(1842) -- Disarm Trap         player:LearnSpell(51722) -- Dismantle         player:LearnSpell(1725) -- Distract         player:LearnSpell(57993) -- Envenom [Rank 4]         player:LearnSpell(26669) -- Evasion [Rank 2]         player:LearnSpell(48668) -- Eviscerate [Rank 12]         player:LearnSpell(8647) -- Expose Armor         player:LearnSpell(51723) -- Fan of Knives         player:LearnSpell(48659) -- Feint [Rank 8]         player:LearnSpell(48676) -- Garrote [Rank 10]         player:LearnSpell(1776) -- Gouge         player:LearnSpell(1766) -- Kick         player:LearnSpell(8643) -- Kidney Shot [Rank 2]         player:LearnSpell(1804) -- Pick Lock         player:LearnSpell(921) -- Pick Pocket         player:LearnSpell(48672) -- Rupture [Rank 9]         player:LearnSpell(1860) -- Safe Fall         player:LearnSpell(51724) -- Sap [Rank 4]         player:LearnSpell(5938) -- Shiv         player:LearnSpell(48638) -- Sinister Strike [Rank 12]         player:LearnSpell(6774) -- Slice and Dice [Rank 2]         player:LearnSpell(11305) -- Sprint [Rank 3]         player:LearnSpell(1787) -- Stealth [Rank 4]         player:LearnSpell(57934) -- Tricks of the Trade         player:LearnSpell(26889) -- Vanish [Rank 3] elseif(player:GetPlayerClass() == "Priest") then         player:LearnSpell(552) -- Abolish Disease         player:LearnSpell(48120) -- Binding Heal [Rank 2]         player:LearnSpell(528) -- Cure Disease         player:LearnSpell(48300) -- Devouring Plague [Rank 9]         player:LearnSpell(988) -- Dispel Magic [Rank 2]         player:LearnSpell(64843) -- Divine Hymn         player:LearnSpell(48073) -- Divine Spirit [Rank 6]         player:LearnSpell(586) -- Fade         player:LearnSpell(6346) -- Fear Ward         player:LearnSpell(48071) -- Flash Heal [Rank 11]         player:LearnSpell(48063) -- Greater Heal [Rank 9]         player:LearnSpell(6064) -- Heal [Rank 4]         player:LearnSpell(48078) -- Holy Nova [Rank 9]         player:LearnSpell(64901) -- Hymn of Hope         player:LearnSpell(48168) -- Inner Fire [Rank 9]         player:LearnSpell(2053) -- Lesser Heal [Rank 3]         player:LearnSpell(1706) -- Levitate         player:LearnSpell(8129) -- Mana Burn         player:LearnSpell(32375) -- Mass Dispel         player:LearnSpell(48127) -- Mind Blast [Rank 13]         player:LearnSpell(605) -- Mind Control         player:LearnSpell(53023) -- Mind Sear [Rank 2]         player:LearnSpell(453) -- Mind Soothe         player:LearnSpell(10909) -- Mind Vision [Rank 2]         player:LearnSpell(48161) -- Power Word: Fortitude [Rank 8]         player:LearnSpell(48066) -- Power Word: Shield [Rank 14]         player:LearnSpell(48162) -- Prayer of Fortitude [Rank 4]         player:LearnSpell(48072) -- Prayer of Healing [Rank 7]         player:LearnSpell(48113) -- Prayer of Mending [Rank 3]         player:LearnSpell(48170) -- Prayer of Shadow Protection [Rank 3]         player:LearnSpell(48074) -- Prayer of Spirit [Rank 3]         player:LearnSpell(10890) -- Psychic Scream [Rank 4]         player:LearnSpell(48068) -- Renew [Rank 14]         player:LearnSpell(48171) -- Resurrection [Rank 7]         player:LearnSpell(10955) -- Shackle Undead [Rank 3]         player:LearnSpell(48158) -- Shadow Word: Death [Rank 4]         player:LearnSpell(48125) -- Shadow Word: Pain [Rank 12]         player:LearnSpell(34433) -- Shadowfiend         player:LearnSpell(48123) -- Smite [Rank 12] elseif(player:GetPlayerClass() == "Death Knight") then         player:LearnSpell(48778) -- Acherus Deathcharger         player:LearnSpell(48707) -- Anti-Magic Shell         player:LearnSpell(42650) -- Army of the Dead         player:LearnSpell(49941) -- Blood Boil [Rank 4]         player:LearnSpell(49930) -- Blood Strike [Rank 6]         player:LearnSpell(45529) -- Blood Tap         player:LearnSpell(45524) -- Chains of Ice         player:LearnSpell(56222) -- Dark Command         player:LearnSpell(49938) -- Death and Decay [Rank 4]         player:LearnSpell(62904) -- Death Coil [Rank 5]         player:LearnSpell(50977) -- Death Gate         player:LearnSpell(48743) -- Death Pact         player:LearnSpell(49924) -- Death Strike [Rank 5]         player:LearnSpell(49938) -- Death and Decay [Rank 4]         player:LearnSpell(47568) -- Empower Rune Weapon         player:LearnSpell(48263) -- Frost Presence         player:LearnSpell(57623) -- Horn of Winter [Rank 2]         player:LearnSpell(48792) -- Icebound Fortitude         player:LearnSpell(49909) -- Icy Touch [Rank 5]         player:LearnSpell(47528) -- Mind Freeze         player:LearnSpell(51425) -- Obliterate [Rank 4]         player:LearnSpell(3714) -- Path of Frost         player:LearnSpell(50842) -- Pestilence         player:LearnSpell(49221) -- Plague Strike [Rank 6]         player:LearnSpell(61999) -- Raise Ally         player:LearnSpell(46584) -- Raise Dead         player:LearnSpell(56815) -- Rune Strike         player:LearnSpell(53428) -- Runeforging         player:LearnSpell(47476) -- Strangulate         player:LearnSpell(48265) -- Unholy Presence elseif(player:GetPlayerClass() == "Shaman") then         player:LearnSpell(49277) -- Ancestral Spirit [Rank 7]         player:LearnSpell(556) -- Astral Recall                 local race = player:GetPlayerRace()                 if race == 2 or race == 6 or race == 8 then                         player:LearnSpell(2825) -- Bloodlust                 elseif race == 11 then                         player:LearnSpell(32182) -- Heroism                 end         player:LearnSpell(66843) -- Call of the Ancestors         player:LearnSpell(66842) -- Call of the Elements         player:LearnSpell(66844) -- Call of the Spirits         player:LearnSpell(55459) -- Chain Heal [Rank 7]         player:LearnSpell(49271) -- Chain Lightning [Rank 8]         player:LearnSpell(8170) -- Cleansing Totem         player:LearnSpell(526) -- Cure Toxins         player:LearnSpell(2062) -- Earth Elemental Totem         player:LearnSpell(49231) -- Earth Shock [Rank 10]         player:LearnSpell(2484) -- Earthbind Totem         player:LearnSpell(51994) -- Earthliving Weapon [Rank 6]         player:LearnSpell(6196) -- Far Sight         player:LearnSpell(2894) -- Fire Elemental Totem         player:LearnSpell(61657) -- Fire Nova Totem [Rank 9]         player:LearnSpell(8184) -- Fire Resistance Totem [Rank 1]         player:LearnSpell(58739) -- Fire Resistance Totem [Rank 6]         player:LearnSpell(49233) -- Flame Shock [Rank 9]         player:LearnSpell(58656) -- Flametongue Totem [Rank 8]         player:LearnSpell(58790) -- Flametongue Weapon [Rank 10]         player:LearnSpell(58745) -- Frost Resistance Totem [Rank 6]         player:LearnSpell(49236) -- Frost Shock [Rank 7]         player:LearnSpell(58796) -- Frostbrand Weapon [Rank 9]         player:LearnSpell(2645) -- Ghost Wolf         player:LearnSpell(8177) -- Grounding Totem         player:LearnSpell(58757) -- Healing Stream Totem [Rank 9]         player:LearnSpell(49273) -- Healing Wave [Rank 14]         player:LearnSpell(51514) -- Hex         player:LearnSpell(60043) -- Lava Burst [Rank 2]         player:LearnSpell(49276) -- Lesser Healing Wave [Rank 9]         player:LearnSpell(49238) -- Lightning Bolt [Rank 14]         player:LearnSpell(49281) -- Lightning Shield [Rank 11]         player:LearnSpell(58734) -- Magma Totem [Rank 7]         player:LearnSpell(58774) -- Mana Spring Totem [Rank 8]         player:LearnSpell(58749) -- Nature Resistance Totem [Rank 6]         player:LearnSpell(8012) -- Purge [Rank 2]         player:LearnSpell(20608) -- Reincarnation         player:LearnSpell(10399) -- Rockbiter Weapon [Rank 4]         player:LearnSpell(58704) -- Searing Totem [Rank 10]         player:LearnSpell(6495) -- Sentry Totem         player:LearnSpell(58582) -- Stoneclaw Totem [Rank 10]         player:LearnSpell(58753) -- Stoneskin Totem [Rank 10]          player:LearnSpell(58643) -- Strength of Earth Totem [Rank 8]         player:LearnSpell(36936) -- Totemic Recall         player:LearnSpell(8143) -- Tremor Totem         player:LearnSpell(131) -- Water Breathing         player:LearnSpell(57960) -- Water Shield [Rank 9]         player:LearnSpell(546) -- Water Walking         player:LearnSpell(57994) -- Wind Shear         player:LearnSpell(8512) -- Windfury Totem         player:LearnSpell(58804) -- Windfury Weapon [Rank 8] elseif(player:GetPlayerClass() == "Mage") then         player:LearnSpell(43017) -- Amplify Magic [Rank 7]         player:LearnSpell(42897) -- Arcane Blast [Rank 4]         player:LearnSpell(43002) -- Arcane Brilliance [Rank 3]         player:LearnSpell(42921) -- Arcane Explosion [Rank 10]         player:LearnSpell(42995) -- Arcane Intellect [Rank 7]         player:LearnSpell(42846) -- Arcane Missles [Rank 13]         player:LearnSpell(1953) -- Blink         player:LearnSpell(42940) -- Blizzard [Rank 9]         player:LearnSpell(42931) -- Cone of Cold [Rank 8]         player:LearnSpell(33717) -- Conjure Food [Rank 8]         player:LearnSpell(42985) -- Conjure Mana Gem [Rank 6]         player:LearnSpell(42956) -- Conjure Refreshment [Rank 2]         player:LearnSpell(27090) -- Conjure Water [Rank 9]         player:LearnSpell(2139) -- Counterspell         player:LearnSpell(61316) -- Dalaran Brilliance [Rank 3]         player:LearnSpell(61024) -- Dalaran Intellect [Rank 7]         player:LearnSpell(43015) -- Dampen Magic [Rank 7]         player:LearnSpell(12051) -- Evocation         player:LearnSpell(42873) -- Fire Blast [Rank 11]         player:LearnSpell(43010) -- Fire Ward [Rank 7]         player:LearnSpell(42833) -- Fireball [Rank 16]         player:LearnSpell(42926) -- Flamestrike [Rank 9]         player:LearnSpell(7301) -- Frost Armor [Rank 3]         player:LearnSpell(42917) -- Frost Nova [Rank 6]         player:LearnSpell(43012) -- Frost Ward [Rank 7]         player:LearnSpell(42842) -- Frostbolt [Rank 16]         player:LearnSpell(47610) -- Frostfire Bolt [Rank 2]         player:LearnSpell(43008) -- Ice Armor [Rank 6]         player:LearnSpell(45438) -- Ice Block         player:LearnSpell(42914) -- Ice Lance [Rank 3]         player:LearnSpell(66) -- Invisibility         player:LearnSpell(43024) -- Mage Armor [Rank 6]         player:LearnSpell(43020) -- Mana Shield [Rank 9]         player:LearnSpell(55342) -- Mirror Image         player:LearnSpell(43046) -- Molten Armor [Rank 3]         player:LearnSpell(12826) -- Polymorph [Rank 4]         player:LearnSpell(61305) -- Polymorph: Black Cat         player:LearnSpell(28272) -- Polymorph: Pig         player:LearnSpell(61721) -- Polymorph: Rabbit         player:LearnSpell(61780) -- Polymorph: Turkey         player:LearnSpell(28271) -- Polymorph: Turtle         player:LearnSpell(53142) -- Portal: Dalaran                 local race = player:GetPlayerRace()                 if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then                         player:LearnSpell(11419) -- Portal: Darnassus                         player:LearnSpell(32266) -- Portal: Exodar                         player:LearnSpell(11416) -- Portal: Ironforge                         player:LearnSpell(33691) -- Portal: Shattrath                         player:LearnSpell(11059) -- Portal: Stormwind                         player:LearnSpell(49360) -- Portal: Theramore                 elseif race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then                         player:LearnSpell(11417) -- Portal: Orgrimmar                         player:LearnSpell(35717) -- Portal: Shattrath                         player:LearnSpell(32267) -- Portal: Silvermoon                         player:LearnSpell(49361) -- Portal: Stonard                         player:LearnSpell(11420) -- Portal: Thunder Bluff                         player:LearnSpell(11418) -- Portal: Undercity                 end         player:LearnSpell(475) -- Remove Curse         player:LearnSpell(58659) -- Ritual of Refreshment [Rank 2]         player:LearnSpell(42859) -- Scorch [Rank 11]         player:LearnSpell(130) -- Slow Fall         player:LearnSpell(30449) -- Spellsteal         player:LearnSpell(53140) -- Teleport: Dalaran                 local race = player:GetPlayerRace()                 if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then                         player:LearnSpell(3565) -- Teleport: Darnassus                         player:LearnSpell(32271) -- Teleport: Exodar                         player:LearnSpell(3562) -- Teleport: Ironforge                         player:LearnSpell(33690) -- Teleport: Shattrath                         player:LearnSpell(3561) -- Teleport: Stormwind                         player:LearnSpell(49359) -- Teleport: Theramore                 elseif race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then                         player:LearnSpell(3567) -- Teleport: Orgrimmar                         player:LearnSpell(35715) -- Teleport: Shattrath                         player:LearnSpell(32272) -- Teleport: Silvermoon                         player:LearnSpell(49358) -- Teleport: Stonard                         player:LearnSpell(3566) -- Teleport: Thunder Bluff                         player:LearnSpell(3563) -- Teleport: Undercity                 end elseif(player:GetPlayerClass() == "Warlock") then         player:LearnSpell(60220) -- Create Firestone [Rank 7]         player:LearnSpell(47888) -- Create Spellstone [Rank 6]         player:LearnSpell(18647) -- Banish [Rank 2]         player:LearnSpell(47813) -- Corruption [Rank 10]         player:LearnSpell(47878) -- Create Healthstone [Rank 8]         player:LearnSpell(47864) -- Curse of Agony [Rank 9]         player:LearnSpell(47867) -- Curse of Doom [Rank 3]         player:LearnSpell(11719) -- Curse of Tongues [Rank 2]         player:LearnSpell(50511) -- Curse of Weakness [Rank 9]         player:LearnSpell(47865) -- Curse of the Elements [Rank 5]         player:LearnSpell(47860) -- Death Coil [Rank 6]         player:LearnSpell(47889) -- Demon Armor [Rank 8]         player:LearnSpell(696) -- Demon Skin [Rank 2]         player:LearnSpell(48018) -- Demonic Circle: Summon         player:LearnSpell(48020) -- Demonic Circle: Teleport         player:LearnSpell(132) -- Detect Invisibility         player:LearnSpell(47857) -- Drain Life [Rank 9]         player:LearnSpell(5138) -- Drain Mana         player:LearnSpell(47855) -- Drain Soul [Rank 6]         player:LearnSpell(23161) -- Dreadsteed         player:LearnSpell(61191) -- Enslave Demon [Rank 4]         player:LearnSpell(126) -- Eye of Kilrogg         player:LearnSpell(6215) -- Fear [Rank 3]         player:LearnSpell(47893) -- Fel Armor [Rank 4]         player:LearnSpell(5784) -- Felsteed         player:LearnSpell(47856) -- Health Funnel [Rank 9]         player:LearnSpell(47823) -- Hellfire [Rank 5]         player:LearnSpell(17928) -- Howl of Terror [Rank 2]         player:LearnSpell(47811) -- Immolate [Rank 11]         player:LearnSpell(47838) -- Incinerate [Rank 4]         player:LearnSpell(57946) -- Life Tap [Rank 8]         player:LearnSpell(47820) -- Rain of Fire [Rank 7]         player:LearnSpell(18540) -- Ritual of Doom         player:LearnSpell(58887) -- Ritual of Souls [Rank 2]         player:LearnSpell(698) -- Ritual of Summoning         player:LearnSpell(47815) -- Searing Pain [Rank 10]         player:LearnSpell(47836) -- Seed of Corruption [Rank 3]         player:LearnSpell(5500) -- Sense Demons         player:LearnSpell(47809) -- Shadow Bolt [Rank 13]         player:LearnSpell(47891) -- Shadow Ward [Rank 6]         player:LearnSpell(61290) -- Shadowflame [Rank 2]         player:LearnSpell(47825) -- Soul Fire [Rank 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 elseif(player:GetPlayerClass() == "Druid") then         player:LearnSpell(2893) -- Abolish Poison         player:LearnSpell(1066) -- Aquatic Form         player:LearnSpell(22812) -- Barkskin         player:LearnSpell(8983) -- Bash [Rank 3]         player:LearnSpell(768) -- Cat Form         player:LearnSpell(5209) -- Challenging Roar         player:LearnSpell(48570) -- Claw [Rank 8]         player:LearnSpell(48575) -- Cower [Rank 6]         player:LearnSpell(8946) -- Cure Poison         player:LearnSpell(33786) -- Cyclone         player:LearnSpell(33357) -- Dash [Rank 3]         player:LearnSpell(48560) -- Demoralizing Roar [Rank 8]         player:LearnSpell(9634) -- Dire Bear Form         player:LearnSpell(5229) -- Enrage         player:LearnSpell(53308) -- Entangling Roots [Rank 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(48577) -- Ferocious Bite [Rank 8]         player:LearnSpell(33943) -- Flight Form         player:LearnSpell(22842) -- Frenzied Regeneration [Rank 1]         player:LearnSpell(48470) -- Gift of the Wild [Rank 4]         player:LearnSpell(6795) -- Growl         player:LearnSpell(48378) -- Healing Touch [Rank 15]         player:LearnSpell(48467) -- Hurricane [Rank 5]         player:LearnSpell(29166) -- Innervate         player:LearnSpell(48568) -- Lacerate [Rank 3]         player:LearnSpell(48451) -- Lifebloom [Rank 3]         player:LearnSpell(49802) -- Maim [Rank 2]         player:LearnSpell(48564) -- Mangle (Bear) [Rank 5]         player:LearnSpell(48566) -- Mangle (Cat) [Rank 5]         player:LearnSpell(48469) -- Mark of the Wild [Rank 9]         player:LearnSpell(48480) -- Maul [Rank 10]         player:LearnSpell(48463) -- Moonfire [Rank 14]         player:LearnSpell(53312) -- Nature's Grasp [Rank 8]         player:LearnSpell(50464) -- Nourish [Rank 1]         player:LearnSpell(49803) -- Pounce [Rank 5]         player:LearnSpell(9913) -- Prowl [Rank 3]         player:LearnSpell(48574) -- Rake [Rank 7]         player:LearnSpell(48579) -- Ravage [Rank 7]         player:LearnSpell(48477) -- Rebirth [Rank 7]         player:LearnSpell(48443) -- Regrowth [Rank 12]         player:LearnSpell(48441) -- Rejuvenation [Rank 15]         player:LearnSpell(2782) -- Remove Curse         player:LearnSpell(50763) -- Revive [Rank 7]         player:LearnSpell(49800) -- Rip [Rank 9]         player:LearnSpell(62600) -- Savage Defense         player:LearnSpell(52610) -- Savage Roar [Rank 1]         player:LearnSpell(48572) -- Shred [Rank 9]         player:LearnSpell(26995) -- Soothe Animal [Rank 4]         player:LearnSpell(48465) -- Starfire [Rank 10]         player:LearnSpell(40120) -- Swift Flight Form         player:LearnSpell(48562) -- Swipe (Bear) [Rank 8]         player:LearnSpell(62078) -- Swipe (Cat) [Rank 1]         player:LearnSpell(18960) -- Teleport: Moonglade         player:LearnSpell(53307) -- Thorns [Rank 8]         player:LearnSpell(50213) -- Tiger's Fury [Rank 6]         player:LearnSpell(5225) -- Track Humanoids         player:LearnSpell(48447) -- Tranquility [Rank 7]         player:LearnSpell(783) -- Travel Form         player:LearnSpell(48461) -- Wrath [Rank 12] end end  print("------------------------------------") print("Hello ArcEmu user") print("Lua Engine       : " .. GetLuaEngine()) print("ALE Version      : " .. GetLuaEngineVersion()) print("ArcEmu Revison : " .. GetArcemuRevision()) print("------------------------------------")  RegisterServerHook(3, "OnFirstEnterWorld")


Spoiler


How can I tell you this? Because the text is not printed when wow.exe starts up. It does become printed when I use 'reloadscripts'.
0

#7 User is offline   Loken 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 186
  • Joined: 19-July 11
  • Gender:Male
  • Location:Lordaeron
  • Interests:Arcemu, WOW.
  • Server OS:Windows

Posted 02 October 2012 - 09:39 AM

View PostYuckFou, on 02 October 2012 - 04:16 AM, said:

How can I tell you this? Because the text is not printed when wow.exe starts up. It does become printed when I use 'reloadscripts'.

Where you read than wow.exe load scripts when start up?

Also i tested the script and arcemu-world loaded it fine...
Posted Image
Posted Image
Posted Image
0

#8 User is offline   YuckFou 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 01-October 12
  • Gender:Male
  • Location:The Netherlands.
  • Server OS:Windows

Posted 02 October 2012 - 10:26 AM

Forget about this guys I have solved the problem.
Like I sead earlier : I fixed a problem in the script.
Today I found out it was an issue between files. I had edited something the wrong way causing it to malfunction.
Now it totally works again!
I still do get some errors about other scripts that came standard with ArcEmu.
Should I list those?
0

#9 User is offline   Loken 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 186
  • Joined: 19-July 11
  • Gender:Male
  • Location:Lordaeron
  • Interests:Arcemu, WOW.
  • Server OS:Windows

Posted 02 October 2012 - 10:34 AM

View PostYuckFou, on 02 October 2012 - 10:26 AM, said:

Should I list those?


No. :)
Posted Image
Posted Image
0

#10 User is offline   YuckFou 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 01-October 12
  • Gender:Male
  • Location:The Netherlands.
  • Server OS:Windows

Posted 02 October 2012 - 11:38 AM

Ok. This is solved I guess.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users