vvarfare
2014-09-23 20:49:19
I am trying to add some decent banking into one of my scripts using the following
but i keep getting the following
Are there any alternatives or am i doing something wrong in the current way this is is how i have it setup since im just testing the banking atm.
bankScreen.open(BANK_CHEST_SHANTAY); but i keep getting the following
-- TRSBankscreen.__openChest()
---- ERROR: Failed to find enough chest colors [1 0, 2 0 ]
-- TRSBankscreen.__openChest(): result = falseAre there any alternatives or am i doing something wrong in the current way this is is how i have it setup since im just testing the banking atm.
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
procedure withdrawItems();
begin
if not isLoggedin() then
exit;
if isLoggedin() then
begin
wait(randomRange(300,500));
bankScreen.open(BANK_CHEST_SHANTAY);
end;
if not (bankScreen.isOpen) then
terminateScript();
if (bankScreen.isOpen()) then
begin
wait(randomRange(400,600));
bankScreen.clickButton(BANK_BUTTON_PRESET_2);
end;
end;
begin
setupSRL();
withdrawItems();
end;