Getting Rombot to loot the magic giftbags from Tergothen?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Getting Rombot to loot the magic giftbags from Tergothen?

#1 Post by klassik1 » Mon Nov 28, 2011 11:46 pm

Hello,
I forget the name, but you know the giftbags that randomly drop in Tergothen bay from mobs? that contain bay necklaces and recipes... could anyone help me with scripting for getting the bot to recognize when the magic giftbags drop and to loot them? It would be greatly appreciated!

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#2 Post by lisa » Mon Nov 28, 2011 11:55 pm

Can you please post queries about RoM in the RoM section of web site.
This section is for other games.

--=== Moved ===--
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

rubenr
Posts: 49
Joined: Sat Aug 20, 2011 11:26 pm

Re: Getting Rombot to loot the magic giftbags from Tergothen

#3 Post by rubenr » Tue Nov 29, 2011 4:41 am

Lootomatic doesn't work with them?

Marlb0ro
Posts: 51
Joined: Sat Aug 13, 2011 2:52 am
Location: Netherlands

Re: Getting Rombot to loot the magic giftbags from Tergothen

#4 Post by Marlb0ro » Tue Nov 29, 2011 5:38 am

I'm sure a very simple code in the
<onLeaveCombat>

section should be able to check for those bags everytime a monster is defeated. I'm not at home at the moment so unable to give that a try.

Did not know they dropped recipe's too, nice.

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#5 Post by rock5 » Tue Nov 29, 2011 7:51 am

Basically the bot does not loot the bodies. All it does is "click" on them when they are dead. It doesn't loot the bodies or see what's in the loot window. That's left to your auto loot addon or auto loot settings in game.

So the bot can't decide what to loot. If you have an auto loot addon then check it's filter. If you don't then install one.
  • 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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Getting Rombot to loot the magic giftbags from Tergothen

#6 Post by klassik1 » Wed Nov 30, 2011 1:13 am

I am sorry for posting this in the wrong section.

Well, The bag doesnt drop on the body itself... its an extra bag that drops ontop of the dead body. Im not sure of how it would work, maybe everytime the bot kills something, to check if said "ID" drops.. then Click the ID of the Gift bag. Then loot as normal... Im asking because i am not sure how to find these "ID's" of things. Maybe if someone can point me in the direction on how to find the ID's of stuff in rom i could try to figure it out myself.

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#7 Post by lisa » Wed Nov 30, 2011 1:18 am

in MM type this.

Code: Select all

rom/getid
then point mouse at what you want the ID of.
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

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#8 Post by rock5 » Wed Nov 30, 2011 2:15 am

You don't really need the id. You should be able to target it by name.

Such as

Code: Select all

player:target_Object("Gift Bag") -- if that's the name
  • 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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Getting Rombot to loot the magic giftbags from Tergothen

#9 Post by klassik1 » Wed Nov 30, 2011 3:34 am

thanks rock...
Now, what would be the most efficient way of have it to check for the bags since they don't drop on every kill... actually, they drop pretty rarely.
Sorry, I'm still sort of new to this.

Like, heres one of my TP farming waypoints in Tergothen.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-25925" z="30018" y="6">	</waypoint>
	<!-- #  2 --><waypoint x="-25516" z="29674" y="37">	</waypoint>
	<!-- #  3 --><waypoint x="-25381" z="29445" y="12">	</waypoint>
	<!-- #  4 --><waypoint x="-25455" z="29177" y="12">	</waypoint>
	<!-- #  5 --><waypoint x="-25407" z="29068" y="11">	</waypoint>
	<!-- #  6 --><waypoint x="-25183" z="28924" y="9">	</waypoint>
	<!-- #  7 --><waypoint x="-25426" z="28682" y="46">	</waypoint>
	<!-- #  8 --><waypoint x="-25437" z="28337" y="8">	</waypoint>
	<!-- #  9 --><waypoint x="-25578" z="28011" y="14">	</waypoint>
	<!-- # 10 --><waypoint x="-25598" z="27788" y="42">	</waypoint>
	<!-- # 11 --><waypoint x="-25515" z="27757" y="41">	</waypoint>
	<!-- # 12 --><waypoint x="-25327" z="27932" y="10">	</waypoint>
	<!-- # 13 --><waypoint x="-25013" z="27991" y="11">	</waypoint>
	<!-- # 14 --><waypoint x="-24877" z="28421" y="45">	</waypoint>
	<!-- # 15 --><waypoint x="-25080" z="28999" y="6">	</waypoint>
	<!-- # 16 --><waypoint x="-24872" z="29375" y="42">	</waypoint>
	<!-- # 17 --><waypoint x="-24875" z="29537" y="35">	</waypoint>
	<!-- # 18 --><waypoint x="-24597" z="29666" y="47">	</waypoint>
	<!-- # 19 --><waypoint x="-24413" z="30062" y="35">	</waypoint>
	<!-- # 20 --><waypoint x="-24438" z="30267" y="10">	</waypoint>
	<!-- # 21 --><waypoint x="-24628" z="30453" y="7">	</waypoint>
	<!-- # 22 --><waypoint x="-24741" z="30313" y="6">	</waypoint>
	<!-- # 23 --><waypoint x="-25036" z="30357" y="4">	</waypoint>
	<!-- # 24 --><waypoint x="-25422" z="30015" y="6">	</waypoint>
	<!-- # 25 --><waypoint x="-25751" z="30077" y="11">	</waypoint>
	<!-- # 26 --><waypoint x="-25883" z="30154" y="12">	</waypoint>
