EDIT:
-Added writeLn calls on the script.
-Fixed indentations (probably missed some though, please inform me about any improvements that you would recommend)
I'll be posting my proggy after running 10k vials.
================================================== =================
====================Renzanity Lumby Vial Filler====================
Time Ran: 3 Hours, 41 Minutes and 53 Seconds
Vials filled: 8820 pcs
Batches done: 315 batches
Estimated Total Profit Gained: 335160 gp
Estimated profit/hr: 90627 gp
================================================== =================
EDIT: v1.2 is out!
-Lessened the lag in getting the GE prices
-Now runs faster than v1.1
Will be posting a proggy soon.
EDIT:
EDIT: v1.3
-Fixed some more indentations
-Finally implemented the antiBan() while you wait for the vials to be filled with water
-Uploaded as SWF file to see how the script look like while running.
-Updated the procedure for filling up the vials
Simba Code:
//Filling the vials with water
procedure fillVials();
var
x, y: integer;
begin
if mainscreen.findObject(x, y, 9477264, 21,colorSetting(2, 1.06, 0.21), mainscreen.playerPoint, 50, 50, 50, ['emo'], MOUSE_LEFT) then
begin
writeLn('Clicked the fountain.');
if productionScreen.isOpen(1000) then
pressKey(VK_SPACE);
writeLn('Filling up the Vials with water...');
wait(randomRange(16500, 17000));
writeLn('Done filling up this batch of Vials.');
end;
inc(vF1);
end;
Simba Code:
//Filling the vials with water
procedure fillVials();
var
x, y: integer;
begin
if mainscreen.findObject(x, y, 9477264, 21,colorSetting(2, 1.06, 0.21), mainscreen.playerPoint, 50, 50, 50, ['emo'], MOUSE_LEFT) then
begin
writeLn('Clicked the fountain.');
if productionScreen.isOpen(3000) then
begin
writeLn('Pressing Fill.');
productionScreen.clickStart(true);
if progressScreen.isOpen(3000) then
begin
writeLn('Filling up the vials...');
repeat
antiBan();
wait(randomRange(500, 1000));
until (progressScreen.getButton() < 1);
writeLn('Done filling up this batch of Vials.');
end else
writeLn('Progress screen didn''t appear within 3 sec');
end else
writeLn('Production screen didn''t appear within 3 sec');
end;
inc(vF1);
end;
EDIT: Proggy of the upcoming v2.0 of this script
Features to be expected:
-6 hour fix (Under research)
-Removed the lag between Filling up the vials and running back to the chest procedure.
-Working on how to add an hourly minibreak. Any advice will be very much appreciated!
EDIT: v2.0 Release
(Giving up on the 6 hour fix and minibreak for now to release v2.0 early. Still researching about it.)
-Removed the lag between Filling up the vials and running back to the chest procedure.
Renz - Still ongoing
EDIT: v2.1 Release
-Made a change on a line in the script to get rid of the bug that makes you walk back to the bank chest when the progress screen says "Done". And instead, waits for the progress screen until it's gone on your mainscreen.
EDIT: v3.0a Release
-You may now enter the price of the vials on the player form.
-Updated the script's structure
-Minibreak/Smart reload
-New antiBan procedure
EDIT: v3.0b Release
-Fixed some bad wrong lines in the script "repeat..until
not tabBackPack.isEmpty." etc. (Makes the script stop after 1 batch is filled)
EDIT: v3.1
-Added custom paint on SMART (automatically installs the paint, just run the script twice after it spawns an error on the first try)
EDIT: v4.0
-Added the break, break length and run timer on the playerForm. (You may now specify how long before you take breaks or to run the script)
-Now uses DTM to count the vials of water for the progress report.
-Pretty much updated the whole script.
-Sadly, still no multiplayer capabilities. (If there's somebody who can help me out, leave me a PM)
EDIT: v5.0
-Rewritten the whole script to make it work again
-Added an Areachecker
-New SPS Map
-Antiban Percentage
EDIT: v5.2
-You should now zoom in a little for the bot to be able to find the bankchest better
Code:
v5.2
/=======================================\
|======Renzanity Lumby Vial Filler======|
|=======================================|
| Time Ran: 05h 09m 33s |
| No. of breaks taken: 2 |
| Vials filled: 14,168 pcs |
| Batches done: 506 batches |
| Estimated Total Profit: 680,064 gp |
| Estimated profit/hr: 131,814 gp |
\=======================================/