SRL Archive - SRL Old School RuneScape

Deposit not working


cause

2013-08-15 22:29:44

Hey,
Deposit(3, 28, true);
Doesn't work, still deposits slot 1 and 2…will take a nooby look at potentially fixing
EDIT: it would seem the problem lies in MouseItem…we must go deeper
EDIT2: wait no, probably not
EDIT3: OK I AM OF THE DUMB…Deposit(3, 28, false);….duhhhhh my bad people @YoHoJo please sticky as an example of stupidity
EDIT4: I am not dumb, it is still broken…

@Sjoe has been helping me, located a problem with this:
for i := 3 to 28 do
begin
if ExistsItem(i) then
begin
MouseItem(i, mouse_right);
WaitOption('All', 400);
end;
end;
Still deposits slots 1 and 2…

Le Jingle

2013-08-15 22:39:05

Are you sure it's not deposit screen or bank screen being outdated?

cause

2013-08-15 22:52:38

From: Le Jingle
Are you sure it's not deposit screen or bank screen being outdated?


Very possible. Am not sure at all

tealc

2013-08-15 23:47:59

Way back on when osr (p07 include) came out I had a similar-ish problem. It turned out ExistsItem wasn't detecting certain items, frog token I think was one. That could be your problem.

VillaVuFTW

2013-08-18 16:20:02

I noticed it says for i : 3 to 28 to do


You did Deposit (3, 28, true);…. Try doing Deposit(7, 28, true);

If I read correctly… The First number is the location in inventory, how many items is the second and wanting to deposit those given items (true) if not (false)

Try changing the number in your function