Everything posted by Hel
-
Is it possible to disable RandomSolvers?
Thanks though :-)
-
Is it possible to disable RandomSolvers?
I was under the assumption the norandoms was for dismissal of randoms? Maybe I'm just misunderstanding though?
-
Is it possible to disable RandomSolvers?
As the title states, was just wondering if it's possible (and if so, how would I go about it?) to either completely disable the auto login random solver, or wait until a boolean is true to go on a break. Thanks
-
Mirror mode not working on Mac.
It can't find your Oldschool client then -- have you tried hooking it into an OSBuddy version?
-
Optimizing Code - Iterating over Objects/NPCS & Inventory Slots
What I was trying to do with that was generate a random whole number from 0 to 27 inclusive (the inventory slots) Then check if that random number (random item slot) had an item in it, if it didn't, it entered a while loop & kept regenerating a random inventory slot until there was an item in the randomly generated slot number. I'd rather if it wasn't spoon fed to me either, I'm actually interested in this and would prefer to just get a directional nudge, so I can still benefit from this, thanks
-
Mirror mode not working on Mac.
Do you get the blue box complaining about the size at all? Or is it just left on searching?
-
Optimizing Code - Iterating over Objects/NPCS & Inventory Slots
Alright, thankyou both for your help
-
Optimizing Code - Iterating over Objects/NPCS & Inventory Slots
I'm unsure if you're just upset with me because I named the list of NPCs "objects" (Originally was using bank booths, hence the name) or if it actually bothers the CPU? CNF Formula? Never heard of that before. Is this something I should be investing my time into researching?
-
Check what skill is being trained?
It's honestly quite simple, I can give you a small demo of how I'd do it if you're interested, just PM me
-
Check what skill is being trained?
I suppose he could be making a script that trains multiple skills at random
-
Optimizing Code - Iterating over Objects/NPCS & Inventory Slots
Hi, I have two pieces of code which I've been trying to optimize for the last couple of hours, I've looked through the API, I've fiddled in eclipse and I just can't seem to find a logical answer. In this first piece, I'm grabbing all the NPCs around the player, checking if they're a fishing spot, & if they are, I'm adding them to an arraylist called fishingSpots. (I'm doing this to detect which kind of fishing spot is the type I want to fish at, where I then iterate over the fishingSpots & check to see if they have the correct interactions) List<NPC> objects = main.getNpcs().getAll(); ArrayList<NPC> fishingSpots = new ArrayList<NPC>(); for (int i = 0; i < objects.size(); i++) { if (objects.get(i).getName().equalsIgnoreCase("fishing spot")) { fishingSpots.add(objects.get(i)); } main.randSleep(8, 12); // This is just a void that sleeps(random(min,max)), I used this as an attempt to reduce CPU load, but when iterating over objects, there are some 6000, having a sleep causes incredible delay } & Inventory slots -- I'm checking to see if an item is in the slot x, where x is a random whole number from 0-27 inclusive. int i = (int) Math.round(Math.random() * 27); while (main.getInventory().getItemInSlot(i) == null) { i = (int) Math.round(Math.random() * 27); main.randSleep(8, 12); } These loops cause an incredible amount of CPU load, jumping from some 8% up to, what I've seen, 60% load. Any and all help would be appreciated.
-
Mirror mode not working on Mac.
After trying for around 20 minutes, I believe you can't set the default size, whenever I tried it, the client doesn't seem to recognize it the same @Zanny are you making sure to launch a runescape client before opening the mirror mode?
-
Mirror mode not working on Mac.
I'm not sure what you're asking of me, if you wanna PM me and go a bit more in-depth I'll be glad to help
-
Mirror mode not working on Mac.
you change the y size of it by 1 or 2 pixels E.G.
-
Fix for OSBuddy possible?
To get mirror mode to work, you simply have to fiddle with the size of the osbuddy window on the vertical axis, I believe it's up one or two pixels. I'll upload a gif of me doing it when I'm home from the doctors
-
logs cut/per hour
Could do onMessage "you get some logs" (or whatever the actual message is) cut++ get the runtime, if it's below 60 minutes, divide 60 by how many minutes you've ran, * cut -- this will give you logs / hr if it's above 60, divide time ran in minutes by 60, / cut -- this will give logs / hr **You could use seconds but for simplicity I used minutes**
-
Item Select -> Use?
I don't think you are understanding what I was trying to do, I was trying to force the bot to use the interaction menu, I tried making it do this by getting the bot to select the item first, then interacting with it. This did not work as the bot simply clicked out of the interaction menu, then proceeded to singular left mouse click on the item. The first two lines were a way of opening the menu, but thankyou
-
Item Select -> Use?
I'll take that into account for next time, thanks again
-
Item Select -> Use?
Thank-you kindly sir, I must suck at searching, literally couldn't find anything after a few searches.
-
Item Select -> Use?
Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. Using the regular interaction mode, the bot just left clicks, rather than going through the menu. I've looked & fiddled and can't seem to find what I'm trying to do. Using inventory.hover(i); mouse.click(true); inventory.interact(i, "use"); the bot deselects the item, just to left click it. Any help would be appreciated
-
vBuryBasic - Bone Collector & Burier
You mean at 29 Wildy? Thanks
-
vBuryBasic - Bone Collector & Burier
Overview: This script collects bones from the chosen location, and buries them once full. A great, free way to train Prayer. I average around 9 - 10 bones a minute with this script on my Australian ping. Currently Supported Locations: - Lumbridge Cows (I have made this awfully simplistic to update, so if you have an area you'd like implemented, please let me know.) GUI: The GUI is simplistic, but achieves the job that's at hand. Progress: To Do List: - Add collect from bank support - Add more locations Please feel free to give any feedback, all is appreciated. ~Will hopefully be found on SDN in a few days or so. If not I'll dropbox~
-
Vertical Dropping - Item Slot (?)
For those interested, I ended up going with the following code: for (int rep = 0; rep < 4; rep++) { for (int i = rep; i < 28; i = i + 4) { if (inventory.getItemInSlot(i) != null) { inventory.interact(i, "drop"); } } }
-
Vertical Dropping - Item Slot (?)
Ah, I understand my error, foolish me, thankyou for your help
-
Vertical Dropping - Item Slot (?)
public void vertical(){ for(int i = 0; i < 28; i = i + 4){ if(inventory.getItemInSlot(i) != null){ inventory.getItemInSlot(i).interact("drop"); } } } The result of using the above mentioned code is this: I've been fiddling around for the past hour with this, tried completely different methods, tried adding in sleep functions, nothing seems to work, any help would be greatly appreciated