SRL Archive - OSR Help

Banking problem


vac33

2012-03-12 22:06:33

Is there a better way to Withdraw an item than
if IsUpText('bar') then
It sometimes can't find chocolate bars even with a 3 retry buffer.

Paradoxium

2012-03-12 23:00:13

make your own :D there is a withdraw func already made but you can make an easy one with mouseboxes :D, set a mousebox, rightclick,chooseoption…w/ever you want to do next :D

Mr Stoj

2012-03-12 23:45:52

example for that would be
Withdraw(0, 0, 1);

this would be the top left slot of the open tab and it would withdraw 1

Abu

2012-03-13 03:43:33

You can use this function if you want:

begin
if( InvCount = what you need it to be?) then
begin
if not (BankScreen) then
begin
OpenBankFast('veb');
end else
begin
DepositAll;
Withdraw(0,0,however many you want);
Sleep(800);
end;
end;
end;


First it checks what your inventory count is, so you can set it to whatever number it would normally be after dusting chocolate.
Then it opens the Bank Tab if it not already open.
Deposits your inventory.
Withdraws a certain amount of item from your first bank slot.

Done! :spot: