SRL Archive - Reflection Help

Banking with Reflection


The Little

2009-07-01 23:48:26

Hey,

Still working on my superheater, smelting is working great and I'm now starting on the banking procedure.
I'm checking for inventory items using this line:
Obj := GetInvItemInfo(CoordsToItem(580, 300));

Is there a similar one for the bank screen? I ran trough the includes but couldn't find one…

Thanks.

mormonman

2009-07-01 23:50:24

Nope, you have to use color to withdraw from the bank, or static bank slots. But you can use reflection to check if the item is actually in the bank. (bankcontains functions)

The Little

2009-07-02 00:01:57

Okay, thanks! :)

ShowerThoughts

2009-07-02 01:02:53

From: mormonman
Nope, you have to use color to withdraw from the bank, or static bank slots. But you can use reflection to check if the item is actually in the bank. (bankcontains functions)


From: The Little
Okay, thanks! :)


Or DTM's which p0wn.

mormonman

2009-07-02 06:12:44

From: Hermen
Or DTM's which p0wn.


dtm = colors/co-ords.

ZephyrsFury

2009-07-02 06:26:20

Just wondering.. do you know of any way to get the number of items in each bank tab using Reflection hooks? I could make a reflection bank withdrawer if I could somehow count the number of items in a tab.

The Little

2009-07-03 00:00:57

That would be greatly appriciated Zephyr(sfury) :). As I was trying to avoid DTMs all together, mainly because the Reflection version is much shorter.