some problems with the settings.lua
Posted: Mon Jul 05, 2010 4:44 am
hello people
i'm pretty new here, and I've got a problem with my settings.lua.
every time I try to start rom/bot.lua I get the following message:
Opening Local skills DB!
macro test: ok
ranged skill found: PRIEST_RISING_TIDE
C:/program files/micromacro/scripts/rom/settings.lua:1022: attempt to compare number with string
when i look in the folder it says the following:
-- check is combat distance is greater then maximum ranged attack
if( best_range < settings.profile.options.COMBAT_DISTANCE and
(settings.profile.options.COMBAT_TYPE == "ranged" or
settings.profile.options.COMBAT_RANGED_PULL == true) ) then
local msg = sprintf(language[179], settings.profile.options.COMBAT_DISTANCE); -- Maximum range of range attack skills is lesser
error(msg, 0);
the red marked sentence is the 1022 sentence
I've used SVN, I've updated it normally. I even deleted en reïnstalled it a few times.
i'm at a loss of what to do!
i'm pretty new here, and I've got a problem with my settings.lua.
every time I try to start rom/bot.lua I get the following message:
Opening Local skills DB!
macro test: ok
ranged skill found: PRIEST_RISING_TIDE
C:/program files/micromacro/scripts/rom/settings.lua:1022: attempt to compare number with string
when i look in the folder it says the following:
-- check is combat distance is greater then maximum ranged attack
if( best_range < settings.profile.options.COMBAT_DISTANCE and
(settings.profile.options.COMBAT_TYPE == "ranged" or
settings.profile.options.COMBAT_RANGED_PULL == true) ) then
local msg = sprintf(language[179], settings.profile.options.COMBAT_DISTANCE); -- Maximum range of range attack skills is lesser
error(msg, 0);
the red marked sentence is the 1022 sentence
I've used SVN, I've updated it normally. I even deleted en reïnstalled it a few times.
i'm at a loss of what to do!