function CItem:moveTo(bag) not working properly

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

function CItem:moveTo(bag) not working properly

#1 Post by ThulsaDoom » Wed Aug 10, 2022 8:01 am

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: 5306
Joined: Sat Jan 05, 2008 4:21 pm

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

#2 Post by Administrator » Mon Aug 15, 2022 1:55 pm

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: 123
Joined: Mon Oct 19, 2015 2:46 pm

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

#3 Post by ThulsaDoom » Tue Aug 16, 2022 10:04 am

Hello

Now it works as it should be.

Thanks a lot

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests