Wanted Posted November 6, 2011 Share Posted November 6, 2011 https://github.com/OSI1/OSI1/commit/4f5d462ea6802b74f50b18cd6c0580f7d411bbcb It's a promising start no doubt, these are obviously the two most important functions * function GetAmount(X1, Y1, X2, Y2: Integer): LongInt; By: Wamted * function GetItemAmount(Area, Slot: Integer): LongInt; By: Wanted Try them out Quote Link to comment Share on other sites More sharing options...
zippoxer Posted November 6, 2011 Share Posted November 6, 2011 Great! I was waiting for it to come along with Inventory.scar. BTW, I browsed the code a little and think that GetAmountBox or GetAmountSlot will make it easier to quickly get amount in an inventory slot. Can't wait to try that, but I only have one occupied runescape account :\ I think OSI now has enough to quickly make a power chopper. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 6, 2011 Share Posted November 6, 2011 So much progress, so fast I'm excited. Aaaand I'll be outside raking leaves instead of trying this out. Sucks. Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 6, 2011 Author Share Posted November 6, 2011 BTW, I browsed the code a little and think that GetAmountBox or GetAmountSlot will make it easier to quickly get amount in an inventory slot. GetAmount is essentially GetAmountBox. GetAmountSlot is essentially GetItemAmount(Area_Inv, Slot); except for you can change the area to like bankscreen etc. (even though Area_Inv is the only one you can use as of now) Just updated OSI to check if the item exists firsts in MouseItem/DragItem Quote Link to comment Share on other sites More sharing options...
zippoxer Posted November 6, 2011 Share Posted November 6, 2011 Sorry didn't notice GetItemAmount. Quote Link to comment Share on other sites More sharing options...