Page 1 of 1

function CItem:moveTo(bag) not working properly

Posted: Wed Aug 10, 2022 8:01 am
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

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

Posted: Mon Aug 15, 2022 1:55 pm
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.

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

Posted: Tue Aug 16, 2022 10:04 am
by ThulsaDoom
Hello

Now it works as it should be.

Thanks a lot