Pumpkin Festival Error
Posted: Mon Nov 26, 2012 11:58 am
When i am running this script,
every few hours or so the bot stops and this message comes up on the micromacro window
User\Desktop\bot\micromacro\scripts\rom/bot.lua:505: onLoad error: [string "..."]:105: attempt to index local 'SmallStack' <a nil value>
I have not changed anything in the folders after the initial setup of SVN checkout on the rom folder in the micromacro folder,
Here is the waypoint im currently using,
-- wplata surek, zielone i opisane
GuildDonate()
GuildDonateItems({"Guild Rune", "xx", "oo"})
keptitems = {203163, 203086, 203087, 203085, 203291, 203292, 203293, 203294, 203295, 240743}
keptitems = {203163, 203086, 203087, 203085, 203291, 203292, 203293, 203294, 203295, 240743}
for k,v in pairs(keptitems) do
if inventory:itemTotalCount(v) > 0 then
local SmallStack = inventory:findItem(v);
SmallStack:delete();
end;
end;
</onLoad>
</waypoints>
If anyone can help me it would be very appreciated!
Thanks
every few hours or so the bot stops and this message comes up on the micromacro window
User\Desktop\bot\micromacro\scripts\rom/bot.lua:505: onLoad error: [string "..."]:105: attempt to index local 'SmallStack' <a nil value>
I have not changed anything in the folders after the initial setup of SVN checkout on the rom folder in the micromacro folder,
Here is the waypoint im currently using,
-- wplata surek, zielone i opisane
GuildDonate()
GuildDonateItems({"Guild Rune", "xx", "oo"})
keptitems = {203163, 203086, 203087, 203085, 203291, 203292, 203293, 203294, 203295, 240743}
keptitems = {203163, 203086, 203087, 203085, 203291, 203292, 203293, 203294, 203295, 240743}
for k,v in pairs(keptitems) do
if inventory:itemTotalCount(v) > 0 then
local SmallStack = inventory:findItem(v);
SmallStack:delete();
end;
end;
</onLoad>
</waypoints>
If anyone can help me it would be very appreciated!
Thanks