function CItem:moveTo(bag) not working properly

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
ThulsaDoom
Posts: 134
Joined: Mon Oct 19, 2015 2:46 pm

function CItem:moveTo(bag) not working properly

#1 Post by ThulsaDoom »

Hello;
I use this function to clear the bag, send all considered items from the store to the shop item bag.

Code: Select all

for slot = 61, 240 do
				item = inventory.BagSlot[slot]
				if item and item.ItemShopItem then
					item:moveTo("itemshop")
				end;
			end
The function sends the objects to their destination, but does not stack them. Before, it was done.
I was wondering if this stack action could be brought back, as it is very useful to keep the space clean.

Thanks a lot
User avatar
Administrator
Site Admin
Posts: 5340
Joined: Sat Jan 05, 2008 4:21 pm

Re: function CItem:moveTo(bag) not working properly

#2 Post by Administrator »

Looks like the item count and max count offsets were a little bit off. I've adjusted them. Please update and you should be good to go.
User avatar
ThulsaDoom
Posts: 134
Joined: Mon Oct 19, 2015 2:46 pm

Re: function CItem:moveTo(bag) not working properly

#3 Post by ThulsaDoom »

Hello

Now it works as it should be.

Thanks a lot
Post Reply