ERROR: compare string with number
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR: compare string with number
Post in the right section. I had to move this topic.copenhagen69 wrote: any ideas what i should do?
Open that file and go to line 208. What do you see?
-
- Posts: 58
- Joined: Mon Jul 27, 2009 8:04 pm
Re: ERROR: compare string with number
sorry i figured micromacro support would be the right section :/Administrator wrote:Post in the right section. I had to move this topic.copenhagen69 wrote: any ideas what i should do?
Open that file and go to line 208. What do you see?
ok i updated to rom 2.44
got the same error except for its 210 now and not 208
according to open office ... lines 205-220 say .....
Code: Select all
if( inbattle ) then
if( inbattle == "true" ) then
inbattle = true;
else
inbattle = false;
end;
end
if( level == nil or level < 1 ) then
level = 1;
end
local baseskill = database.skills[name];
if( not baseskill ) then
local err = sprintf("ERROR: \'%s\' is not defined in the database!", name);
error(err, 0);
end
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR: compare string with number
Now post a copy of your profile. I'm guessing the problem is probably in the <skills> section.
-
- Posts: 58
- Joined: Mon Jul 27, 2009 8:04 pm
Re: ERROR: compare string with number
Code: Select all
- <profile>
- <options>
<option name="HP_LOW" value="85" />
<option name="HP_LOW_POTION" value="50" />
<option name="MP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="boars.xml" />
<option name="RETURNPATH" value="boars.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_DISTANCE" value="100" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
- <friends>
<friend name="friendsname1" />
<friend name="friendsname2" />
<friend name="friendsname3" />
<friend name="friendsname4" />
<friend name="friendsname5" />
<friend name="friendsname6" />
</friends>
- <hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" />
<hotkey name="MP_POTION" key="VK_EQUAL" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_0" />
</hotkeys>
- <skills>
<skill name="KNIGHT_HOLY_STRIKE" hotkey="VK_2" priority="" level="" />
<skill name="" hotkey="" priority="" />
<skill name="" hotkey="" priority="" />
</skills>
<onDeath>-- Additional Lua code to execute on death pauseOnDeath(); -- Stop the script</onDeath>
<onLeaveCombat>-- Additional Lua code to execute after killing an enemy</onLeaveCombat>
<onSkillCast>-- Additional Lua code to execute when casting a skill -- Note: arg1 contains the skill being used. -- i.e. arg1.Name will be the name of the skill being cast.</onSkillCast>
</profile>
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: ERROR: compare string with number
Your skills are all screwed up. Fix them.
-
- Posts: 58
- Joined: Mon Jul 27, 2009 8:04 pm
Re: ERROR: compare string with number
how are they all screwed up? and whats screwed up about them?Administrator wrote:Your skills are all screwed up. Fix them.
i took my level 5 knight and put 1 skill on him to see if i could even get it to run and it wont ...
i tried my level 44 mage also with 7 skills and still got the same error ....
Re: ERROR: compare string with number
You have emtpy skill there, like:copenhagen69 wrote:how are they all screwed up? and whats screwed up about them?
Code: Select all
<skill name="KNIGHT_HOLY_STRIKE" hotkey="VK_2" priority="" level="" />
<skill name="" hotkey="" priority="" />
<skill name="" hotkey="" priority="" />
The RoM Bot Online Wiki needs your help!
-
- Posts: 58
- Joined: Mon Jul 27, 2009 8:04 pm
Re: ERROR: compare string with number
well what is strange is that my buddy sent me his folders and everything with it working fine on his computer ... but wont work on mine ...
i sent him my char profile and it worked just fine on his computer
i sent him my char profile and it worked just fine on his computer
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 4 guests