SRL Archive - Help and Support

banking / dpositing


weaselforce

2006-04-06 00:21:48

 Procedure BankingWithdraw;
begin
OpenBank3;
DepositAll;
Fixbank;
if (amountleft > 14)then

for some reason my script closes the bank, reopens it, and then clicks on the inv spot of the gametab a few times, then deposits.

i tried Openbank with the same results… anyone know whats happenin?

WhiteShadow

2006-04-06 00:32:15


procedure Hmm;
begin
repeat
OpenBank3;
until(BankScreen)
begin
FixBank;
DepositAll;
Wait(1000);
CloseWindow;
end;
end;

Try this.

Make sure your inv actually has 28 of the same items. If you were trying to just deposit a few of a specified item then I suggest using:

procedure Deposit2(i, amount: Integer);

i is the slot. 1 would be the top left of the inv.

Amount is the amount you wish to deposit. 1-28. It uses the Deposit x thing. Sendtext of the number and enters it.

Pyro

2006-04-06 00:52:57

Its a bug in deposit2. Well ti clicks inv for me thats all

WhiteShadow

2006-04-06 01:05:51

From: Pyro
Its a bug in deposit2. Well ti clicks inv for me thats all


I'll assume what you meant. :p

Well it works fine for me. Did you set the Parameters right and make sure theres actually items in that slot?

Rsn's a great scripter. <3

weaselforce

2006-04-06 23:37:01

gah, i changed it to deposit 3. It still does the same thing, clicks on "gametab 4" (where the in v should be) deposits from spot 3 (like i told it to)then clicks on gametab 4 some more. I dont know why it would do that, there is something in spot 3, even when i told it to depost "14" instead of "0" (all).

procedure BankingDeposit;
begin
if (ExistsItem(14)) then
begin
OpenBank3;
fixbank;
Wait(200+random(50));
Deposit2(1,14);
end else
OpenBank3;
fixbank;
Wait(200+random(50));
Deposit2(1,0)
end;

and yes it does deposit 14, not "all"

Pyro

2006-04-07 00:02:03

Ya i think its somethign to do with mouseitem ill take a look into it

weaselforce

2006-04-07 00:05:03

o ok, thank you very much

weaselforce

2006-04-09 17:53:43

sorry for double post, but i needed to bump this. no one has any idea?