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!
some problems with the settings.lua
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: some problems with the settings.lua
Set COMBAT_DISTANCE in your profile to a number instead of a string?
Re: some problems with the settings.lua
that fixed my problem,
the rom is now working 100%
pretty stupid i didn't see it
the rom is now working 100%
pretty stupid i didn't see it