Mysterious bags

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
BeyondNames
Posts: 104
Joined: Thu Jun 27, 2013 7:39 pm

Mysterious bags

#1 Post by BeyondNames »

Does any1 have a WP for farming mysterious bags and r willing to share it
If not i would like to learn to create my own
Im guessing the bags make the WP different then a regular farming WP
Everything you need to know to make a mysterious bag WP could u please share with me
Thx for the help
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Mysterious bags

#2 Post by kuripot »

you can farm daily quest item at the same time and farming misterious bag just put in your profile

Code: Select all

	<onLeaveCombat><![CDATA[
	    if player:findNearestNameOrId("Mysterious Bag") then
	      local filename = getExecutionPath() .. "/logs/giftbag.log";
	      local file, err = io.open(filename, "a+");
	      if file then
	         file:write("Date: "..os.date().." scout")
	         file:close();
	      end
	      player:target_Object("Mysterious Bag")
	      yrest(1000)
	      player:target_Object("Mysterious Bag")
	      yrest(1000)
	   end
	]]></onLeaveCombat>
Rivvva
Posts: 4
Joined: Thu Jan 09, 2014 12:11 am

Re: Mysterious bags

#3 Post by Rivvva »

Hi Lisa, hi Rock, hi forum users

I´m a botter from Austria and got a problem without any solution in sight!
I and my bot want to farm some "Mysterious Bag"´s (in german "Mysteriöser Beutel") but after such a bag is dropped, my bot don´t want to get it in focus.
Here is the code I use:

Code: Select all

if player:findNearestNameOrId("Mysterious Bag") and inventory:itemTotalCount(0) ~= 0 then
  player:target_Object("Mysterious Bag");
  yrest(800);    
  player:loot();
  yrest(900);
end

if player:findNearestNameOrId(105930) and inventory:itemTotalCount(0) ~= 0 then
  player:target_Object(105930);
  yrest(800);    
  player:loot();
  yrest(900);
end
I found these snippets by searching in the deep of the forum, but it doesn´t work!

Please help me !

Rene
Rivvva
Posts: 4
Joined: Thu Jan 09, 2014 12:11 am

Re: Mysterious bags

#4 Post by Rivvva »

I got stick in searching for a solution and I think having found some

I replaced the Umlaut in "Mysteriöser Beutel" with "Mysteri\195\182ser Beutel" but that seems wrong!
Better is to replace ö with \148!
Hope that thing will work now!

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

Re: Mysterious bags

#5 Post by rock5 »

The name matching will be made with the ingame name which uses utf8. So I would expect "Mysteri\195\182ser Beutel" to work. If you use an editor that can save in utf8 such as NotePad++ then you should also be able to use "Mysteriöser Beutel".
  • 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
Rivvva
Posts: 4
Joined: Thu Jan 09, 2014 12:11 am

Re: Mysterious bags

#6 Post by Rivvva »

Hi friends!

Please excuse my asking at this topic for another unsolved problem!

I have a char MAGE/PRIEST and using it for some KS-runs! Sometimes my char needs healing and I want to use urgent heal from the sec class at the onLeave-event.
But the bot gets sticked and reports an error!
Please tell me the correct way using skills from the sec class!

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

Re: Mysterious bags

#7 Post by rock5 »

In the future please don't hijack an unrelated topic. Feel free to start your own topics.

As a Mage the bot uses the skills in your profile that are in the Mage section, ie. between the <skills_mage> and </skills_mage> tags. So if you want to use a priest skill just copy it from the priest section and paste it to the mage section.
  • 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
Rivvva
Posts: 4
Joined: Thu Jan 09, 2014 12:11 am

Re: Mysterious bags

#8 Post by Rivvva »

Hi Rock5,
thanx a lot for your fast answer!

Rene
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Mysterious bags

#9 Post by BlubBlab »

Because I see this and thought it in the past.
Should not looting the bags be part of the bot-looting options?(I know 75+)
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mysterious bags

#10 Post by rock5 »

Interesting idea. But they're not really regular loot are they? They only appear in certain zones right? I never see them in the zones I frequent. I also got the impression they could be lying around, not necessarily from your kills, so that wouldn't really make it a loot.
  • 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
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Mysterious bags

#11 Post by BlubBlab »

They are from kills up from the Level 75er Zone. They lay on the ground when the mobs vanish.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: Mysterious bags

#12 Post by Bill D Cat »

I know there are regions of Tergothen Bay where different mobs fight each other, and occasionally one of those bags will drop when they kill each other. I usually make it a point to run up where the dogs and birds fight just to look for extra bags lying around for the taking. So it's not a requirement that the player kill a mob for a bag to appear, just that a mob dies regardless of what kills it.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mysterious bags

#13 Post by rock5 »

I'm thinking it's enough just to have some solid code available for people farming those areas who want to collect the bags that they can put in their "onLeaveCombat" sections.
  • 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
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Mysterious bags

#14 Post by BlubBlab »

can I make with this info it international?
Image

Code: Select all

if player:findNearestNameOrId("Mysterious Bag") and inventory:itemTotalCount(0) ~= 0 then
  player:target_Object("Mysterious Bag");
  yrest(800);   
  player:loot();
  yrest(900);
end

if player:findNearestNameOrId(105930) and inventory:itemTotalCount(0) ~= 0 then
  player:target_Object(105930);
  yrest(800);   
  player:loot();
  yrest(900);
end
Its strange one time it use the name the other time the id?!
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: Mysterious bags

#15 Post by Bill D Cat »

I think this will look for all the variants of the Mysterious Bag in one routine.

Code: Select all

repeat
   local mBag = player:findNearestNameOrId({105930,105982,107217,107442,107445}) 
   if mBag and inventory:itemTotalCount(0) ~= 0 then
      player:target_Object(mBag.Id)
      yrest(800)
      player:loot()
     yrest(900)
   end
until mBag == nil or inventory:itemTotalCount(0) == 0
883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Mysterious bags

#16 Post by 883Dman »

Does this solve the frequent crashing associated with farming bags as well?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Mysterious bags

#17 Post by lisa »

I use this in profile onleavecombat and never had crash issues.

Code: Select all

	if player:findNearestNameOrId("Mysterious Bag") then
		print("\n\n found bag \n\n")
		player:target_Object("Mysterious Bag")
		yrest(1000) -- If not enough time to pick up bag, increase it.
		player:target_Object("Mysterious Bag")
		yrest(1000)
	end	
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
883Dman
Posts: 90
Joined: Sat Dec 08, 2012 9:25 pm

Re: Mysterious bags

#18 Post by 883Dman »

I'll give it a try. Thx.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Mysterious bags

#19 Post by lisa »

I liked the Id checks Bill did so I changed mine.

Code: Select all

	local mBag = player:findNearestNameOrId({105930,105982,107217,107442,107445}) 
	if mBag and inventory:itemTotalCount(0) ~= 0 then
		print("\n\n found bag \n\n")
		player:target_Object(mBag.Id)
		yrest(1000) -- If not enough time to pick up bag, increase it.
		player:target_Object(mBag.Id)
		yrest(1000)
	end	
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
Vengefulmilk
Posts: 19
Joined: Wed May 01, 2013 4:55 am

Re: Mysterious bags

#20 Post by Vengefulmilk »

Hey guys, with the newest zone some of the bags bug out and you'll need to add 107446 in to loot them. Works flawlessly for me now that bags were dropping with the names Sys107446 or something similar.
Post Reply