Right now water juggling gives me headaches and sweaty nightmares. I figured out how to hotkey waterskin, but constant bucket refill is just too much.
What I want - press a key, which takes any available drinkable container, drink it, and if it's empty - refill it with any available bucket. Quality is totally irrelevant. Should work with any amount of buckets in inventory. Is it even possible? Or even maybe exist already.
Another query - I've seen in some videos highlight of current water container capacity. What is that mod?
And thing that show percentages of finished something - above ovens etc. Maybe I was dreaming though.
Thanks!
Water management script
Moderator: Phades
-
Minion
- Posts: 71
- Joined: Tue Feb 21, 2012 1:23 pm
Re: Water management script
To answer your question on the water, yes it is possible. Yes it already exists.
To the water capacity, it is a client mod.
And I am unsure about existence of a fuel timer. But i like the idea. Shall look into it.
To the water capacity, it is a client mod.
And I am unsure about existence of a fuel timer. But i like the idea. Shall look into it.
-
gogis
- Posts: 45
- Joined: Tue Jun 25, 2013 9:46 pm
Re: Water management script
Can you share where to look and what to download?Minion wrote:To answer your question on the water, yes it is possible. Yes it already exists.
To the water capacity, it is a client mod.
And I am unsure about existence of a fuel timer. But i like the idea. Shall look into it.
-
bmjclark
- Posts: 4053
- Joined: Thu Jan 27, 2011 6:40 am
- Location: Ontario, Canada
Re: Water management script
Last person i saw with a water script dropped their water skin, then dropped their water bucket. Would not recommend.
Cajoes wrote:I was the murder victim your guy aggro'd. And slew. Entirely unprovoked. Rather handily at that. Which prompted the retaliatory party. That you also handily slew.
-
NOOBY93
- Posts: 6528
- Joined: Tue Aug 09, 2011 1:12 pm
Re: Water management script
Ken Tower client has a bunch of scripts and one of 'em is "drink". It uses right-click drinking (very quickly though) so I only use it to refill, but to drink I use another hotkey.
Good luck!
Good luck!
Jalpha wrote:I believe in my interpretation of things.
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Water management script
4 waterskins, 4 hotkeys, 5 bucketsbmjclark wrote:Last person i saw with a water script dropped their water skin, then dropped their water bucket. Would not recommend.
-
gogis
- Posts: 45
- Joined: Tue Jun 25, 2013 9:46 pm
Re: Water management script
It wont help with refilling. Also I dont get general attitude in this thread. It's not like I asked for uber bot to ruin your souls.Arcanist wrote:4 waterskins, 4 hotkeys, 5 bucketsbmjclark wrote:Last person i saw with a water script dropped their water skin, then dropped their water bucket. Would not recommend.
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Water management script
It will. or if you have 5 flasks, and some buckets, you can drink from each of the flasks until they're empty, then empty a bucket into the 5 of them.
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Water management script
you might link the videos to get a better clue - i only know about percentage showing of health in a very old client (not sure whether someone put it in a later one)gogis wrote: Another query - I've seen in some videos highlight of current water container capacity. What is that mod?
And thing that show percentages of finished something - above ovens etc. Maybe I was dreaming though.
Thanks!
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Water management script
Here is the drink function from apexolog's farmer script:
var flask = flasks[0];
if (flask.isActual()) {
flask.itemact(0);
jSleep(500);
inventory.drop(bucket_coord);
jWaitDrop();
That's the part you need to modify to make it fill all flasks.
I would just repeat the code saying var flask1 = flasks[1] var flask2 = flasks[2] and so forth for how many flasks you want, then remove the drinking part of it.
Code: Select all
function drinkWater() {
if (jGetStamina() > 80) return;
inventory = checkInventory();
var buckets = inventory.getItems("bucket-water");
if (buckets.length > 0) {
inventory.sortItems(buckets, "amount", false);
var bucket = buckets[0];
var bucket_coord = bucket.coord();
if (bucket.isActual()) {
bucket.take();
jWaitDrag();
var flasks = inventory.getItems("waterflask", "waterskin");
if (flasks.length > 0) {
var flask = flasks[0];
if (flask.isActual()) {
flask.itemact(0);
jSleep(500);
inventory.drop(bucket_coord);
jWaitDrop();
}
}
}
}
var flasks = inventory.getItems("waterflask", "waterskin");
if (flasks.length > 0) {
var flask = flasks[0];
if (flask.isActual()) {
flask.iact();
if (jWaitPopup(actionTimeout)) {
jSelectContextMenu("Drink");
jWaitProgress();
} else {
// No water
stopFlag = true;
}
}
}
} if (flask.isActual()) {
flask.itemact(0);
jSleep(500);
inventory.drop(bucket_coord);
jWaitDrop();
That's the part you need to modify to make it fill all flasks.
I would just repeat the code saying var flask1 = flasks[1] var flask2 = flasks[2] and so forth for how many flasks you want, then remove the drinking part of it.