SRL Archive - OSR Help

looking for banking script/library support


bg5

2011-10-28 18:17:01

Hello,
I would like to add colour based banking for my script. I tried some function from SRL library ( http://docs.wizzup.org/srl-5/bank.html#findbank ) ,but it don't works. It just did nothing. Is there any working banking support?

Coh3n

2011-10-28 18:45:25

Which ones aren't working? The colours may just need to be updated.

bg5

2011-10-28 19:12:14

FindBank(Bank_VW);

I'm standing inside bank and this function does nothing.

I also tried OpenBankNPC; ,but it work a bit weird ,if I stand in front the banker script doesn't detect this banker but another 2 windows farther. I have no iea how to fix it.

Coh3n

2011-10-28 19:26:10

It's nothing you're doing wrong, it just sounds like the colors need to be updated. I can't do it right now, but hopefully someone can before I'm back in a couple days.

blabla7

2011-10-30 08:22:17

I use this function in my script (also located in bank.scar)

{*******************************************************************************
function OpenBankFast(Location: String): Boolean;
By: Wizzup? and Nielsie95 updated by N1ke! updated again by marpis
Last update: 7th December 2009
Description: Opens the bank.
Valid arguments are:
'feb', 'falador east bank'
'fwb', 'falador west bank'
'veb', 'varrock east bank'
'vwb', 'varrock west bank'
'db' , 'draynor bank'
'akb', 'al-kharid bank'
'eb' (Edgeville Bank)
'ctb', 'catherby bank'
'clt', 'camelot bank'
'nab', 'north ardougne bank'
'sab', 'south ardougne bank'
'ynb', 'yanille bank'
'ngb', 'north gnome bank'
'sgb', 'south gnome bank'
'wgb', 'warrior guild bank'
'fgb', 'fishing guild bank'
*******************************************************************************}

And it still works as of today. (at least at varrock west bank)

noidea

2011-10-30 12:24:19

I have also been having a few issues with banking routines. Thebanking functions tend to take a long time to find the bank. Findbanknpc works well except when you're standing just outside of the banks view and it still tries to move the mouse to the area. I also dislike how some of the banking Functions change the camera direction

bg5

2011-10-30 17:53:09

From: blabla7
I use this function in my script (also located in bank.scar)

{*******************************************************************************
function OpenBankFast(Location: String): Boolean;
By: Wizzup? and Nielsie95 updated by N1ke! updated again by marpis
Last update: 7th December 2009
Description: Opens the bank.
Valid arguments are:
'feb', 'falador east bank'
'fwb', 'falador west bank'
'veb', 'varrock east bank'
'vwb', 'varrock west bank'
'db' , 'draynor bank'
'akb', 'al-kharid bank'
'eb' (Edgeville Bank)
'ctb', 'catherby bank'
'clt', 'camelot bank'
'nab', 'north ardougne bank'
'sab', 'south ardougne bank'
'ynb', 'yanille bank'
'ngb', 'north gnome bank'
'sgb', 'south gnome bank'
'wgb', 'warrior guild bank'
'fgb', 'fishing guild bank'
*******************************************************************************}

And it still works as of today. (at least at varrock west bank)


Thats strange. If i run this script in vwb (or anywhere) it does nothing ,even not move the mouse or rotate screen'

It's my basic program to test this script ,maybe I messes something up?

program new;
{$I SRL/SRL.scar}
begin
OpenBankFast('vwb');
end.

blabla7

2011-10-30 18:23:20

From: beginner5
Thats strange. If i run this script in vwb (or anywhere) it does nothing ,even not move the mouse or rotate screen'

It's my basic program to test this script ,maybe I messes something up?

program new;
{$I SRL/SRL.scar}
begin
OpenBankFast('vwb');
end.


Shouldn't you call setupsrl; first?
Also, make sure you drag the crosshair to the runescape window and call activateclient; to go there.
I'm not sure if it will help but try this:


program new;
{$I SRL/SRL.scar}
begin
setupsrl;
activateclient;
wait(2000);
OpenBankFast('vwb');
end.

Coh3n

2011-10-31 00:39:47

What blabla7 said. You have to call SetupSRL otherwise nothing will work. ;)

bg5

2011-10-31 09:43:01

Thanks for help ,but it still not works. I tested today scripts in vwb: FindBank , OpenBankNPC ,OpenBankFast ,OpenBankQuiet and all of them don't do anything.

setupsrl;
activateclient;

that lines was added ,
Runescape gfx settings was minimum , size fixed, brightness highest
client was activated by "x cross"
and i run simba like administrator

I have no idea why it doesn't work and I think i will make my own coordinate-based banking script ,but then i will have to resign all screen-rotating antibans :/

blabla7

2011-10-31 09:45:24

From: beginner5
Thanks for help ,but it still not works. I tested today scripts in vwb: FindBank , OpenBankNPC ,OpenBankFast ,OpenBankQuiet and all of them don't do anything.

setupsrl;
activateclient;

that lines was added ,
Runescape gfx settings was minimum , size fixed, brightness highest
client was activated by "x cross"
and i run simba like administrator

I have no idea why it doesn't work and I think i will make my own coordinate-based banking script ,but then i will have to resign all screen-rotating antibans :/


That is very odd as for me it is working perfectelly.
Can you copy paste your whole script and tell me where you are using it?

Coh3n

2011-10-31 18:15:27

Try using SMART rather than just the browser.

Markus

2011-11-03 16:21:38

Run this please (regular client, not SMART):

program new;
{$i srl/srl.scar}
var x, y : integer;
begin
setupsrl;
activateclient;
GetClientDimensions(x, y);
writeln('Dimensions: '+inttostr(x)+', '+inttostr(y));
SetAngle(true);
if not FindSymbol(x, y, 'bank') then
writeln('Bank Symbol not found! Are you sure you stand in a bank?')
else writeln('Bank Symbol found!');
MakeCompass('N');
Writeln('OpenBankFast works?: '+booltostr(OpenBankFast('vwb')));
wait(500+random(500));
CloseBank;
wait(500+random(500));
Writeln('OpenBankGlass works?: '+booltostr(OpenBankGlass('vwb', true, true)));
wait(500+random(500));
CloseBank;
wait(500+random(500));
Writeln('OpenBankNPC works?: '+booltostr(OpenBankNPC));
wait(500+random(500));
CloseBank;
wait(500+random(500));
Writeln('FindBANK works?: '+booltostr(FindBank('vwb')));
wait(500+random(500));
CloseBank;
wait(500+random(500));
Writeln('FindBANK works?: '+booltostr(FindBank('vwb')));
wait(500+random(500));
CloseBank;
wait(500+random(500));
Writeln('OpenBankQuiet works?: '+booltostr(OpenBankQuiet('vwb')));
wait(500+random(500));
CloseBank;
TypeSendEx('Done!', false);
Writeln('Done testing. Please post above output!');
writeln('xxx Markus');
end.
And post output here: http://villavu.com/forum/showthread.php?t=67366 :)