Is it possible to count how many items are 'queued' for entering the inventory? When you're inventory is full items can then queue up rather than entering your bag. Just wondering if there is any way to check how many are there and what they are?
~~ Crap, wasn't supposed to post this in Userfunctions etc, could it be moved to main Runes of Magic forum? thanks
Item Count
Re: Item Count
There is an ingame function to get the items info.
GetItemQueueInfo()
you could use that if you really wanted to.
The more items in queue the longer it will take to do code.
I think rock said it was max 25 items, or maybe it was 20.
Keep in mind though that as items enter the bag they are in this que and so you could have room in bag and the itemqueue may have 10 odd items in it still going into bag (if you use pet perfume), if you are looting I think 6 is max in queue at one time.
GetItemQueueInfo()
you could use that if you really wanted to.
Code: Select all
for i = 1,25 do
if RoMScript("GetItemQueueInfo("..i..")") == nil then
print(i-1) -- i-1 should be the number of items in queue
break
end
yrest(100)
end
I think rock said it was max 25 items, or maybe it was 20.
Keep in mind though that as items enter the bag they are in this que and so you could have room in bag and the itemqueue may have 10 odd items in it still going into bag (if you use pet perfume), if you are looting I think 6 is max in queue at one time.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Item Count
I think its 20. There is a quest that I want to test out, can build up heaps of the quest item in that fashion, where as usually you are only allowed to collect 1 at a time (seeing as quest functions ingame also go off items in bag, not in queue)
Re: Item Count
I believe it is 20. There is also a bot function that gets the number directly from memory ItemQueueCount().
I'm not aware of any quests that require only 1 item but I've used that trick to bot 5 item dailies. It was a bit tricky but I was able to do 5 dailies at a time. The trick was to collect 4, move them into your transmuter, then split a stack of something until your bag is full. Then after filling the item queue with 20 items start collecting your 21st. While you are still collecting it, make space in your inventory for the items in the queue to start coming in. Then you will successfully get that 21st item for a total of 25. I had to modify the split and merge functions I had from the Superstitious addon as they didn't quite work properly.ZZZZZ wrote:There is a quest that I want to test out, can build up heaps of the quest item in that fashion, where as usually you are only allowed to collect 1 at a time (seeing as quest functions ingame also go off items in bag, not in queue)
- 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
Re: Item Count
I also came across some itemqueueremove functions when pocking around in CE, it might be possible to remove items from the queue but yeah I haven't tested it, it's not even listed in the rom wiki.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual