I made this cuz I was over-bored...
Step 1: Lines?
This step is the easiest.
1. Open up the script in notepad
2. Press ctrl+g at the same time
3. Write in the line ascent says the error is at
4. Try to notice what's wrong.
Step 2: What is wrong in scripts?
*If a 'end' is added after "RegisterUnitEvent", remove it
*There has to be 2 'end's after a "if pUnit:GetHealthPct() < 20 then" like example:
Code:
if pUnit:GetHealthPct() < 20 then
pUnit:RegisterEvent("Boss_Spell1", 5000, 0)
end
end
*Spelled wrong? Like example:
Code:
if PUNIT:GetHEAlTHPcT() < 20 then
or
Code:
iff pUnit:GetHealthPcct() < 200 thenn
*Sleepy? Always remember to NOT script when you're tired! If you're tired while scripting, there's a 70% higher chance the script will not work.
*Wrong function?
Like example:
Code:
function Thrall_Phase5
if pUnit:GetHealthPct() < 20 then
end
end
Should look like:
Code:
function Thrall_Phase5(pUnit, event)
if pUnit:GetHealthPct() < 20 then
end
end
*No registering? Every script has got to be registered, that's the most important thing in scripting. If you forget, like example: pUnit:RegisterUnitEvent, then the script will just load but the boss won't do anything, or if you're using a good core, it will show up as a error in your ascent-world.exe or arcemu-world.exe.
No, I am not up for fixing scripts, as I no longer do emu bussiness. This was my last release on MMOwned until WoTLK release. Now I'll just do some PvP or try to find a popular server using my KJ Script, you can always find me on msn: [email protected], or on WoWWTF, on one of these chars:
*Emopalaa
*Emowarr
*Emoshammy
*Erandil
*Wazzer
*Qvasmir
*Minotaurix
*Snyggingen
*Fjortisen
*Allyemopalaa
*Emopriest