bag cleanup after doing mini games

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

bag cleanup after doing mini games

#1 Post by Jandrana » Mon Aug 27, 2012 6:15 am

When you got several chars running through mini games, each char is filled with a lot of items. You need to cleanup your inventory, otherwise you run out of space when doing mini games the next day. I thought it would be good idea to ask, if anybody already wrote a script to cleanup the inventory after doing mini games?

My current collection of todo's:

material-package-for-magical-instruments 203635 => use item
arcane transmutor charge 203487 => use item
master's-simple-repair-hammer 201014 => put item shop bag

simple Repair Hammer 201967 => send mail
horse-rental-ticket 203033 => send mail
Fusion Stone with Stamina and two random attributes 203001 => send mail
wood / herb / ore from instrument package => send mail

Ghost Card 205792 => put bank
phirius-shell 240181 => put bank
goblin champion badge 205037 => put bank

sell white, green, blue loot - except blue items with lvl > 54 => make mana stone => send mail

User avatar
apple
Posts: 12
Joined: Mon Apr 09, 2012 7:35 am

Re: bag cleanup after doing mini games

#2 Post by apple » Mon Aug 27, 2012 11:34 am

Code: Select all

	inventory:useItem(203487);
	inventory:useItem(203487);
	inventory:useItem(203487);
	item = inventory:findItem("Master's Simple Repair Hammer")
	if item then
	    item:moveTo("itemshop")
	end
that's what i use for the 3 charges and moving the repair hammer to itemshop. I use lootomatic for automatic drop the stones etc since they aren't anything worth.

regards

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: bag cleanup after doing mini games

#3 Post by kuripot » Mon Aug 27, 2012 4:47 pm

Code: Select all

	function CleanBagDOD()
	   for i, item in pairs(inventory.BagSlot) do
		if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT + 60 and
 	        settings.profile.options.INV_AUTOSELL_TOSLOT + 60 >= item.SlotNumber then

	         if item:isType("Materials") then
	            item:delete()
	         end
	         if item:isType("Arrows") then
	            item:delete()
	         end
	         if item:isType("Projectiles") then
	            item:delete()
	         end
	         if ( item:isType("Weapons") or item:isType("Armor") ) and (1000 > item.Worth and 5 > item.Quality)then
	            item:delete()
	         end
		if item:isType("Equipment Enhancement") then
	            item:delete()
	         end
		if item.Name  == "Wild Boar Meat" then
	            item:delete()
	         end 
		if item:isType("Potions") then
	            item:delete()
	         end          
	      end
	   end
	end 
edited from CleanBagKS

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

Re: bag cleanup after doing mini games

#4 Post by Jandrana » Tue Aug 28, 2012 4:44 am

Thx for your suggestions. I don't want to drop all of the stuff, so I also started to write my own functions using the CleanBagsKS. Still no time to test it, but I will post them if they are working.

Post Reply

Who is online

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