Questions about Looting and Harvest

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

Questions about Looting and Harvest

#1 Post by AngelDrago » Wed May 18, 2011 4:28 pm

Hello, Everyone

So i started a new Character because i alwas got killed by others and not only monsters :lol: and i wanted a different character anyway.

is it posible to add in the wander waypoint that i only want 100 mushroom stem and the harvest waypoint's from lisa (HMcolonygather) and also can you stack wands if there are the same? so this are a few questions for you. thank you again for the help

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

Re: Questions about Looting and Harvest

#2 Post by rock5 » Wed May 18, 2011 8:19 pm

What do you want to do when you've found 100 mushrooms? As far as I know wander mode doesn't allow you to add code like a waypoint file but you could add a check in your profile <onLeaveCombat> event.

Code: Select all

if inventory:itemTotalCount("Mushroom Stem") >= 100 then
    -- What ever you want to do
end
If you're dealing with a waypoint file you can add the check in the waypoint file at vaious waypoints and not in the profile. Which is preferable because that check is only relevant for that waypoint file.
  • 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

AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

Re: Questions about Looting and Harvest

#3 Post by AngelDrago » Wed May 18, 2011 8:26 pm

Rock5 you are great and thank you again

AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

Re: Questions about Looting and Harvest

#4 Post by AngelDrago » Thu May 19, 2011 7:56 am

Hello, rock5

Thank you for the code and i tried it but it seems that it's not working corectly or maybe i don't know the right terminalagy...

Code: Select all

if inventory:itemTotalCount("Mushroom Stem") >= 100 then
    discard();
end


is this corect? and again thank you for your help

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Questions about Looting and Harvest

#5 Post by lisa » Thu May 19, 2011 8:04 am

wouldnt you want to load a different waypoint file?

Code: Select all

if inventory:itemTotalCount("Mushroom Stem") >= 100 then
loadPaths("nextWPfile");
end
Obviously replace nextWPfile with the actual name of the Waypoint file you want it to load.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

Re: Questions about Looting and Harvest

#6 Post by AngelDrago » Thu May 19, 2011 8:16 am

hello, lisa

actually i'm doing harvesting right know and i'm using your HMcolonygather, so when the character engages i don't want to keep a lot of stems and other items.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Questions about Looting and Harvest

#7 Post by lisa » Thu May 19, 2011 8:54 pm

true, my bad. I was pretty much just skimming through and missed the initial post =(
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: Questions about Looting and Harvest

#8 Post by Mushroomstamp » Fri May 20, 2011 9:24 am

If "discard" is an actual command, you need to define what it is discarding;

Code: Select all

discard("Mushroom Stem")
Most people use a loot addon like "Lootomatic" to define what is looted, not looted, or dropped.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest