Dissassemble Materials

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
lolilol
Posts: 18
Joined: Tue Mar 27, 2012 2:17 pm

Re: Dissassemble Materials

#21 Post by lolilol » Thu Dec 12, 2013 5:24 am

Ok I dit that before but it's not work . I have this message :xxxx\xxx\xxx\xx\/bot.lua:688: No waypoints to go to waypoint file.
Ty for your replies

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Dissassemble Materials

#22 Post by rock5 » Thu Dec 12, 2013 8:55 am

That message means it finished the code in the onload section. That should only happen when you run out of the itemname.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

lolilol
Posts: 18
Joined: Tue Mar 27, 2012 2:17 pm

Re: Dissassemble Materials

#23 Post by lolilol » Thu Dec 12, 2013 9:15 am

haa coool probleme with my native language, so I put in english and it's ok, thank you very much ! :)

spyfromsiochain
Posts: 84
Joined: Sun Aug 18, 2013 9:57 am

Re: Dissassemble Materials

#24 Post by spyfromsiochain » Thu Dec 12, 2013 7:20 pm

For several mats in a job:

Code: Select all

<waypoints type="TRAVEL">
<onLoad> 
itemname1 ="Maple Plank" 
itemname2 ="Oak Plank" 
itemname3 ="Pine Plank" 
itemname4 ="Holly Plank" 

RoMScript("CloseAllWindows()") -- Don't want to accidentaly sell stuff!
while inventory:getItemCount(itemname1) > 0 do
for i, item in pairs(inventory.BagSlot) do 
if item.Name == itemname1 then
item:use() -- Breaks it up
yrest(2000)
end
end
end

while inventory:getItemCount(itemname2) > 0 do
for i, item in pairs(inventory.BagSlot) do 
if item.Name == itemname2 then
item:use() -- Breaks it up
yrest(2000)
end
end
end

while inventory:getItemCount(itemname3) > 0 do
for i, item in pairs(inventory.BagSlot) do 
if item.Name == itemname3 then
item:use() -- Breaks it up
yrest(2000)
end
end
end

while inventory:getItemCount(itemname4) > 0 do
for i, item in pairs(inventory.BagSlot) do 
if item.Name == itemname4 then
item:use() -- Breaks it up
yrest(2000)
end
end
end

</onLoad> 
</waypoints>
I look at those fans with no blades and it amazes me everytime, how can they push air without using blades lol - lisa (pro sentence :D)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest