By registering with us, you'll be able to discuss, share and private message with other members of our community.
Sign up now!If the booleans aren't accurate, then it's probably your implementation? If you show some code I could look through it for you.Trying to check if an Pouch is full, I am using booleans but its going bad since its not 100% accurate. I can't use Settings since Runemate doesn't suppport it? And also, GameMessages doesn't work for me for some reason?
If the booleans aren't accurate, then it's probably your implementation? If you show some code I could look through it for you.
Varps are the equivalent of settings.
You've got to add the listener to the event dispatcher.
I'm not at home but I remember my code, so I'll type it here.
I'm using a method like this (something like this but just written fast):
boolean Pouch = false;
if(Inventory.contains(23) && Pouch == false){
Inventory.getItems(23).interact("Fill");
}else if(Inventory.getQuanitity() == 20){
Pouch = true;
}
}else if(Inventory.getQuanitity() == 20){
Pouch = true;
}
Is this for RS3? I'm guessing you're trying to use Bank Presets?
Bank Presets won't auto-fill pouches on withdraw. In a seperate RC script I made for another bot platform, I simply had a preset to take out all 4 pouches and an inventory full of pure ess, then I opened the bank again and had it right click each pouch and select fill. It will take Pure Ess out of the bank instead of inventory as long as the bank is open.
Lol, I appreciate you replying to my thread, but you've misunderstood my method completely.
Let me translate what it does:
if(Inventory.contains(23) && Pouch == false){ // When inventory contains Pure ess and boolean Pouch is false then
Inventory.getItems(23).interact("Fill"); // interact with Pure ess and fill (This is while bank is open)
}else if(Inventory.getQuanitity() == 20){ // After the interaction to fill the Players inventory should have exactly 8 slots that are free to use. 20-28 = 8
Pouch = true; //While my inventory has 8 slots free my bot assumes that I have successfully filled my Pouch, thus returning Pouch true.
}
No-where did the code you posted indicate that this is when the bank is open.
Also, if you're trying to fill pouches while the bank is open, it takes pure ess from the bank directly, assuming RS3/DS. I'm aware what those lines of code do.
I was only trying to help, please post your entire method next time so we know exactly what you're trying to accomplish.
It doesn't matter whether the bank is open or not I just made it clearer, it still Fills my pouches without the help of Bank Presets. I have no idea what you are even talking about.
You're trying to use Pure Ess as condition. If pure ess is missing from the inventory obviously the pouches were filled. However if you're trying to go off that with banking, it doesn't work because when you fill a pouch while the bank is open in RS3/DS it will take the ess from the bank directly instead of the Inventory.
So this:
}else if(Inventory.getQuanitity() == 20){
Pouch = true;
}
Will never happen, therefore pouch will always be false.
My entire point was, I have an RC script I put together and runs perfectly fine. The way I handle it is simply using a Bank Preset to take out all 4 pouches and the rest is Pure Ess. It then opens the bank again, and "fills" each pouch, as long as it interacted with each one then all pouches should be filled. Add a boolean to check if the bank contains essence, and you should have a 99.9% stable pouch filling method.
I'm honestly not even sure what this thread is about, all I could conclude was you trying to create a pouch filling method, so i'm simply trying to help.
iirc they're actually called varps inside the game files and that's why cloud called it that.Don't worry man I fixed it. Also, in DS somehow Pouches don't get filled by the bank. I'm not stupid enough to not actually learn the method to RC before making my script lol. Also, lmfao... varps is fucking settings? RIP my ass.
We use essential cookies to make this site work, and optional cookies to enhance your experience.