Everything posted by Token
- Stealth Quester
-
Stealth Quester
Will include a timer on the next SDN update. Many quests don't work on DMM because the mode is not officially supported, as they change the whole game every season. Teleports were not even enabled in script code for DMM, I don't remember if I enabled Grand Exchange last season.
- Stealth Quester
- Stealth Quester
- Stealth Quester
-
How not to get HACKED 101
SecureRandom random = new SecureRandom(); String password = new BigInteger(130, random).toString(32); System.out.println(password); Copy/paste the output and save it in a secure location such as a sheet of paper. Better than any password generation site on the internet.
-
How not to get HACKED 101
A pass phrase is the worst idea you can possible have for a password, speaking from my experience on "the dark side". Every single password cracking tool like the famous "John the Ripper" will be testing all possible combinations of words that satisfy a length requirement from a dictionary even before testing for short and easy "random strings" like ies29kf. PS: password cracking dictionaries work against all words in all languages as these dictionaries have terrabytes of data to store every combination of literals that humans understand
-
OSBot 2.4.90 - GrandExchange, Containers, more
What's the different between isEmptyExcept() and onlyContains() ?
- Stealth Quester
- Stealth Quester
-
[combat]NPC filtering pls halp
You importe wrong List, there is java.awt.List and java.util.List
-
[combat]NPC filtering pls halp
ctrl + shift + o is the eclipse shortcut for imports
-
What scripts does osbot need ?
List<NPC> noobs = npcs.getAll().stream().filter(n -> !n.isUnderAttack()).collect(Collectors.toList());
-
What scripts does osbot need ?
profile pic uploader
- Stealth Quester
- Stealth Quester
- Stealth Quester
-
how do i get mirror mode to work on a mac?
Mirror mode doesn't officially support OSBuddy, you will have to load runescape in a browser instead
-
Stealth Quester
Delete your OSBot folder located at C:\Users\<USER>\OSBot
-
Stealth Quester
Post the logger contents so I can look at it
-
[CSE Help] Improve this algorithm?
public static int rec1(int n) { c1++; if (n == 1) { return 1; } else if (n % 2 != 0) { return 1 + rec1(n - 1); } else { return 1 + rec1(n / 2); } } static int c2 = 0; public static int rec2(int n) { c2++; if (n == 1) { return 1; } else if (n % 2 != 0) { return 1 + rec2(n - 1); } else { int sum = 0; do { n = n / 2; sum++; } while (n % 2 == 0); if (n == 1) return 1 + sum; return 1 + sum + rec2(n - 1); } } public static void main(String[] args) { System.out.println(rec1(3128) + "; iterations: " + c1); System.out.println(rec2(3128) + "; iterations: " + c2); } Output: 16; iterations: 16 16; iterations: 5 If you studied CPU architecture you should know every function call creates a new stackframe and new local variables with each call, taking up a lot of memory. SP = stack pointer register BP = base pointer register They are in your CPU, BP points to the base of the stack and SP points to the top stackframe aka the function call being executed by the CPU at a given moment. Recursion is very inefficient memory-wise so the second function, which is still recursive but has an iterative component for powers of 2, is obviously superior.
- Stealth Quester
-
Herb Cleaning
No matter what you use, you will still check what you actually have in your inventory The API fortunately doesn't provide a Herblore#cleanAllGrimyHerbsInInventoryThenBank()
-
Herb Cleaning
Try mouse.click(), it should be faster than interact() because it has no sleeps
-
Stealth Quester
That sounds like Animal Magnetism was started prior to running the script