Problem when Using Potion

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ahdayo
Posts: 1
Joined: Sun Jan 24, 2010 6:00 am

Problem when Using Potion

#1 Post by ahdayo »

I'd like to ask anyone who can help me about this "Using Potion" problem.

I'm new to rombot(micromacro) but I did try to read all info and I finally set config
and make bot run ...

Everything is just fine .. except Bot always "STOP" when trying to use "Potion"
it always show this message
--------------------------------------------------------------------------------------------------------
"...romacro/micromacro/scripts/rom/classes/inventory.lua:214: attempt to compare
number with nil

Please enter the script name to run.
Type in 'exit' <without quotes> to exit.
Script>
--------------------------------------------------------------------------------------------------------
Here is the code when I look at inventory.lua (line 214)

-- check item slots slot by slot
for slot,item in pairs(self.BagSlot) do
local consumable = database.consumables[item.Id];

if( consumable and -- item in database
consumable.Type == type and -- right type (mana, arrow, ...)
consumable.Level <= player.Level and -- level ok
item.ItemCount > 0 ) then -- use only if some available <<<<<< line 214
--------------------------------------------------------------------------------------------------------

any idea what's wrong with this?
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Problem when Using Potion

#2 Post by Administrator »

It's hard to say. I can't see any reason for it off the top of my head. Most likely, you're using some outdated files. I'd say delete them all, and redownload everything using the SVN repository instructions.
Post Reply