SRL Archive - Research & Development Lounge

OpenBankDeposit


Raskolnikov

2007-11-27 21:47:13

This will open your bank, no coordinates needed, then deposit the beginning slot to end slot that was specified.

procedure OpenBankDeposit(FirstSlot, EndSlot: integer);
var
x, y: integer;
begin
repeat
FindObjCustom(x, y, ['Use', 'B', 'U'], [3421240, 4937311], 4);
Mouse(x,y,1,1,false);
ChooseOption('Use-quickly');
Wait(1500+random(125));
until(BankScreen);
if BankScreen then
begin
Deposit(FirstSlot, EndSlot, 1);
end;
CloseBank;
end;

If you have any questions, or wish to tell me something:

Yahoo: [email]camdoclark@yahoo.com[/email]

Thanks,
Cut em2 it

LordGregGreg

2007-11-27 22:07:28

hey, good job :D that all looks pretty good.

although most of the tricky stuff has already been made in srl for you…

not to mention that you may not always want to have static colors like you have..

but this is still good.

Raskolnikov

2007-11-27 22:39:07

From: LordGregGreg
hey, good job :D that all looks pretty good.

although most of the tricky stuff has already been made in srl for you…

not to mention that you may not always want to have static colors like you have..

but this is still good.



Thanks :D what should I put in there that will make it better? The reason I had there be static colors was for people who didn't want them to set it themselves. For the roadblock color changing, I like to use findobjcustom for all things actually on the screen so I can put in a tolerance. If you have any problems with finding the bank booth you can tell me and I'll figure out the problem. I used my own open banking feature because OpenBankQuiet never works for me :S


Cut em2 it

LordGregGreg

2007-11-27 22:53:21

hmm, not much, i was under the impresion that the ones in srl would work flaWLESSLY..

Raskolnikov

2007-11-27 23:01:06

Well they never worked for me so i did it manually for my shrimp/banker script then it worked better :D

Edit: Almost all worked except OpenBankQuiet and I've gotten around it.

zenma

2007-11-28 00:32:19

Looks good…maybe make a failsafe in the repeat until bankscreen just incase something happens so it doesnt go on forever trying to get to the bankscreen..and openbankquiet always works for me dk why it dont work for you guys

aran armath

2007-11-28 00:48:17

Like it will test it towmorrow.

BobboHobbo

2007-11-28 03:38:32

From: LordGregGreg
hmm, not much, i was under the impresion that the ones in srl would work flaWLESSLY..


Accutally Edgeville OpenBankQuite isnt flaw doesnt even work >.< same with OpenBankFast for edge fails.. So santa gave me one :D

Santa_Clause

2007-11-28 05:03:35

Santa…as in me :p

Nice job Cut Em 2 It, you seem to understand what you're doing, now time for you to make functions all from scratch with no help from SRL :)

n3ss3s

2007-11-28 07:07:01

Yup, Edge Quiet & Fast = fail.

Laggs terribly + doesn't find it :(

Colors > Bitmaps.

Raskolnikov

2007-11-30 19:18:14

Thanks to everyone that gave me feedback, I am now applying for SRL Membership. I will soon be making more functions.

Naum

2007-12-01 11:27:37

From: n3ss3s
Yup, Edge Quiet & Fast = fail.

Laggs terribly + doesn't find it :(

Colors > Bitmaps.



Yea always hovers on the poles. Thts why i always make my own procedure aka.. :
Procedure NOpenBank;
Begin;
If FindObj(x,y,'Bank',7042941,5) or
FindObj(x,y,'booth',2900815,5) or
FindObj(x,y,'ank boo',7767438,5) then
Begin
Mmouse(x,y,0,0)
If IsUpText('Use') then
Begin
Mouse(x,y,0+Random(3),3-Random(2),false)
ChooseOption('uickly')
wait(1000+Random(3450))
end;
Writeln('Bank Found')
end;
end;

;D