I wrote a logic to use Fire Ball (42833) to trigger the removal of Harvest Soul (28679) that Gothik the Harvester from Naxxramas casts on me.
When worldserver.exe is loaded, the command window prints an error: attempt to index global 'spell' (a nil value).
Although the code still works, but I hate to see errors. Any idea how to mitigate this error?
local function RemoveHarvestSoul(event, player)
spell = player:GetCurrentSpell(1)
if ((spell:GetEntry() == 42833) and player:HasAura(28679))
Hey there Noxxion!
MaNGOS (as far as I can see) hasn't changed much in terms of the way it works. You still need to know your way around SQL for the database and MAP/MMAP/VMAP file extractions. (Which are all as simple as blinking your eyes, so to speak)
Installation Guides - can be found here:
In addition, you can also refer to my post on Jerry's topic, on which they asked how to build up a MaNGOS One server (TBC v2.4.3), here:
Principle of setting up the server will be the same for most cores, assuming you work on Linux, that is.
In the event you want it running on Windows, here's your go-to guide:
Should you come across any issues, don't fret to ask!