Hey! This script is absolutely wonderful! Great job! So far I've had no problems, but I did want a "Planks/hour" added to the progress report. I thought about coming to suggest it, but instead I just figured it out on my own and it just showed me even more how great this script is!
Here's a small proggy with the planks/hour in it
http://i40.tinypic.com/fsbrn.jpg
Here's the part for planks/hr if anyone wants it or anything:
Simba Code:
Writeln('Planks Made: ' + inttostr(GainedXP/90) + ' || ' + XPPerHour(GetTimeRunning,GainedXP/90) + ' Planks/hour ');
EDIT:
Also, some people were complaining about the Bank Slot, so here's a quick fix for that... I didn't really mess with it too much, mainly because I'm not completely educated, but here's what I came up with.
I made it so that the user can put in the bank slot that they want to use by putting in the column and row numbers
Simba Code:
const
//*****************Edit*********************//
SERVER = 6; //Set a server here.
INVENTORIES_TODO = 1968; // How many loads should we go through?
GAIN_PER_CAST =108; // How much do we make or lose per cast?
BankCol=0; //log col in bank
BankRow=0; //log row in bank
And for the procedure, I just edited what you already had, took away, and added some. I'm not sure how efficient this portion is, but I guess it just needs some testing. Anyways, here's what I have for that.
This may also fix that small bug for the laggy users.
Simba Code:
procedure WithdrawLogs;
begin
if(BankScreen) then
begin
FixBank;
WithdrawEx(BankCol,BankRow,0,['any logs']); //Withdraws logs from specified slot
Wait(1000+random(20));
if InvFull then
end else
begin;
OpenChest();
DepositAllButRunes;
WithdrawLogs;
end;
invFinished:=false;
end;