SRL Archive - Help and Support

Depositing Help?


faster789

2008-04-20 08:36:07

I was wandering what's wrong with the depositing. When I put Deposit(15,28,3) this should deposit all the items by clicking 15 and depositing all. But what this does is that it clicks the first item then clicks deposit all, then it clicks the 15th item and clicks all. I ONLY want it to click the 15th item and click all.
Please help.

Santa_Clause

2008-04-20 08:40:07

Change 28 to 15.

ZephyrsFury

2008-04-20 08:51:09

The deposit procedure is bugged. I will deposit all your inventory regardless of your parameters. You'll need to manually fix the procedure:

In line 201 in Bank.scar:

For I := 1 To 28 Do

Change that to:

For I := SlotFrom To SlotTo Do

Also, even with the procedure fixed, Deposit(15, 28, 3) will deposit '3' items from slots 15 to 28. You'll need to change that to Deposit(15, 15, True);