</waypoints>
pretty basic, just waypoints. what do you think would check around if the Bag has dropped or not?

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#10 Post by rock5 » Wed Nov 30, 2011 4:37 am

The bag drops after you kill one right?

So try doing a check after leaving combat.

Code: Select all

</onLeaveCombat>
    if player:findNearestNameOrId("Gift Bag") then
        player:target_Object("Gift Bag")
        yrest(500) -- If not enough time to pick up bag, increase it.
    end
</onLeaveCombat>
  • 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

sfrattini
Posts: 35
Joined: Wed Jun 03, 2009 3:45 pm

Re: Getting Rombot to loot the magic giftbags from Tergothen

#11 Post by sfrattini » Wed Nov 30, 2011 6:08 am

never seen any. May I ask what do they contain? I can't even find a reference in runesdatabase.com

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Getting Rombot to loot the magic giftbags from Tergothen

#12 Post by klassik1 » Sat Dec 03, 2011 3:07 am

they drop randomly.. they contain recipes and armor with yellow stats on them. arrows. maybe more
but thank you rock.. i will try that out and see how it works.

Niko
Posts: 30
Joined: Sat Jul 28, 2012 8:23 am

Re: Getting Rombot to loot the magic giftbags from Tergothen

#13 Post by Niko » Mon Nov 19, 2012 7:49 am

does de onleavecombat haves to be into every waypoint? or on the onload part of the script? or where?

Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: Getting Rombot to loot the magic giftbags from Tergothen

#14 Post by Jandrana » Mon Nov 19, 2012 9:08 am

onLeaveCombat is a function that is called each time you leaveCombat. You can provide it in the profile.xml for your char.
I found it more usefull, using this function specific to certains scripts.

You can change it in onLoad or at any waypoint that seems appropriate.

Example:

Code: Select all

<onLoad>
   settings.profile.events.onLeaveCombat = function()
      -- do something after leaving combat
   end
</onLoad>

Niko
Posts: 30
Joined: Sat Jul 28, 2012 8:23 am

Re: Getting Rombot to loot the magic giftbags from Tergothen

#15 Post by Niko » Thu Nov 22, 2012 9:19 pm

Ok i'v done this

Code: Select all

<onLoad>
   settings.profile.events.onLeaveCombat = function()
    if player:findNearestNameOrId("Bolsa Misteriosa") then
        player:target_Object("Gift Bag")
        yrest(500) -- If not enough time to pick up bag, increase it.
    end
end
</onLoad>
and i didn't got any problem... i still have to prove if it really gets the bag...

Thank's Jandrana

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

Re: Getting Rombot to loot the magic giftbags from Tergothen

#16 Post by lisa » Thu Nov 22, 2012 10:51 pm

the target object will have to be the same name or ID as the findnearestname or id

Code: Select all

<onLoad>
   settings.profile.events.onLeaveCombat = function()
    if player:findNearestNameOrId("Bolsa Misteriosa") then
        player:target_Object("Bolsa Misteriosa")
        yrest(500) -- If not enough time to pick up bag, increase it.
    end
end
</onLoad>
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

Niko
Posts: 30
Joined: Sat Jul 28, 2012 8:23 am

Re: Getting Rombot to loot the magic giftbags from Tergothen

#17 Post by Niko » Fri Nov 23, 2012 5:49 am

lisa wrote:the target object will have to be the same name or ID as the findnearestname or id

Code: Select all

<onLoad>
   settings.profile.events.onLeaveCombat = function()
    if player:findNearestNameOrId("Bolsa Misteriosa") then
        player:target_Object("Bolsa Misteriosa")
        yrest(500) -- If not enough time to pick up bag, increase it.
    end
end
</onLoad>
Yes i saw that fail this morning... now it works perfect, thank's to you all!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests