SRL Archive - RS3 Money Making/Collecting

Renzanity's Wine Drinker and Jug Filler - v2.0


Renzanity

2015-03-07 06:03:43

*****F2P MONEY MAKER*****
Wine Drinker and Jug Filler
VERSION: 6.2
STATUS: WORKING


Special thanks to:
The Mayor for his Beginners Guide and All-In-One Tutorials.
Enigmatic for his Enigmatic Drinker 1.0.

What it basically does:
-Only drink wine
-Only fill jugs with water
-Do both

Features:
-Updated declarePlayers procedure.
-Logs you out when the tasks are finished.
-The ability to choose to do certain tasks. Whether it be, just to drink the wine, fill the empty jugs with water or do both.
-Antiban
-DTM
-Ability to choose which quick key to use for drinking wine
-Area Checker (Initiates a failsafe if you're not within the vicinity of the script)

Requirements:
-The only requirement is that you should have enough gold to buy Jug of Wine, or you can also steal from the Wine Stalls located in Draynor and Taverley.


Instructions of use:
[SPOILER=Instruction steps]
1. Be sure that your client is properly setup. Click me

2. Have your players setup in the Rafiki Player Manager.
[SPOILER=Rafiki Player Manager][/SPOILER]

3. Make sure your inventory's empty and infront of the Lumby Chest before launching the script.
[SPOILER= Image][/SPOILER]

4. Have your PRESET 1 set with the Jug of Wine and your PRESET 2 to the empty jugs.
[SPOILER= Image][/SPOILER]

5. Drag your wine over to which quick key you wish to use to drink the wine.

6. Download this SPS map and name it as LUMBY_SPS_00.
[SPOILER= SPS Map][/SPOILER]
[/SPOILER]
Updates:
[SPOILER=Updates]
EDIT: v2.3.2
-Added writeLn calls
-Fixed indentations (probably missed some though, please inform me about any improvements that you would recommend)
-Changed the procedure alwanysN(); to minimap.clickCompass();

EDIT: v2.4
-Fixed more indentations
-Changed the jug filling procedure into SRL 6 functions
-Finally implemented the antiBan() while you wait for the jugs to be filled with water

EDIT: v3.0 Release
-Replaced the gp calculation to manually typing the amounts yourself. (Will be adding that in my instructional guide)
-Implemented the antiBan() on the wine drinking procedure
[SPOILER= Sample Proggy v3.0][/SPOILER]

EDIT: v3.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.2 Release
-Updated the wWine(); procedure due to a certain bug that has come up recently. Apparently the cursor misclicks the bank chest and instead clicks the combat manual. Tried to add a repeat..until and "if not bankScreen.isOpen() then" lines and will test it out after runescape's update.
-Added a wait before opening the bank instead. So you will not be moving while you're opening the bank.
-(Maybe)FIXED by adding if conversationBox.isOpen() then.

EDIT: v4.0 Release
-You may now enter the price of the jugs on the player form.
-Updated the script's structure
-Minibreak/Smart reload
-New antiBan procedure

EDIT: v4.1 Release
-Added custom paint (run the script twice, it downloads the file the first time you run it and then runs the script the second time)
-Added a feature where you can choose what to do, whether to ONLY drink wine, ONLY fill empty jugs or do both of them. just edit line 25.

EDIT: v4.2 Release
-Edited the antiBan a little.
-Changed the findObj function.

EDIT: v4.2.1 Release
-Did some minor tweaks with the script.
-Now terminates the script when you're out of wine when running in 'Wine'(Only drinks wine).
-Progress report shortened.
-Fixed some writeLn calls, removed unnecessary ones in wWine procedure.

EDIT: v5.0 Release
-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 jugs 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: v6.0 Release
-Pretty much re-did the whole script
-Ability to choose which quick key to use for drinking wine
-Area Checker (Initiates a failsafe if you're not within the vicinity of the script)

EDIT: v6.1 Release
-Updated the DTMs
-Fixed the (not taking a break) problem

EDIT: v6.2 Release
-Fixed the current problem about filling jugs with water and if there was a problem with drinking wine (tested with over 20k jugs of wine and empty jugs)
-Updated DTMs
[/SPOILER]

Please leave progress reports or tell me of any annoying bugs you find through a post below! :norris:

WYD

2015-03-09 22:46:02

Bug
I run it
1. It open the bank and it get my wines out from my preset But it see why it just not opening my bank to get more wines out :-(


Renzanity

2015-03-10 00:46:01

From: Miningboy11
Bug
I run it
1. It open the bank and it get my wines out from my preset But it see why it just not opening my bank to get more wines out :-(



Hi Miningboy11, I'll give you a few things to check on and see if you got them right:

1st
You might've forgotten to set your PRESET 1 like this.
[SPOILER=Don't forget about this][IMG]http://i.imgur.com/edeBps2.png[/IMG][/SPOILER]
[B]2nd[/B]
Try to empty out your backpack first before starting the script.

[B]3rd[/B]
Try to run the script again and see if that works.

[B]4th[/B]
Try downloading the script again, I'm updating it right now.

P.S.
Thanks for sending in a bug, I'll be sure to help you sort it out. :norris:
Goodluck, champ. :D

EDIT:
There, I've uploaded it now. Try this one. It's on my first post above.

WYD

2015-03-11 20:46:00

From: renzanity
Hi Miningboy11, I'll give you a few things to check on and see if you got them right:

1st
You might've forgotten to set your PRESET 1 like this.
[SPOILER=Don't forget about this][IMG]http://i.imgur.com/edeBps2.png[/IMG][/SPOILER]
[B]2nd[/B]
Try to empty out your backpack first before starting the script.

[B]3rd[/B]
Try to run the script again and see if that works.

[B]4th[/B]
Try downloading the script again, I'm updating it right now.

P.S.
Thanks for sending in a bug, I'll be sure to help you sort it out. :norris:
Goodluck, champ. :D

EDIT:
There, I've uploaded it now. Try this one. It's on my first post above.


Plz add my Skype
Brady_Xbox

Renzanity

2015-03-11 20:50:05

From: Miningboy11
Plz add my Skype
Brady_Xbox


I uploaded new versions, just download this Renzanity's Jug Filler with Wine Drinker v2.4 and try again.

WYD

2015-03-12 09:09:50

From: renzanity
I uploaded new versions, just download this Renzanity's Jug Filler with Wine Drinker v2.4 and try again.


1st bug
You're out of wine. Proceeding to withdrawing empty jugs.

I have like 10k+ in my bank

2.same as before

This from debug
—- minimap.mouseOffCompass(): Succesfully moved mouse off of compass
—- TRSMinimap.clickCompass(): Clicked compass
Opening the bank.
– TRSBankscreen.__openChest()
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: "Use Bank chest"
—— Found "Use Bank" in mouse-over string: "Use Bank chest"
—- isMouseOverText(): True
—- TRSChooseOption._select():
—— Options found: [Use Bank chest, Collect Bank chest, Read Combat Manual, Walk here, Examine Bank chest, Examine Combat Manual, Cancel]
—— Found option "Use Bank" in "Use Bank chest"
—- TRSChooseOption.select() result = true
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—- isMouseOverText(): False
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—- isMouseOverText(): False
– TRSBankscreen.__openChest() result = false
You're out of wine. Proceeding to withdrawing empty jugs.
– exitTreasure()
– exitTreasure(): result = False

Renzanity

2015-03-12 10:18:16

From: Miningboy11
1st bug
You're out of wine. Proceeding to withdrawing empty jugs.

I have like 10k+ in my bank

2.same as before

This from debug
—- minimap.mouseOffCompass(): Succesfully moved mouse off of compass
—- TRSMinimap.clickCompass(): Clicked compass
Opening the bank.
– TRSBankscreen.__openChest()
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: "Use Bank chest"
—— Found "Use Bank" in mouse-over string: "Use Bank chest"
—- isMouseOverText(): True
—- TRSChooseOption._select():
—— Options found: [Use Bank chest, Collect Bank chest, Read Combat Manual, Walk here, Examine Bank chest, Examine Combat Manual, Cancel]
—— Found option "Use Bank" in "Use Bank chest"
—- TRSChooseOption.select() result = true
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—- isMouseOverText(): False
—- isMouseOverText()
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—— Current mouse-over text: ""
—- isMouseOverText(): False
– TRSBankscreen.__openChest() result = false
You're out of wine. Proceeding to withdrawing empty jugs.
– exitTreasure()
– exitTreasure(): result = False


The problem is that it's not detecting a color in your screen. So try this fix.

Make sure that you max out your brightness.

Then try running it again. If the problem persist come back.
Goodluck.

WYD

2015-03-12 22:26:58

From: renzanity
The problem is that it's not detecting a color in your screen. So try this fix.

Make sure that you max out your brightness.

Then try running it again. If the problem persist come back.
Goodluck.

Same problem :-(

Renzanity

2015-03-12 22:33:23

From: Miningboy11
Same problem :-(


Maybe you have a bank pin?

Renzanity

2015-03-12 22:45:54

Or you can also try using DirectX instead of OpenGL.

WYD

2015-03-12 23:11:34

From: renzanity
Or you can also try using DirectX instead of OpenGL.


Same problem and i have no bank pin :-(

Renzanity

2015-03-12 23:19:15

Try to check your Simba's Extensions, SRL, SPS for updates.

WYD

2015-03-12 23:33:53

From: renzanity
Try to check your Simba's Extensions, SRL, SPS for updates.


I just done that same problem :-(
You like to TeamViewe me?

Renzanity

2015-03-12 23:42:21

From: Miningboy11
I just done that same problem :-(
You like to TeamViewe me?


Your problem's because of this part on my script.

repeat
if isLoggedin() then
begin
typeSend('1', false);
wait(randomRange(800, 1000));
end else writeLn('There are no Wine Jugs in your backpack.')
until chatBox.findTextOnLines(['eft'], [0]);
writeLn('Done with this batch of wines.');
end;

Take note of the line until chatBox.findTextOnLines(['eft'], [0]);
The text 'eft' can't be found on your chatbox because you have your Game Messages set to 'Off'.


I feel silly for not noticing that right away. xD

The Mayor

2015-03-13 01:07:54

Nice player manager setup pic :p

Script looks good. A few things I noticed: It looks like you might be missing a few begins and ends (wjugs) and if your player logs out during wine()


repeat
Wine();
until tabBackpack.isEmpty();

it will get stuck there forever ;)

Renzanity

2015-03-13 01:33:46

From: The Mayor
Nice player manager setup pic :p

Script looks good. A few things I noticed: It looks like you might be missing a few begins and ends (wjugs) and if your player logs out during wine()


repeat
Wine();
until tabBackpack.isEmpty();

it will get stuck there forever ;)


Hahaha. Yeah, that player manager setup pic's the bomb! I wonder where it came from…:garfield:

And thank you for pointing out some of the flaws in the script. I've been literally trying to check them over and over, but I think being a noob just made me waste a lot of time. xD

I've been trying to think of other ways to loop that part on Wine(); and Water(); for a while now.

And I think this could work as a fix but I'm not 100% sure.

//Loop for the wine drinker
procedure Wine();
begin
repeat //Added the repeats here instead on the mainloop
wDrinker();
progressWine();
until (false);
end;
//Loop for filling the jugs
procedure Water();
begin
repeat //Added the repeats here instead on the mainloop
wJugs();
runToWS();
fillingJugs();
runToChest();
progressWater();
until (false);
end;

//And for the mainloop
repeat
if isLoggedIn() then
begin
antiBan();
clearDebug();
minimap.clickCompass();
mainScreen.setAngle(MS_ANGLE_HIGH);
end;

if isLoggedin() then
begin
Wine();
Water();
end else
exit;

until (false);
EDIT:
And did you mean this, sir?

//To withdraw the empty jugs
procedure wJugs();
begin
writeLn('Opening the bank.');
if bankScreen.open(BANK_CHEST_LUMBRIDGE) then
begin //I've added this just now
wait(randomRange(500, 800));
writeLn('Withdrawing/Depositing empty jugs.');
bankScreen.clickButton(BANK_BUTTON_PRESET_2);
end;
end;

WYD

2015-03-13 04:04:20

From: renzanity
Your problem's because of this part on my script.

repeat
if isLoggedin() then
begin
typeSend('1', false);
wait(randomRange(800, 1000));
end else writeLn('There are no Wine Jugs in your backpack.')
until chatBox.findTextOnLines(['eft'], [0]);
writeLn('Done with this batch of wines.');
end;

Take note of the line until chatBox.findTextOnLines(['eft'], [0]);
The text 'eft' can't be found on your chatbox because you have your Game Messages set to 'Off'.


I feel silly for not noticing that right away. xD

Thx you so much for this help, I can't wait to see more scripts from you.

The Mayor

2015-03-13 04:10:21

From: renzanity

And I think this could work as a fix but I'm not 100% sure.

//Loop for the wine drinker
procedure Wine();
begin
repeat //Added the repeats here instead on the mainloop
wDrinker();
progressWine();
until (false);
end;
//Loop for filling the jugs
procedure Water();
begin
repeat //Added the repeats here instead on the mainloop
wJugs();
runToWS();
fillingJugs();
runToChest();
progressWater();
until (false);
end;

//And for the mainloop
repeat
if isLoggedIn() then
begin
antiBan();
clearDebug();
minimap.clickCompass();
mainScreen.setAngle(MS_ANGLE_HIGH);
end;

if isLoggedin() then
begin
Wine();
Water();
end else
exit;

until (false);



No you don't want to do that; it's an infinite loop. repeat until(false) means repeat forever :p

procedure Wine();
begin
repeat //Added the repeats here instead on the mainloop
wDrinker();
progressWine();
until (false); // You will never get out of this procedure
end;

From: renzanity

And did you mean this, sir?

//To withdraw the empty jugs
procedure wJugs();
begin
writeLn('Opening the bank.');
if bankScreen.open(BANK_CHEST_LUMBRIDGE) then
begin //I've added this just now
wait(randomRange(500, 800));
writeLn('Withdrawing/Depositing empty jugs.');
bankScreen.clickButton(BANK_BUTTON_PRESET_2);
end;
end;


Yep, because the way you had it before, it would clickButton( ) even if the bank wasn't open.

Renzanity

2015-03-13 04:21:58

From: The Mayor
No you don't want to do that; it's an infinite loop. repeat until(false) means repeat forever :p

procedure Wine();
begin
repeat //Added the repeats here instead on the mainloop
wDrinker();
progressWine();
until (false); // You will never get out of this procedure
end;


Ohhh, maybe I should put until not isLoggedin(); instead of (false); because it will end when I log out with this line?

But I have a concern though. My wine withdrawal procedure makes use of PRESET_1 and PRESET_2 to get the required jugs.

//Part of the procedure for withdrawing Jugs of Wine and depositing empty Jugs
if bankScreen.open(BANK_CHEST_LUMBRIDGE) then
begin
wait(randomRange(500, 800));
writeLn('Withdrawing Wines.');
bankScreen.clickButton(BANK_BUTTON_PRESET_1);
inc(wD1);
end else writeLn('You''re out of wine. Proceeding to withdrawing empty jugs.');

//To withdraw the empty jugs
procedure wJugs();
begin
writeLn('Opening the bank.');
if bankScreen.open(BANK_CHEST_LUMBRIDGE) then
begin
wait(randomRange(500, 800));
writeLn('Withdrawing/Depositing empty jugs.');
bankScreen.clickButton(BANK_BUTTON_PRESET_2);
end;
end;
Which means when you don't have the items you have in your saved preset anymore, you will end up with an empty backpack. So, wouldn't the line until tabBackpack.isEmpty(); be appropriate for these procedures?:

//Loop for the wine drinker
procedure Wine();
begin
repeat
wDrinker();
progressWine();
until tabBackpack.isEmpty();
end;
//Loop for filling the jugs
procedure Water();
begin
repeat
wJugs();
runToWS();
fillingJugs();
progressWater();
runToChest();
until tabBackpack.isEmpty();
end;

EDIT:
Now that I've actually thought about it and tested it out, I've come up with a new way to deal with this mistake of mine.

I removed the repeat..until on the Wine(); and Water(); procedures. And then changed the mainloop as well..

//Loop for the wine drinker
procedure Wine();
begin //removed the repeats here
wWine();
drinkWine();
pSmartWine();
end;
//Loop for filling the jugs
procedure Water();
begin //and here
wJugs();
runToWS();
fillingJugs();
pSmartWater();
wait(randomRange(300, 500));
runToChest();
end;

//part of the mainloop
if isLoggedin() then
repeat
Wine();
until tabBackPack.isEmpty(); //and instead added it here, separating the Wine() ;...
repeat
Water();
if tabBackPack.isEmpty() then //and Water(); procedures so that I can...
begin
tScript(); //Add this to end the script which surprisingly worked, but a little rubbish.
progRepFinal(); // I'll continue to dabble more on this one until I understand more about scripting.
smartImage.clear();
exit();
end;
Thanks again , sir. :)

Renzanity

2015-03-13 04:24:02

From: Miningboy11
Thx you so much for this help, I can't wait to see more scripts from you.


My pleasure, champ. Enjoy! I think you're not very fluent/good in the English language that's why you're having a hard time understanding replies to you when you ask for help. I know your pain. :norris:

I hope you have a good day, champ.

WYD

2015-03-13 04:28:42

From: renzanity
My pleasure, champ. Enjoy! I think you're not very fluent/good in the English language that's why you're having a hard time understanding replies to you when you ask for help. I know your pain. :norris:

I hope you have a good day, champ.


I have ADHD and autism and dyslexia and asperger's That why.

Renzanity

2015-03-13 04:31:45

From: Miningboy11
I have ADHD and autism and dyslexia and asperger's That why.


Ohh, then I don't know your pain. :norris:

Eitherway, have fun gaining profit out of your 10k Jugs of Wine! :D

If you have any more concerns regarding this script, just leave a post again. And do leave your progress report when you finish botting the jugs. :norris:

WYD

2015-03-14 03:20:22

From: renzanity
Ohh, then I don't know your pain. :norris:

Eitherway, have fun gaining profit out of your 10k Jugs of Wine! :D

If you have any more concerns regarding this script, just leave a post again. And do leave your progress report when you finish botting the jugs. :norris:


Can you make it logout if i'm done with the Jug's?

Renzanity

2015-03-14 03:31:46

From: Miningboy11
Can you make it logout if i'm done with the Jug's?


I'll be releasing v3.0 once I'm done with some features I'm about to add. The logout feature on this one will be better than the one I have on v2.4. Please be patient. :norris:

And in the meantime, why not try my other script? Lumby Vial Filler

Renzanity

2015-03-14 04:14:29

Version 3.0 is out! Leave feedbacks please, tell me what do I need to improve or any request feature.
(6 hour fix, Minibreaks and worldhop will be implemented when I get my hands on a tutorial or if someone might be kind enough to teach me somehow. Send me a message. :P)

Anyway, enjoy! :norris:

And don't forget to check out my other script too, for those who don't have enough gold to buy Jugs of Wine in bulk, here's a Vial filler. Lumby Vial Filler

Renzanity

2015-03-14 09:17:35

Quick fix on v3.0
-Now logs you out after running the Water(); loop.

Renzanity

2015-03-17 13:14:08

EDIT: v3.1 beta Release
-Now with a trial minibreak function. (Exits to lobby after 3hours of running the bot and logs back in after 3mins)

Renzanity

2015-03-19 11:43:44

v3.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.

WYD

2015-03-30 03:35:16

From: renzanity
v3.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.


I have more Jug's =D

Renzanity

2015-03-30 04:55:23

From: Miningboy11
I have more Jug's =D




Goodjob, man. I stopped doing this method for now because the price of the jug of water was plummeting. :P It's good to know that you're still finding this useful. :)

Enjoy the script!

WYD

2015-03-30 05:31:47

From: renzanity
Goodjob, man. I stopped doing this method for now because the price of the jug of water was plummeting. :P It's good to know that you're still finding this useful. :)

Enjoy the script!


Can you plz add me on Skype i need to talk to you about something.

Renzanity

2015-03-30 05:42:37

From: Miningboy11
Can you plz add me on Skype i need to talk to you about something.


You can just send me a private message 'Click Me' and I'll answer it for you right away, I currently don't use my skype account for forum related endeavors. :norris:

*How to send a private message*
[SPOILER=Click the link 'Click Me' above then do this…]
[/SPOILER]

Renzanity

2015-04-09 12:49:33

UPDATE: v4.0 Release
-You may now enter the price of the jugs on the player form.
-Updated the script's structure
-Minibreak/Smart reload
-New antiBan procedure

Renzanity

2015-04-17 12:33:20

EDIT: v4.1 Release
-Added custom paint (run the script twice, it downloads the file the first time you run it and then runs the script the second time)
-Updated the findObj func's color.
-Added a feature where you can choose what to do, whether to ONLY drink wine, ONLY fill empty jugs or do both of them. just edit line 24.

zeinir

2015-04-19 06:41:06

– WARNING: TRSChatBox.getTextOnLine(): Invaild line
I have my game messages on, and Enigmatic drinker has basically the same loop, but for some reason it works? I'm kinda confused.
Enigmatic
      repeat
typeSend('1', false);
wait(randomRange(800, 1200));
until
chatBox.findTextOnLines(['eft'], [0]);
end;
Renzanty
  repeat
if isLoggedin() then
begin
typeByte(VK_1);
antiBan();
wait(randomRange(800, 1000));
end else writeLn('There are no Wine Jugs in your backpack.');
until chatBox.findTextOnLines(['eft'], [0]);
writeLn('Done with this batch of wines.');
end;

Renzanity

2015-04-20 12:00:41

From: zeinir
– WARNING: TRSChatBox.getTextOnLine(): Invaild line
I have my game messages on, and Enigmatic drinker has basically the same loop, but for some reason it works? I'm kinda confused.
Enigmatic
      repeat
typeSend('1', false);
wait(randomRange(800, 1200));
until
chatBox.findTextOnLines(['eft'], [0]);
end;
Renzanty
  repeat
if isLoggedin() then
begin
typeByte(VK_1);
antiBan();
wait(randomRange(800, 1000));
end else writeLn('There are no Wine Jugs in your backpack.');
until chatBox.findTextOnLines(['eft'], [0]);
writeLn('Done with this batch of wines.');
end;


Hi,

Does the code on Enigmatic's script actually look like that? If so, you must have accidentally clicked enter between until chatBox.findTextOnLines(['eft'], [0]);

Try re-arranging the code:

repeat
typeSend('1', false);
wait(randomRange(800, 1200));
until chatBox.findTextOnLines(['eft'], [0]);
end;

And if you're having problems with my script and not Enigmatic's then I'll try to look into it as soon I get my internet running in my new home, just moved in yesterday.:p

Goodluck!:norris:

Renzanity

2015-04-29 12:17:22

EDIT: v4.2 Release
-Edited the antiBan a little.
-Changed the findObj function.

photomac54

2015-04-29 20:47:58

This scripts working well. Been using it on a couple accounts for hours. The progress report doesnt work or else I would post one. drinking about 1200 bottles of wine an hour. (doesn't bother me, i know I'm making bank). One thing though is this error comes up:

You're out of wine. Proceeding to withdrawing empty jugs. (during the withdrawal process)

Then it presses preset 1 (my wine) and drinks it because thats what I have it set to. I have not tried the filling up function yet. I can't tell if it is spamming anything while trying to withdraw items, it does lag though for 10 seconds before collecting a new inventory full of wine. It works overall though with no major hitches. Just something small that would make it work smoother if it can get through the bank faster, also it might be spamming a function which is why it would take so long.

Renzanity

2015-04-29 21:44:52

From: photomac54
This scripts working well. Been using it on a couple accounts for hours. The progress report doesnt work or else I would post one. drinking about 1200 bottles of wine an hour. (doesn't bother me, i know I'm making bank). One thing though is this error comes up:

You're out of wine. Proceeding to withdrawing empty jugs. (during the withdrawal process)

Then it presses preset 1 (my wine) and drinks it because thats what I have it set to. I have not tried the filling up function yet. I can't tell if it is spamming anything while trying to withdraw items, it does lag though for 10 seconds before collecting a new inventory full of wine. It works overall though with no major hitches. Just something small that would make it work smoother if it can get through the bank faster, also it might be spamming a function which is why it would take so long.


Hi photomac54,

Thanks for raising this concern. Though, upon running the script myself, I couldn't replicate the problem you're having with the script lagging/idling for 10seconds. Must be because of you, running too many accounts/SMART Clients at once? Did you check your RAM usage when this happened? And if nothing's out of order then try going to your RS Graphics Settings and change CPU Usage to a lower setting, might help you out a bit there.

Regarding the progress report not working, what version are you using? Because I'm pretty sure the latest version works, but I tweaked it a bit after you raised this concern and saw that the debug progress report was shortened but the 'Estimated Total Profit Gained' line was too long.:p And if you're having a problem with the paint proggy, just run the script twice, if you're running the script for the first time, because it downloads the paint the 1st time you run it, the 2nd it runs the script.

5min proggy:

/=======================================\
|=======Renzanity Lumby Jug Filler======|
|=======================================|
| Time Ran: 05m 40s |
| No. of breaks taken: 0 |
| Jugs filled: 280 pcs |
| Estimated Total Profit: 32200 gp |
| Estimated profit/hr: 340097 gp |
\=======================================/

Hopefully you find the bugs' fixes here. And excuse my clustered reply, I just woke up.:p

Goodluck!

-Renzanity

Renzanity

2015-04-29 21:50:37

EDIT: v4.2.1 Release
-Did some minor tweaks with the script.
-Now terminates the script when you're out of wine when running in 'Wine'(Only drinks wine).
-Progress report shortened.
-Fixed some writeLn calls, removed unnecessary ones in wWine procedure.

photomac54

2015-04-30 21:02:24

Hey Renzanity can you send me a pm? Im not at 10 posts yet. need some help with banking

photomac54

2015-04-30 22:19:51

now i can message you back ;)

photomac54

2015-05-01 11:41:53

/=======================================\
|=======Renzanity Lumby Jug Filler======|
|=======================================|
| Time Ran: 01h 11m 25s |
| No. of breaks taken: 0 |
| No. of Wine drank: 1568 pcs |
| Estimated Total Profit Gained: 340256 gp|
| Estimated profit/hr: 285831 gp |
\=======================================/

Renzanity

2015-05-01 11:57:09

From: photomac54
/=======================================\
|=======Renzanity Lumby Jug Filler======|
|=======================================|
| Time Ran: 01h 11m 25s |
| No. of breaks taken: 0 |
| No. of Wine drank: 1568 pcs |
| Estimated Total Profit Gained: 340256 gp|
| Estimated profit/hr: 285831 gp |
\=======================================/


Is it finally working well for you man? No more setbacks on the banking part?:D

Btw, thanks for the progress report!

Renzanity

2015-05-11 12:20:04

EDIT: v5.0 Release
-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 jugs 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)

P.S.
Been a while since I've updated my scripts. Enjoy.

Leave suggestions and/or bugs on a post below, thanks!

Pappo

2015-06-02 10:00:59

Seems to be working fine so far (400 drinks in), only the paint is a bit broken on v5. I can tell the number because that displays but the rest of the paint is white.

Edit: By the way, other scripts I used to use could drink around 1.6k wines per hour, I'm not sure if its because of the breaks or something but is there a way to step up the speed?

EDIT 2: Seems to have done around 1.5k, but the paint only shows 980, might be to do with the fact that I have a program to hide windows. Not sure though.

EDIT 3: After more testing, it constantly does some weird shit with breaks. I have to start it and stop it several times before it actually starts working, otherwise it logs out as soon as I run it. Also when it runs it always gets stuck after a while because the action bar doesn't register input, not even when I manually press 1 on my keyboard.

Renzanity

2016-04-19 14:39:58

v6.0 Release
-Pretty much re-did the whole script
-Ability to choose which quick key to use for drinking wine
-Area Checker (Initiates a failsafe if you're not within the vicinity of the script)