I have no idea if it is just my problem, or a problem with the latest (or one of the latest) revision. buy anyway.
The problem occurs, as far as i tested, only with Mage characters.
I updated to the latest revision today because of the Lyliya Script, so i tried with one char, and it went fine.
Then with a Mage/Priest, and it ends with error after selecting the waypoints file, but no matter what waypointfile.
The error occurs on line 1142 in functions.lua
I looked up the functions.lua and found a priest skill that cannot be leveledUp, Holy_Aura, as one stated in this thread before, so i removed it. But no change.
Changing the sec. class made no change either, so i tried another mainclass, other than mage, e.g. Priest/knight...and that worked fine.
So i gues i have a problem with Mage class in the levelUp function.
Is there nobody else having issues with a Mage ? I cannot believe...but well, maybe am the only one and have messed up something else.
I have rev. 765 and MM 1.03 used an unchanged l1-10.xml profile and tried also with "wander" - option always the same issue. In the onLoad it goes to
levelupSkills1To10 function in functions.lua and on line 1142 i get the error.
Chars were Mage/Priest Lvl 17/1 and Lvl 58/34
Code: Select all
scripts\rom/bot.lua:656: onLoad error: D:/micromacro_v103/scripts/rom/functions.lua:1142 attempt to index local 'v' ( a number value)
edit:
I think i found the issue, don't know if i messed it up, or went from the update.
The "} }," is after the third skill, but there is another, fourth skill, which will not be included.
Changing this to terminate after the fourth skill resolves the problem for me.
Code: Select all
[CLASS_KNIGHT] = { [1] = { aslevel = 1, skillname="KNIGHT_HOLY_STRIKE" },
[2] = { aslevel = 1, skillname="KNIGHT_PUNISHMENT" },
[3] = { aslevel = 2, skillname="KNIGHT_HOLY_POWER_EXPLOSION" } },
[4] = { aslevel = 2, skillname="KNIGHT_HOLY_SEAL" },
changed to:
Code: Select all
[CLASS_KNIGHT] = { [1] = { aslevel = 1, skillname="KNIGHT_HOLY_STRIKE" },
[2] = { aslevel = 1, skillname="KNIGHT_PUNISHMENT" },
[3] = { aslevel = 2, skillname="KNIGHT_HOLY_POWER_EXPLOSION" },
[4] = { aslevel = 2, skillname="KNIGHT_HOLY_SEAL" } },